Skip to content

Commit

Permalink
fix: Move overrides into the block with extended rulesets
Browse files Browse the repository at this point in the history
  • Loading branch information
smockle committed Jan 27, 2021
1 parent 43299b9 commit 2214db8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@
"jest": true,
"node": true
},
"settings": {
"react": {
"version": "detect"
}
},
// rules which apply to JS, TS, etc.
"rules": {
"react/prop-types": 0,
"react/display-name": 0,
"import/no-namespace": 0,
"no-shadow": 0,
"eslint-comments/no-use": 0,
"react-hooks/exhaustive-deps": "error",
"jsx-a11y/label-has-for": [2, {"components": []}]
},
Expand All @@ -27,6 +29,9 @@
"files": ["**/*.js", "**/*.jsx"],
"extends": ["plugin:github/recommended", "plugin:github/browser"],
"rules": {
"eslint-comments/no-use": 0,
"import/no-namespace": 0,
"no-shadow": 0,
"no-unused-vars": ["error", {"ignoreRestSiblings": true}]
}
},
Expand Down

0 comments on commit 2214db8

Please sign in to comment.