Skip to content

Commit

Permalink
Added eslint-plugin-compat
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Oct 26, 2023
1 parent 82d6a33 commit a75366a
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 19 deletions.
2 changes: 2 additions & 0 deletions packages/frontend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"node": false
},
"plugins": [
"compat",
"deprecation",
"jest",
"prefer-arrow-functions",
Expand All @@ -27,6 +28,7 @@
"camelcase": "error",
"no-warning-comments": "warn",
"strict": ["error", "never"],
"compat/compat": "warn",
"deprecation/deprecation": "warn",
"prefer-arrow-functions/prefer-arrow-functions": [
"error",
Expand Down
75 changes: 56 additions & 19 deletions packages/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"babel-preset-react-app": "^10.0.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-jest": "^27.4.3",
"eslint-plugin-prefer-arrow-functions": "^3.2.4",
Expand Down

0 comments on commit a75366a

Please sign in to comment.