File tree Expand file tree Collapse file tree 1 file changed +63
-0
lines changed
Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "settings": {
3+ "react": {
4+ "version": "latest"
5+ },
6+ "import/extensions": [
7+ ".js"
8+ ],
9+ "import/resolver": {
10+ "node": {
11+ "extensions": [
12+ ".js"
13+ ]
14+ },
15+ "webpack": {
16+ "config": "webpack.config.js"
17+ }
18+ }
19+ },
20+ "parserOptions": {
21+ "ecmaVersion": 2020,
22+ "sourceType": "module",
23+ "allowImportExportEverywhere": true,
24+ "ecmaFeatures": {
25+ "jsx": true,
26+ "experimentalObjectRestSpread": true
27+ }
28+ },
29+ "env": {
30+ "es6": true,
31+ "browser": true,
32+ "mocha": true,
33+ "node": true
34+ },
35+ "extends": [
36+ "plugin:jsx-a11y/recommended"
37+ ],
38+ "rules": {
39+ "no-console": "off",
40+ "semi": 2,
41+ "no-undef": 2,
42+ "no-undef-init": 2,
43+ "no-tabs": 2,
44+ "react/self-closing-comp": 2,
45+ "react/no-typos": 2,
46+ "react/jsx-no-duplicate-props": "warn",
47+ "react-hooks/rules-of-hooks": "error",
48+ "react-hooks/exhaustive-deps": "warn",
49+ "jsx-a11y/no-autofocus": [
50+ 2,
51+ {
52+ "ignoreNonDOM": true
53+ }
54+ ]
55+ },
56+ "plugins": [
57+ "import",
58+ "react",
59+ "jsx-a11y",
60+ "filenames",
61+ "react-hooks"
62+ ]
63+ }
You can’t perform that action at this time.
0 commit comments