Skip to content

Commit

Permalink
eslintrc: extend recommended configuration of flowtype plugin
Browse files Browse the repository at this point in the history
Previously it was in the section for customized rules, but not rules
were specified, resulting in this not taking any effect.
  • Loading branch information
KKoukiou authored and martinpitt committed Mar 29, 2022
1 parent 8d87551 commit b3347ab
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "standard", "standard-jsx", "standard-react", "plugin:jsx-a11y/recommended"],
"extends": [
"eslint:recommended", "standard", "standard-jsx", "standard-react",
"plugin:flowtype/recommended",
"plugin:jsx-a11y/recommended"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": "7",
Expand All @@ -13,7 +17,7 @@
},
"sourceType": "module"
},
"plugins": ["flowtype", "react", "react-hooks", "jsx-a11y"],
"plugins": ["react", "react-hooks", "jsx-a11y"],
"rules": {
"indent": ["error", 4,
{
Expand Down

0 comments on commit b3347ab

Please sign in to comment.