|
1 | 1 | {
|
2 |
| - "root": true, |
3 |
| - "env": { |
4 |
| - "browser": true, |
5 |
| - "commonjs": true, |
6 |
| - "es2021": true, |
7 |
| - "node": true |
8 |
| - }, |
9 |
| - "extends": [ |
10 |
| - "eslint:recommended", |
11 |
| - "plugin:@typescript-eslint/recommended" |
12 |
| - ], |
13 |
| - "parser": "@typescript-eslint/parser", |
14 |
| - "parserOptions": { |
15 |
| - "ecmaVersion": 12 |
16 |
| - }, |
17 |
| - "plugins": [ |
18 |
| - "@typescript-eslint" |
19 |
| - ], |
20 |
| - "rules": { |
21 |
| - "@typescript-eslint/naming-convention": [ |
22 |
| - "warn", |
23 |
| - { |
24 |
| - "selector": "function", |
25 |
| - "format": "camelCase" |
26 |
| - } |
27 |
| - ], |
28 |
| - "@typescript-eslint/semi": "warn", |
29 |
| - "semi": "warn", |
30 |
| - "getter-return": "warn", |
31 |
| - "no-dupe-args" :"warn", |
32 |
| - "no-dupe-else-if": "warn", |
33 |
| - "no-dupe-keys": "warn", |
34 |
| - "no-duplicate-case": "warn", |
35 |
| - "no-empty": "warn", |
36 |
| - "accessor-pairs": "warn", |
37 |
| - "array-callback-return": "warn", |
38 |
| - "block-scoped-var": "warn", |
39 |
| - "class-methods-use-this": "warn", |
40 |
| - "complexity": "warn", |
41 |
| - "consistent-return": "warn", |
42 |
| - "curly": "warn", |
43 |
| - "default-case": "warn", |
44 |
| - "default-case-last": "warn", |
45 |
| - "default-param-last": "warn", |
46 |
| - "dot-location": "off", |
47 |
| - "dot-notation": "warn", |
48 |
| - "eqeqeq": "warn", |
49 |
| - "grouped-accessor-pairs": "warn", |
50 |
| - "guard-for-in": "off", |
51 |
| - "max-classes-per-file": ["warn", 2], |
52 |
| - "no-alert": "warn", |
53 |
| - "no-caller": "warn", |
54 |
| - "no-case-declarations": "off", |
55 |
| - "no-constructor-return": "warn", |
56 |
| - "no-div-regex": "warn", |
57 |
| - "no-else-return": "warn", |
58 |
| - "no-empty-function": "warn", |
59 |
| - "no-empty-pattern": "warn", |
60 |
| - "no-eq-null": "warn", |
61 |
| - "no-eval": "warn", |
62 |
| - "no-extend-native": "off", |
63 |
| - "no-extra-bind": "warn", |
64 |
| - "no-extra-label": "warn", |
65 |
| - "no-fallthrough": "warn", |
66 |
| - "no-floating-decimal": "warn", |
67 |
| - "no-global-assign": "warn", |
68 |
| - "no-implicit-coercion": "warn", |
69 |
| - "no-implicit-globals": "warn", |
70 |
| - "no-implied-eval": "warn", |
71 |
| - "no-invalid-this": "off", |
72 |
| - "no-iterator": "warn", |
73 |
| - "no-labels": "warn", |
74 |
| - "no-lone-blocks": "warn", |
75 |
| - "no-loop-func": "warn", |
76 |
| - "no-magic-numbers": "off", |
77 |
| - "no-multi-spaces": "warn", |
78 |
| - "no-multi-str": "warn", |
79 |
| - "no-new": "warn", |
80 |
| - "no-new-func": "warn", |
81 |
| - "no-new-wrappers": "warn", |
82 |
| - "no-octal": "warn", |
83 |
| - "no-octal-escape": "warn", |
84 |
| - "no-param-reassign": "warn", |
85 |
| - "no-proto": "warn", |
86 |
| - "no-redeclare": "off", |
87 |
| - "no-restricted-properties": "warn", |
88 |
| - "no-return-assign": "warn", |
89 |
| - "no-return-await": "warn", |
90 |
| - "no-script-url": "warn", |
91 |
| - "no-self-assign": "warn", |
92 |
| - "no-self-compare": "warn", |
93 |
| - "no-sequences": "warn", |
94 |
| - "no-throw-literal": "warn", |
95 |
| - "no-unmodified-loop-condition": "warn", |
96 |
| - "no-unused-expressions": "warn", |
97 |
| - "no-unused-labels": "warn", |
98 |
| - "no-useless-call": "warn", |
99 |
| - "no-useless-catch": "warn", |
100 |
| - "no-useless-concat": "warn", |
101 |
| - "no-useless-escape": "warn", |
102 |
| - "no-useless-return": "warn", |
103 |
| - "no-void": "warn", |
104 |
| - "no-warning-comments": "warn", |
105 |
| - "no-with": "warn", |
106 |
| - "prefer-named-capture-group": "warn", |
107 |
| - "prefer-promise-reject-errors": "off", |
108 |
| - "prefer-regex-literals": "warn", |
109 |
| - "radix": "warn", |
110 |
| - "require-await": "warn", |
111 |
| - "require-unicode-regexp": "off", |
112 |
| - "vars-on-top": "warn", |
113 |
| - "wrap-iife": "warn" |
114 |
| - } |
| 2 | + "root": true, |
| 3 | + "env": { |
| 4 | + "browser": true, |
| 5 | + "commonjs": true, |
| 6 | + "es2021": true, |
| 7 | + "node": true |
| 8 | + }, |
| 9 | + "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], |
| 10 | + "parser": "@typescript-eslint/parser", |
| 11 | + "parserOptions": { |
| 12 | + "ecmaVersion": 12 |
| 13 | + }, |
| 14 | + "plugins": ["@typescript-eslint"], |
| 15 | + "rules": { |
| 16 | + "@typescript-eslint/naming-convention": [ |
| 17 | + "warn", |
| 18 | + { |
| 19 | + "selector": "function", |
| 20 | + "format": ["camelCase"] |
| 21 | + } |
| 22 | + ], |
| 23 | + "@typescript-eslint/semi": "warn", |
| 24 | + "semi": "off", |
| 25 | + "getter-return": "warn", |
| 26 | + "no-dupe-args": "warn", |
| 27 | + "no-dupe-else-if": "warn", |
| 28 | + "no-dupe-keys": "warn", |
| 29 | + "no-duplicate-case": "warn", |
| 30 | + "no-empty": "warn", |
| 31 | + "accessor-pairs": "warn", |
| 32 | + "array-callback-return": "warn", |
| 33 | + "block-scoped-var": "warn", |
| 34 | + "class-methods-use-this": "warn", |
| 35 | + "complexity": "warn", |
| 36 | + "consistent-return": "warn", |
| 37 | + "curly": "warn", |
| 38 | + "default-case": "warn", |
| 39 | + "default-case-last": "warn", |
| 40 | + "default-param-last": "warn", |
| 41 | + "dot-location": "off", |
| 42 | + "dot-notation": "warn", |
| 43 | + "eqeqeq": "warn", |
| 44 | + "grouped-accessor-pairs": "warn", |
| 45 | + "guard-for-in": "off", |
| 46 | + "max-classes-per-file": ["warn", 2], |
| 47 | + "no-alert": "warn", |
| 48 | + "no-caller": "warn", |
| 49 | + "no-case-declarations": "off", |
| 50 | + "no-constructor-return": "warn", |
| 51 | + "no-div-regex": "warn", |
| 52 | + "no-else-return": "warn", |
| 53 | + "no-empty-function": "warn", |
| 54 | + "no-empty-pattern": "warn", |
| 55 | + "no-eq-null": "warn", |
| 56 | + "no-eval": "warn", |
| 57 | + "no-extend-native": "off", |
| 58 | + "no-extra-bind": "warn", |
| 59 | + "no-extra-label": "warn", |
| 60 | + "no-fallthrough": "warn", |
| 61 | + "no-floating-decimal": "warn", |
| 62 | + "no-global-assign": "warn", |
| 63 | + "no-implicit-coercion": "warn", |
| 64 | + "no-implicit-globals": "warn", |
| 65 | + "no-implied-eval": "warn", |
| 66 | + "no-invalid-this": "off", |
| 67 | + "no-iterator": "warn", |
| 68 | + "no-labels": "warn", |
| 69 | + "no-lone-blocks": "warn", |
| 70 | + "no-loop-func": "warn", |
| 71 | + "no-magic-numbers": "off", |
| 72 | + "no-mixed-spaces-and-tabs": [ "warn", "smart-tabs" ], |
| 73 | + "no-multi-spaces": "warn", |
| 74 | + "no-multi-str": "warn", |
| 75 | + "no-new": "warn", |
| 76 | + "no-new-func": "warn", |
| 77 | + "no-new-wrappers": "warn", |
| 78 | + "no-octal": "warn", |
| 79 | + "no-octal-escape": "warn", |
| 80 | + "no-param-reassign": "warn", |
| 81 | + "no-proto": "warn", |
| 82 | + "no-redeclare": "off", |
| 83 | + "no-restricted-properties": "warn", |
| 84 | + "no-return-assign": "warn", |
| 85 | + "no-return-await": "warn", |
| 86 | + "no-script-url": "warn", |
| 87 | + "no-self-assign": "warn", |
| 88 | + "no-self-compare": "warn", |
| 89 | + "no-sequences": "warn", |
| 90 | + "no-throw-literal": "warn", |
| 91 | + "no-unmodified-loop-condition": "warn", |
| 92 | + "no-unused-expressions": "warn", |
| 93 | + "no-unused-labels": "warn", |
| 94 | + "no-useless-call": "warn", |
| 95 | + "no-useless-catch": "warn", |
| 96 | + "no-useless-concat": "warn", |
| 97 | + "no-useless-escape": "warn", |
| 98 | + "no-useless-return": "warn", |
| 99 | + "no-void": "warn", |
| 100 | + "no-warning-comments": "warn", |
| 101 | + "no-with": "warn", |
| 102 | + "prefer-named-capture-group": "warn", |
| 103 | + "prefer-promise-reject-errors": "off", |
| 104 | + "prefer-regex-literals": "warn", |
| 105 | + "radix": "warn", |
| 106 | + "require-await": "warn", |
| 107 | + "require-unicode-regexp": "off", |
| 108 | + "vars-on-top": "warn", |
| 109 | + "wrap-iife": "warn" |
| 110 | + } |
115 | 111 | }
|
0 commit comments