Skip to content

Commit

Permalink
Enable ESLint in repo
Browse files Browse the repository at this point in the history
  • Loading branch information
maxatdetroit committed Sep 12, 2023
1 parent d3f987d commit 07d24e4
Show file tree
Hide file tree
Showing 3 changed files with 2,733 additions and 3,983 deletions.
13 changes: 13 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
env:
browser: true
commonjs: true
es2021: true
extends: [eslint:recommended, prettier]
parserOptions:
ecmaVersion: latest
sourceType: module
rules: {
eqeqeq: [error, always],
no-else-return: [error],
no-implicit-coercion: [warn]
}
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"@storybook/web-components": "^7.3.2",
"@storybook/web-components-webpack5": "^7.3.2",
"@svgr/webpack": "^5.5.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"auto": "^10.43.0",
"babel-loader": "^8.2.3",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
Expand All @@ -68,6 +69,12 @@
"css-loader": "^6.5.0",
"css-minimizer-webpack-plugin": "^3.4.1",
"cypress": "^9.5.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "latest",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"jest": "27",
Expand All @@ -87,6 +94,7 @@
"storybook": "^7.3.2",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.2.4",
"typescript": "*",
"url-loader": "^4.1.1",
"webpack": "^5.61.0",
"webpack-cli": "^4.9.1",
Expand Down
Loading

0 comments on commit 07d24e4

Please sign in to comment.