| 1 |
{ |
| 2 |
"root": true, |
| 3 |
"parser": "@babel/eslint-parser", |
| 4 |
"parserOptions": { |
| 5 |
"ecmaVersion": 2017, |
| 6 |
"sourceType": "module" |
| 7 |
}, |
| 8 |
"env": { |
| 9 |
"es6": true, |
| 10 |
"browser": true, |
| 11 |
"node": true, |
| 12 |
"jest": true |
| 13 |
}, |
| 14 |
"plugins": [ |
| 15 |
"import", |
| 16 |
"jsx-a11y", |
| 17 |
"prettier", |
| 18 |
"react", |
| 19 |
"react-hooks" |
| 20 |
], |
| 21 |
"extends": [ |
| 22 |
"eslint:recommended", |
| 23 |
"plugin:react/recommended", |
| 24 |
"plugin:jsx-a11y/recommended", |
| 25 |
"plugin:prettier/recommended" |
| 26 |
], |
| 27 |
"rules": { |
| 28 |
"react-hooks/rules-of-hooks": 2, |
| 29 |
"react/forbid-prop-types": 0, |
| 30 |
"react/require-default-props": 0 |
| 31 |
}, |
| 32 |
"settings": { |
| 33 |
"react": { |
| 34 |
"version": "detect" |
| 35 |
} |
| 36 |
} |
| 37 |
} |