|
1 | 1 | {
|
2 | 2 | "root": true,
|
3 | 3 | "extends": [
|
4 |
| - "eslint:recommended", |
5 |
| - "plugin:@typescript-eslint/eslint-recommended", |
| 4 | + "eslint:recommended", |
| 5 | + "plugin:@typescript-eslint/eslint-recommended", |
6 | 6 | "plugin:react/recommended",
|
7 | 7 | "plugin:react/jsx-runtime"
|
8 | 8 | ],
|
9 | 9 | "plugins": [
|
10 |
| - "react" |
| 10 | + "react" |
11 | 11 | ],
|
12 | 12 | "settings": {
|
13 | 13 | "react": {
|
|
16 | 16 | },
|
17 | 17 | "parser": "@babel/eslint-parser",
|
18 | 18 | "env": {
|
19 |
| - "es6": true, |
20 |
| - "browser": true, |
21 |
| - "node": true, |
22 |
| - "jquery": true, |
23 |
| - "mocha": true |
| 19 | + "es6": true, |
| 20 | + "browser": true, |
| 21 | + "node": true, |
| 22 | + "jquery": true, |
| 23 | + "mocha": true |
24 | 24 | },
|
25 | 25 | "rules": {
|
26 |
| - "no-mixed-spaces-and-tabs": ["warn", "smart-tabs"], |
27 |
| - "eqeqeq": ["warn", "smart"], |
| 26 | + "no-mixed-spaces-and-tabs": [ |
| 27 | + "warn", |
| 28 | + "smart-tabs" |
| 29 | + ], |
| 30 | + "eqeqeq": [ |
| 31 | + "warn", |
| 32 | + "smart" |
| 33 | + ], |
28 | 34 | "no-eval": "warn",
|
29 |
| - "quotes": ["warn", "double"], |
30 |
| - "indent": ["warn", "tab"], |
31 |
| - "no-console": 1, |
32 |
| - "no-debugger": 1, |
33 |
| - "no-var": "error", |
34 |
| - "semi": ["warn", "always"], |
35 |
| - "no-trailing-spaces": 0, |
36 |
| - "eol-last": "warn", |
37 |
| - "no-underscore-dangle": 0, |
38 |
| - "no-alert": 0, |
39 |
| - "no-lone-blocks": 0, |
| 35 | + "quotes": [ |
| 36 | + "warn", |
| 37 | + "double" |
| 38 | + ], |
| 39 | + "indent": [ |
| 40 | + "warn", |
| 41 | + "tab" |
| 42 | + ], |
| 43 | + "no-console": 1, |
| 44 | + "no-debugger": 1, |
| 45 | + "no-var": "error", |
| 46 | + "semi": [ |
| 47 | + "warn", |
| 48 | + "always" |
| 49 | + ], |
| 50 | + "no-trailing-spaces": 0, |
| 51 | + "eol-last": "warn", |
| 52 | + "no-underscore-dangle": 0, |
| 53 | + "no-alert": 0, |
| 54 | + "no-lone-blocks": 0, |
40 | 55 | "no-unused-vars": "warn",
|
41 | 56 | "prefer-template": "warn",
|
42 |
| - "jsx-quotes": 1, |
43 |
| - "prefer-const": ["warn", { |
44 |
| - "destructuring": "any", |
45 |
| - "ignoreReadBeforeAssign": false |
46 |
| - }], |
47 |
| - "react/display-name": [ 1, {"ignoreTranspilerName": false }], |
48 |
| - "react/forbid-prop-types": [1, {"forbid": ["any"]}], |
49 |
| - "react/jsx-boolean-value": 0, |
50 |
| - "react/jsx-closing-bracket-location": 0, |
51 |
| - "react/jsx-curly-spacing": 1, |
52 |
| - "react/jsx-indent-props": 0, |
53 |
| - "react/jsx-key": 1, |
54 |
| - "react/jsx-max-props-per-line": 0, |
55 |
| - "react/jsx-no-bind": 0, |
56 |
| - "react/jsx-no-duplicate-props": 1, |
57 |
| - "react/jsx-no-literals": 0, |
58 |
| - "react/jsx-no-undef": 1, |
59 |
| - "react/jsx-pascal-case": 1, |
60 |
| - "react/jsx-sort-prop-types": 0, |
61 |
| - "react/jsx-sort-props": 0, |
62 |
| - "react/jsx-uses-react": 0, |
63 |
| - "react/jsx-uses-vars": 1, |
64 |
| - "react/no-danger": 1, |
65 |
| - "react/no-did-mount-set-state": 1, |
66 |
| - "react/no-did-update-set-state": 1, |
67 |
| - "react/no-direct-mutation-state": 1, |
68 |
| - "react/no-multi-comp": 1, |
69 |
| - "react/no-set-state": 0, |
70 |
| - "react/no-unknown-property": 1, |
71 |
| - "react/prefer-es6-class": 1, |
72 |
| - "react/prop-types": 0, |
73 |
| - "react/react-in-jsx-scope": 0, |
74 |
| - "react/self-closing-comp": 1, |
75 |
| - "react/sort-comp": 1, |
76 |
| - "react/jsx-wrap-multilines": 1 |
| 57 | + "jsx-quotes": 1, |
| 58 | + "prefer-const": [ |
| 59 | + "warn", |
| 60 | + { |
| 61 | + "destructuring": "any", |
| 62 | + "ignoreReadBeforeAssign": false |
| 63 | + } |
| 64 | + ], |
| 65 | + "react/display-name": [ |
| 66 | + 1, |
| 67 | + { |
| 68 | + "ignoreTranspilerName": false |
| 69 | + } |
| 70 | + ], |
| 71 | + "react/forbid-prop-types": [ |
| 72 | + 1, |
| 73 | + { |
| 74 | + "forbid": [ |
| 75 | + "any" |
| 76 | + ] |
| 77 | + } |
| 78 | + ], |
| 79 | + "react/jsx-boolean-value": 0, |
| 80 | + "react/jsx-closing-bracket-location": 0, |
| 81 | + "react/jsx-curly-spacing": 1, |
| 82 | + "react/jsx-indent-props": 0, |
| 83 | + "react/jsx-key": 1, |
| 84 | + "react/jsx-max-props-per-line": 0, |
| 85 | + "react/jsx-no-bind": 0, |
| 86 | + "react/jsx-no-duplicate-props": 1, |
| 87 | + "react/jsx-no-literals": 0, |
| 88 | + "react/jsx-no-undef": 1, |
| 89 | + "react/jsx-pascal-case": 1, |
| 90 | + "react/jsx-sort-prop-types": 0, |
| 91 | + "react/jsx-sort-props": 0, |
| 92 | + "react/jsx-uses-react": 0, |
| 93 | + "react/jsx-uses-vars": 1, |
| 94 | + "react/no-danger": 1, |
| 95 | + "react/no-did-mount-set-state": 1, |
| 96 | + "react/no-did-update-set-state": 1, |
| 97 | + "react/no-direct-mutation-state": 1, |
| 98 | + "react/no-multi-comp": 1, |
| 99 | + "react/no-set-state": 0, |
| 100 | + "react/no-unknown-property": 1, |
| 101 | + "react/prefer-es6-class": 1, |
| 102 | + "react/prop-types": 0, |
| 103 | + "react/react-in-jsx-scope": 0, |
| 104 | + "react/self-closing-comp": 1, |
| 105 | + "react/sort-comp": 1, |
| 106 | + "react/jsx-wrap-multilines": 1 |
77 | 107 | },
|
78 | 108 | "globals": {
|
79 | 109 | }
|
|
0 commit comments