Skip to content

Commit

Permalink
Chore/update eslint dependencies (#43)
Browse files Browse the repository at this point in the history
* chore: update eslint dependencies

- update to lastest eslint version
- replace babel-eslint (deprecated) with @babel/eslint-parser

* tests: update tests to use updated ESLint
  • Loading branch information
MLKendall authored Mar 22, 2024
1 parent a647f93 commit 348889b
Show file tree
Hide file tree
Showing 4 changed files with 5,666 additions and 3,167 deletions.
51 changes: 27 additions & 24 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
module.exports = {
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"env": {
"node": true,
"browser": true
},
"rules": {
"react/jsx-filename-extension": [0, { "extensions": [".js", ".jsx"] }],
"react/require-extension": 0,
"arrow-body-style": [2, "as-needed"],
"react/no-did-mount-set-state": 0,
"import/no-mutable-exports": 0,
"import/no-extraneous-dependencies": 0,
"no-console": 0,
"strict": 0,
"new-cap": [2, {"capIsNewExceptions": ["Router"]}],
"import/extensions": 0,
"import/prefer-default-export": 0
}
"extends": "airbnb",
"parserOptions": {
"parser": '@babel/eslint-parser',
"requireConfigFile": false,
},
"plugins": [
"react",
"jsx-a11y",
"import"
],
"env": {
"node": true,
"browser": true
},
"rules": {
"react/jsx-filename-extension": [0, { "extensions": [".js", ".jsx"] }],
"react/require-extension": 0,
"arrow-body-style": [2, "as-needed"],
"react/no-did-mount-set-state": 0,
"import/no-mutable-exports": 0,
"import/no-extraneous-dependencies": 0,
"no-console": 0,
"strict": 0,
"new-cap": [2, { "capIsNewExceptions": ["Router"] }],
"import/extensions": 0,
"import/prefer-default-export": 0
}
}
Loading

0 comments on commit 348889b

Please sign in to comment.