Skip to content

Commit

Permalink
chore: update eslint dependencies
Browse files Browse the repository at this point in the history
- update to lastest eslint version
- replace babel-eslint (deprecated) with @babel/eslint-parser
  • Loading branch information
MLKendall committed Mar 19, 2024
1 parent 96cd9c0 commit f6e7dd5
Show file tree
Hide file tree
Showing 3 changed files with 5,650 additions and 3,145 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 f6e7dd5

Please sign in to comment.