@eslinted/defaults 14.0.0-rc.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_scope/index.d.ts +1 -1
- package/dist/_scope/index.d.ts.map +1 -1
- package/dist/_scope/index.js +16 -4
- package/dist/_scope/index.js.map +1 -1
- package/dist/files/index.d.ts +1 -1
- package/dist/files/index.d.ts.map +1 -1
- package/dist/files/index.js +32 -20
- package/dist/files/index.js.map +1 -1
- package/dist/{files/css.d.ts → ignores/global.d.ts} +1 -1
- package/dist/ignores/global.d.ts.map +1 -0
- package/dist/ignores/global.js +21 -0
- package/dist/ignores/global.js.map +1 -0
- package/dist/ignores/index.d.ts.map +1 -1
- package/dist/ignores/index.js +15 -40
- package/dist/ignores/index.js.map +1 -1
- package/dist/index.d.ts +1332 -858
- package/dist/rules/base.d.ts +740 -406
- package/dist/rules/base.eslint.d.ts +305 -211
- package/dist/rules/base.eslint.d.ts.map +1 -1
- package/dist/rules/base.eslint.js +161 -162
- package/dist/rules/base.eslint.js.map +1 -1
- package/dist/rules/base.stylistic.d.ts +438 -196
- package/dist/rules/base.stylistic.d.ts.map +1 -1
- package/dist/rules/base.stylistic.js +109 -110
- package/dist/rules/base.stylistic.js.map +1 -1
- package/dist/rules/css/enable.d.ts +14 -13
- package/dist/rules/css/enable.d.ts.map +1 -1
- package/dist/rules/css/enable.js +13 -14
- package/dist/rules/css/enable.js.map +1 -1
- package/dist/rules/css/index.d.ts +13 -13
- package/dist/rules/html/enable.d.ts +74 -54
- package/dist/rules/html/enable.d.ts.map +1 -1
- package/dist/rules/html/enable.js +48 -49
- package/dist/rules/html/enable.js.map +1 -1
- package/dist/rules/html/index.d.ts +73 -54
- package/dist/rules/index.d.ts +1331 -857
- package/dist/rules/json/enable.d.ts +7 -6
- package/dist/rules/json/enable.d.ts.map +1 -1
- package/dist/rules/json/enable.js +6 -7
- package/dist/rules/json/enable.js.map +1 -1
- package/dist/rules/json/index.d.ts +71 -56
- package/dist/rules/json/plugin/extension.d.ts +47 -31
- package/dist/rules/json/plugin/extension.d.ts.map +1 -1
- package/dist/rules/json/plugin/extension.js +23 -24
- package/dist/rules/json/plugin/extension.js.map +1 -1
- package/dist/rules/json/plugin/index.d.ts +22 -21
- package/dist/rules/json/plugin/index.d.ts.map +1 -1
- package/dist/rules/json/plugin/index.js +21 -22
- package/dist/rules/json/plugin/index.js.map +1 -1
- package/dist/rules/jsonc/index.d.ts +3 -3
- package/dist/rules/jsonc/index.js +1 -1
- package/dist/rules/jsonc/index.js.map +1 -1
- package/dist/rules/jsonc/override.d.ts +9 -0
- package/dist/rules/jsonc/override.d.ts.map +1 -0
- package/dist/rules/jsonc/override.js +7 -0
- package/dist/rules/jsonc/override.js.map +1 -0
- package/dist/rules/jsoncc/index.d.ts +6 -3
- package/dist/rules/jsoncc/index.js +1 -1
- package/dist/rules/jsoncc/index.js.map +1 -1
- package/dist/rules/jsoncc/override.d.ts +12 -0
- package/dist/rules/jsoncc/override.d.ts.map +1 -0
- package/dist/rules/jsoncc/override.js +10 -0
- package/dist/rules/jsoncc/override.js.map +1 -0
- package/dist/rules/mocha/chai/expect.d.ts +5 -4
- package/dist/rules/mocha/chai/expect.d.ts.map +1 -1
- package/dist/rules/mocha/chai/expect.js +5 -6
- package/dist/rules/mocha/chai/expect.js.map +1 -1
- package/dist/rules/mocha/chai/index.d.ts +9 -5
- package/dist/rules/mocha/chai/index.d.ts.map +1 -1
- package/dist/rules/mocha/chai/index.js +3 -4
- package/dist/rules/mocha/chai/index.js.map +1 -1
- package/dist/rules/mocha/disable.d.ts +5 -4
- package/dist/rules/mocha/disable.d.ts.map +1 -1
- package/dist/rules/mocha/disable.js +4 -5
- package/dist/rules/mocha/disable.js.map +1 -1
- package/dist/rules/mocha/enable.d.ts +19 -18
- package/dist/rules/mocha/enable.d.ts.map +1 -1
- package/dist/rules/mocha/enable.js +18 -19
- package/dist/rules/mocha/enable.js.map +1 -1
- package/dist/rules/mocha/index.d.ts +31 -28
- package/dist/rules/state.d.ts +6 -0
- package/dist/rules/state.d.ts.map +1 -0
- package/dist/rules/state.js +2 -0
- package/dist/rules/state.js.map +1 -0
- package/dist/rules/svelte/disable.d.ts +10 -9
- package/dist/rules/svelte/disable.d.ts.map +1 -1
- package/dist/rules/svelte/disable.js +9 -10
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/enable.d.ts +109 -83
- package/dist/rules/svelte/enable.d.ts.map +1 -1
- package/dist/rules/svelte/enable.js +71 -72
- package/dist/rules/svelte/enable.js.map +1 -1
- package/dist/rules/svelte/extension/disable.d.ts +6 -5
- package/dist/rules/svelte/extension/disable.d.ts.map +1 -1
- package/dist/rules/svelte/extension/disable.js +5 -6
- package/dist/rules/svelte/extension/disable.js.map +1 -1
- package/dist/rules/svelte/extension/index.d.ts +8 -4
- package/dist/rules/svelte/extension/index.d.ts.map +1 -1
- package/dist/rules/svelte/extension/index.js +5 -6
- package/dist/rules/svelte/extension/index.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +126 -98
- package/dist/rules/ts/disable.d.ts +22 -21
- package/dist/rules/ts/disable.d.ts.map +1 -1
- package/dist/rules/ts/disable.js +21 -22
- package/dist/rules/ts/disable.js.map +1 -1
- package/dist/rules/ts/enable.d.ts +159 -122
- package/dist/rules/ts/enable.d.ts.map +1 -1
- package/dist/rules/ts/enable.js +88 -89
- package/dist/rules/ts/enable.js.map +1 -1
- package/dist/rules/ts/extension/disable.d.ts +11 -10
- package/dist/rules/ts/extension/disable.d.ts.map +1 -1
- package/dist/rules/ts/extension/disable.js +10 -11
- package/dist/rules/ts/extension/disable.js.map +1 -1
- package/dist/rules/ts/extension/index.d.ts +35 -22
- package/dist/rules/ts/extension/index.d.ts.map +1 -1
- package/dist/rules/ts/extension/index.js +9 -10
- package/dist/rules/ts/extension/index.js.map +1 -1
- package/dist/rules/ts/index.d.ts +220 -172
- package/dist/rules/yml/enable.d.ts +14 -13
- package/dist/rules/yml/enable.d.ts.map +1 -1
- package/dist/rules/yml/enable.js +13 -14
- package/dist/rules/yml/enable.js.map +1 -1
- package/dist/rules/yml/extension.d.ts +46 -21
- package/dist/rules/yml/extension.d.ts.map +1 -1
- package/dist/rules/yml/extension.js +12 -13
- package/dist/rules/yml/extension.js.map +1 -1
- package/dist/rules/yml/index.d.ts +57 -33
- package/dist/settings/settings/html.js +1 -1
- package/dist/settings/settings/html.js.map +1 -1
- package/package.json +1 -1
- package/src/_scope/index.ts +19 -7
- package/src/files/index.ts +38 -20
- package/src/ignores/global.ts +25 -0
- package/src/ignores/index.ts +15 -44
- package/src/rules/base.eslint.ts +214 -223
- package/src/rules/base.stylistic.ts +116 -131
- package/src/rules/css/enable.ts +17 -21
- package/src/rules/html/enable.ts +63 -66
- package/src/rules/json/enable.ts +9 -13
- package/src/rules/json/plugin/extension.ts +26 -32
- package/src/rules/json/plugin/index.ts +26 -30
- package/src/rules/jsonc/index.ts +1 -1
- package/src/rules/jsonc/override.ts +8 -0
- package/src/rules/jsoncc/index.ts +1 -1
- package/src/rules/jsoncc/override.ts +11 -0
- package/src/rules/mocha/chai/expect.ts +7 -11
- package/src/rules/mocha/chai/index.ts +4 -7
- package/src/rules/mocha/disable.ts +5 -8
- package/src/rules/mocha/enable.ts +27 -31
- package/src/rules/state.ts +5 -0
- package/src/rules/svelte/disable.ts +9 -12
- package/src/rules/svelte/enable.ts +76 -82
- package/src/rules/svelte/extension/disable.ts +5 -9
- package/src/rules/svelte/extension/index.ts +6 -10
- package/src/rules/ts/disable.ts +21 -24
- package/src/rules/ts/enable.ts +106 -111
- package/src/rules/ts/extension/disable.ts +26 -30
- package/src/rules/ts/extension/index.ts +27 -31
- package/src/rules/yml/enable.ts +23 -27
- package/src/rules/yml/extension.ts +13 -17
- package/src/settings/settings/html.ts +1 -1
- package/dist/_scope/const/index.d.ts +0 -3
- package/dist/_scope/const/index.d.ts.map +0 -1
- package/dist/_scope/const/index.js +0 -3
- package/dist/_scope/const/index.js.map +0 -1
- package/dist/_scope/const/roots.d.ts +0 -2
- package/dist/_scope/const/roots.d.ts.map +0 -1
- package/dist/_scope/const/roots.js +0 -5
- package/dist/_scope/const/roots.js.map +0 -1
- package/dist/_scope/const/subroots.d.ts +0 -2
- package/dist/_scope/const/subroots.d.ts.map +0 -1
- package/dist/_scope/const/subroots.js +0 -10
- package/dist/_scope/const/subroots.js.map +0 -1
- package/dist/files/css.d.ts.map +0 -1
- package/dist/files/css.js +0 -3
- package/dist/files/css.js.map +0 -1
- package/dist/files/html.d.ts +0 -3
- package/dist/files/html.d.ts.map +0 -1
- package/dist/files/html.js +0 -3
- package/dist/files/html.js.map +0 -1
- package/dist/files/js.d.ts +0 -3
- package/dist/files/js.d.ts.map +0 -1
- package/dist/files/js.js +0 -7
- package/dist/files/js.js.map +0 -1
- package/dist/files/json.d.ts +0 -3
- package/dist/files/json.d.ts.map +0 -1
- package/dist/files/json.js +0 -3
- package/dist/files/json.js.map +0 -1
- package/dist/files/jsonc.d.ts +0 -3
- package/dist/files/jsonc.d.ts.map +0 -1
- package/dist/files/jsonc.js +0 -3
- package/dist/files/jsonc.js.map +0 -1
- package/dist/files/jsoncc.d.ts +0 -3
- package/dist/files/jsoncc.d.ts.map +0 -1
- package/dist/files/jsoncc.js +0 -10
- package/dist/files/jsoncc.js.map +0 -1
- package/dist/files/mocha.d.ts +0 -3
- package/dist/files/mocha.d.ts.map +0 -1
- package/dist/files/mocha.js +0 -7
- package/dist/files/mocha.js.map +0 -1
- package/dist/files/svelte.d.ts +0 -3
- package/dist/files/svelte.d.ts.map +0 -1
- package/dist/files/svelte.js +0 -3
- package/dist/files/svelte.js.map +0 -1
- package/dist/files/ts.d.ts +0 -3
- package/dist/files/ts.d.ts.map +0 -1
- package/dist/files/ts.js +0 -7
- package/dist/files/ts.js.map +0 -1
- package/dist/files/yml.d.ts +0 -3
- package/dist/files/yml.d.ts.map +0 -1
- package/dist/files/yml.js +0 -8
- package/dist/files/yml.js.map +0 -1
- package/dist/ignores/css.d.ts +0 -3
- package/dist/ignores/css.d.ts.map +0 -1
- package/dist/ignores/css.js +0 -2
- package/dist/ignores/css.js.map +0 -1
- package/dist/ignores/html.d.ts +0 -3
- package/dist/ignores/html.d.ts.map +0 -1
- package/dist/ignores/html.js +0 -2
- package/dist/ignores/html.js.map +0 -1
- package/dist/ignores/js.d.ts +0 -3
- package/dist/ignores/js.d.ts.map +0 -1
- package/dist/ignores/js.js +0 -2
- package/dist/ignores/js.js.map +0 -1
- package/dist/ignores/json.d.ts +0 -3
- package/dist/ignores/json.d.ts.map +0 -1
- package/dist/ignores/json.js +0 -2
- package/dist/ignores/json.js.map +0 -1
- package/dist/ignores/jsonc.d.ts +0 -3
- package/dist/ignores/jsonc.d.ts.map +0 -1
- package/dist/ignores/jsonc.js +0 -2
- package/dist/ignores/jsonc.js.map +0 -1
- package/dist/ignores/jsoncc.d.ts +0 -3
- package/dist/ignores/jsoncc.d.ts.map +0 -1
- package/dist/ignores/jsoncc.js +0 -2
- package/dist/ignores/jsoncc.js.map +0 -1
- package/dist/ignores/mocha.d.ts +0 -3
- package/dist/ignores/mocha.d.ts.map +0 -1
- package/dist/ignores/mocha.js +0 -2
- package/dist/ignores/mocha.js.map +0 -1
- package/dist/ignores/svelte.d.ts +0 -3
- package/dist/ignores/svelte.d.ts.map +0 -1
- package/dist/ignores/svelte.js +0 -2
- package/dist/ignores/svelte.js.map +0 -1
- package/dist/ignores/ts.d.ts +0 -3
- package/dist/ignores/ts.d.ts.map +0 -1
- package/dist/ignores/ts.js +0 -2
- package/dist/ignores/ts.js.map +0 -1
- package/dist/ignores/yml.d.ts +0 -3
- package/dist/ignores/yml.d.ts.map +0 -1
- package/dist/ignores/yml.js +0 -2
- package/dist/ignores/yml.js.map +0 -1
- package/dist/rules/_strings/id.d.ts +0 -19
- package/dist/rules/_strings/id.d.ts.map +0 -1
- package/dist/rules/_strings/id.js +0 -19
- package/dist/rules/_strings/id.js.map +0 -1
- package/dist/rules/_strings/index.d.ts +0 -4
- package/dist/rules/_strings/index.d.ts.map +0 -1
- package/dist/rules/_strings/index.js +0 -4
- package/dist/rules/_strings/index.js.map +0 -1
- package/dist/rules/_strings/option.d.ts +0 -2
- package/dist/rules/_strings/option.d.ts.map +0 -1
- package/dist/rules/_strings/option.js +0 -2
- package/dist/rules/_strings/option.js.map +0 -1
- package/dist/rules/_strings/state.d.ts +0 -2
- package/dist/rules/_strings/state.d.ts.map +0 -1
- package/dist/rules/_strings/state.js +0 -2
- package/dist/rules/_strings/state.js.map +0 -1
- package/dist/rules/jsonc/plugin/index.d.ts +0 -8
- package/dist/rules/jsonc/plugin/index.d.ts.map +0 -1
- package/dist/rules/jsonc/plugin/index.js +0 -8
- package/dist/rules/jsonc/plugin/index.js.map +0 -1
- package/dist/rules/jsoncc/plugin/index.d.ts +0 -8
- package/dist/rules/jsoncc/plugin/index.d.ts.map +0 -1
- package/dist/rules/jsoncc/plugin/index.js +0 -11
- package/dist/rules/jsoncc/plugin/index.js.map +0 -1
- package/src/_scope/const/index.ts +0 -2
- package/src/_scope/const/roots.ts +0 -4
- package/src/_scope/const/subroots.ts +0 -9
- package/src/files/css.ts +0 -5
- package/src/files/html.ts +0 -5
- package/src/files/js.ts +0 -9
- package/src/files/json.ts +0 -5
- package/src/files/jsonc.ts +0 -5
- package/src/files/jsoncc.ts +0 -16
- package/src/files/mocha.ts +0 -9
- package/src/files/svelte.ts +0 -5
- package/src/files/ts.ts +0 -9
- package/src/files/yml.ts +0 -11
- package/src/ignores/css.ts +0 -1
- package/src/ignores/html.ts +0 -1
- package/src/ignores/js.ts +0 -1
- package/src/ignores/json.ts +0 -1
- package/src/ignores/jsonc.ts +0 -1
- package/src/ignores/jsoncc.ts +0 -1
- package/src/ignores/mocha.ts +0 -1
- package/src/ignores/svelte.ts +0 -1
- package/src/ignores/ts.ts +0 -1
- package/src/ignores/yml.ts +0 -1
- package/src/rules/_strings/id.ts +0 -21
- package/src/rules/_strings/index.ts +0 -3
- package/src/rules/_strings/option.ts +0 -29
- package/src/rules/_strings/state.ts +0 -4
- package/src/rules/jsonc/plugin/index.ts +0 -12
- package/src/rules/jsoncc/plugin/index.ts +0 -16
|
@@ -1,153 +1,152 @@
|
|
|
1
|
-
import { ID, ON, always, as_needed, consecutive, all, multi, both, } from "./_strings/index.js";
|
|
2
1
|
export default {
|
|
3
|
-
id:
|
|
2
|
+
id: "enable",
|
|
4
3
|
rules: {
|
|
5
4
|
"array-callback-return": [
|
|
6
|
-
|
|
5
|
+
2,
|
|
7
6
|
{
|
|
8
7
|
checkForEach: true,
|
|
9
8
|
allowVoid: true,
|
|
10
9
|
},
|
|
11
10
|
],
|
|
12
|
-
"constructor-super":
|
|
13
|
-
"for-direction":
|
|
14
|
-
"getter-return":
|
|
15
|
-
"no-async-promise-executor":
|
|
16
|
-
"no-await-in-loop":
|
|
17
|
-
"no-class-assign":
|
|
18
|
-
"no-compare-neg-zero":
|
|
19
|
-
"no-cond-assign":
|
|
20
|
-
"no-const-assign":
|
|
21
|
-
"no-constant-binary-expression":
|
|
11
|
+
"constructor-super": 2,
|
|
12
|
+
"for-direction": 2,
|
|
13
|
+
"getter-return": 2,
|
|
14
|
+
"no-async-promise-executor": 2,
|
|
15
|
+
"no-await-in-loop": 2,
|
|
16
|
+
"no-class-assign": 2,
|
|
17
|
+
"no-compare-neg-zero": 2,
|
|
18
|
+
"no-cond-assign": 2,
|
|
19
|
+
"no-const-assign": 2,
|
|
20
|
+
"no-constant-binary-expression": 2,
|
|
22
21
|
"no-constant-condition": [
|
|
23
|
-
|
|
22
|
+
2,
|
|
24
23
|
{
|
|
25
|
-
checkLoops: all,
|
|
24
|
+
checkLoops: "all",
|
|
26
25
|
},
|
|
27
26
|
],
|
|
28
|
-
"no-constructor-return":
|
|
29
|
-
"no-control-regex":
|
|
30
|
-
"no-debugger":
|
|
31
|
-
"no-dupe-args":
|
|
32
|
-
"no-dupe-class-members":
|
|
33
|
-
"no-dupe-else-if":
|
|
34
|
-
"no-dupe-keys":
|
|
35
|
-
"no-duplicate-case":
|
|
27
|
+
"no-constructor-return": 2,
|
|
28
|
+
"no-control-regex": 2,
|
|
29
|
+
"no-debugger": 2,
|
|
30
|
+
"no-dupe-args": 2,
|
|
31
|
+
"no-dupe-class-members": 2,
|
|
32
|
+
"no-dupe-else-if": 2,
|
|
33
|
+
"no-dupe-keys": 2,
|
|
34
|
+
"no-duplicate-case": 2,
|
|
36
35
|
"no-duplicate-imports": [
|
|
37
|
-
|
|
36
|
+
2,
|
|
38
37
|
{
|
|
39
38
|
includeExports: true,
|
|
40
39
|
allowSeparateTypeImports: true,
|
|
41
40
|
},
|
|
42
41
|
],
|
|
43
|
-
"no-empty-character-class":
|
|
44
|
-
"no-empty-pattern":
|
|
45
|
-
"no-ex-assign":
|
|
46
|
-
"no-fallthrough":
|
|
47
|
-
"no-func-assign":
|
|
48
|
-
"no-import-assign":
|
|
42
|
+
"no-empty-character-class": 2,
|
|
43
|
+
"no-empty-pattern": 2,
|
|
44
|
+
"no-ex-assign": 2,
|
|
45
|
+
"no-fallthrough": 2,
|
|
46
|
+
"no-func-assign": 2,
|
|
47
|
+
"no-import-assign": 2,
|
|
49
48
|
"no-inner-declarations": [
|
|
50
|
-
|
|
51
|
-
both,
|
|
49
|
+
2,
|
|
50
|
+
"both",
|
|
52
51
|
],
|
|
53
|
-
"no-invalid-regexp":
|
|
54
|
-
"no-irregular-whitespace":
|
|
55
|
-
"no-loss-of-precision":
|
|
56
|
-
"no-misleading-character-class":
|
|
57
|
-
"no-new-native-nonconstructor":
|
|
58
|
-
"no-obj-calls":
|
|
52
|
+
"no-invalid-regexp": 2,
|
|
53
|
+
"no-irregular-whitespace": 2,
|
|
54
|
+
"no-loss-of-precision": 2,
|
|
55
|
+
"no-misleading-character-class": 2,
|
|
56
|
+
"no-new-native-nonconstructor": 2,
|
|
57
|
+
"no-obj-calls": 2,
|
|
59
58
|
"no-promise-executor-return": [
|
|
60
|
-
|
|
59
|
+
2,
|
|
61
60
|
{
|
|
62
61
|
allowVoid: true,
|
|
63
62
|
},
|
|
64
63
|
],
|
|
65
|
-
"no-prototype-builtins":
|
|
66
|
-
"no-self-assign":
|
|
67
|
-
"no-self-compare":
|
|
68
|
-
"no-setter-return":
|
|
69
|
-
"no-sparse-arrays":
|
|
70
|
-
"no-template-curly-in-string":
|
|
71
|
-
"no-this-before-super":
|
|
72
|
-
"no-unassigned-vars":
|
|
73
|
-
"no-undef":
|
|
74
|
-
"no-unexpected-multiline":
|
|
75
|
-
"no-unmodified-loop-condition":
|
|
76
|
-
"no-unreachable":
|
|
77
|
-
"no-unreachable-loop":
|
|
78
|
-
"no-unsafe-finally":
|
|
64
|
+
"no-prototype-builtins": 2,
|
|
65
|
+
"no-self-assign": 2,
|
|
66
|
+
"no-self-compare": 2,
|
|
67
|
+
"no-setter-return": 2,
|
|
68
|
+
"no-sparse-arrays": 2,
|
|
69
|
+
"no-template-curly-in-string": 2,
|
|
70
|
+
"no-this-before-super": 2,
|
|
71
|
+
"no-unassigned-vars": 2,
|
|
72
|
+
"no-undef": 2,
|
|
73
|
+
"no-unexpected-multiline": 2,
|
|
74
|
+
"no-unmodified-loop-condition": 2,
|
|
75
|
+
"no-unreachable": 2,
|
|
76
|
+
"no-unreachable-loop": 2,
|
|
77
|
+
"no-unsafe-finally": 2,
|
|
79
78
|
"no-unsafe-negation": [
|
|
80
|
-
|
|
79
|
+
2,
|
|
81
80
|
{
|
|
82
81
|
enforceForOrderingRelations: true,
|
|
83
82
|
},
|
|
84
83
|
],
|
|
85
84
|
"no-unsafe-optional-chaining": [
|
|
86
|
-
|
|
85
|
+
2,
|
|
87
86
|
{
|
|
88
87
|
disallowArithmeticOperators: true,
|
|
89
88
|
},
|
|
90
89
|
],
|
|
91
|
-
"no-unused-private-class-members":
|
|
92
|
-
"no-unused-vars":
|
|
90
|
+
"no-unused-private-class-members": 2,
|
|
91
|
+
"no-unused-vars": 2,
|
|
93
92
|
"no-use-before-define": [
|
|
94
|
-
|
|
93
|
+
2,
|
|
95
94
|
{
|
|
96
95
|
typedefs: false,
|
|
97
96
|
},
|
|
98
97
|
],
|
|
99
|
-
"no-useless-assignment":
|
|
100
|
-
"no-useless-backreference":
|
|
101
|
-
"require-atomic-updates":
|
|
98
|
+
"no-useless-assignment": 2,
|
|
99
|
+
"no-useless-backreference": 2,
|
|
100
|
+
"require-atomic-updates": 2,
|
|
102
101
|
"use-isnan": [
|
|
103
|
-
|
|
102
|
+
2,
|
|
104
103
|
{
|
|
105
104
|
enforceForIndexOf: true,
|
|
106
105
|
},
|
|
107
106
|
],
|
|
108
107
|
"valid-typeof": [
|
|
109
|
-
|
|
108
|
+
2,
|
|
110
109
|
{
|
|
111
110
|
requireStringLiterals: true,
|
|
112
111
|
},
|
|
113
112
|
],
|
|
114
113
|
"accessor-pairs": [
|
|
115
|
-
|
|
114
|
+
2,
|
|
116
115
|
{
|
|
117
116
|
enforceForTSTypes: true,
|
|
118
117
|
},
|
|
119
118
|
],
|
|
120
|
-
"arrow-body-style":
|
|
121
|
-
"block-scoped-var":
|
|
122
|
-
"consistent-return":
|
|
123
|
-
"consistent-this":
|
|
119
|
+
"arrow-body-style": 2,
|
|
120
|
+
"block-scoped-var": 2,
|
|
121
|
+
"consistent-return": 2,
|
|
122
|
+
"consistent-this": 2,
|
|
124
123
|
curly: [
|
|
125
|
-
|
|
126
|
-
multi,
|
|
124
|
+
2,
|
|
125
|
+
"multi",
|
|
127
126
|
],
|
|
128
|
-
"default-case-last":
|
|
129
|
-
"default-param-last":
|
|
130
|
-
"dot-notation":
|
|
131
|
-
eqeqeq:
|
|
132
|
-
"init-declarations":
|
|
127
|
+
"default-case-last": 2,
|
|
128
|
+
"default-param-last": 2,
|
|
129
|
+
"dot-notation": 2,
|
|
130
|
+
eqeqeq: 2,
|
|
131
|
+
"init-declarations": 2,
|
|
133
132
|
"logical-assignment-operators": [
|
|
134
|
-
|
|
135
|
-
always,
|
|
133
|
+
2,
|
|
134
|
+
"always",
|
|
136
135
|
{
|
|
137
136
|
enforceForIfStatements: true,
|
|
138
137
|
},
|
|
139
138
|
],
|
|
140
|
-
"no-alert":
|
|
141
|
-
"no-array-constructor":
|
|
142
|
-
"no-bitwise":
|
|
143
|
-
"no-caller":
|
|
144
|
-
"no-case-declarations":
|
|
145
|
-
"no-continue":
|
|
146
|
-
"no-delete-var":
|
|
147
|
-
"no-div-regex":
|
|
148
|
-
"no-empty":
|
|
139
|
+
"no-alert": 2,
|
|
140
|
+
"no-array-constructor": 2,
|
|
141
|
+
"no-bitwise": 2,
|
|
142
|
+
"no-caller": 2,
|
|
143
|
+
"no-case-declarations": 2,
|
|
144
|
+
"no-continue": 2,
|
|
145
|
+
"no-delete-var": 2,
|
|
146
|
+
"no-div-regex": 2,
|
|
147
|
+
"no-empty": 2,
|
|
149
148
|
"no-empty-function": [
|
|
150
|
-
|
|
149
|
+
2,
|
|
151
150
|
{
|
|
152
151
|
allow: [
|
|
153
152
|
"constructors",
|
|
@@ -158,115 +157,115 @@ export default {
|
|
|
158
157
|
],
|
|
159
158
|
},
|
|
160
159
|
],
|
|
161
|
-
"no-empty-static-block":
|
|
162
|
-
"no-eq-null":
|
|
163
|
-
"no-eval":
|
|
164
|
-
"no-extend-native":
|
|
165
|
-
"no-extra-bind":
|
|
160
|
+
"no-empty-static-block": 2,
|
|
161
|
+
"no-eq-null": 2,
|
|
162
|
+
"no-eval": 2,
|
|
163
|
+
"no-extend-native": 2,
|
|
164
|
+
"no-extra-bind": 2,
|
|
166
165
|
"no-extra-boolean-cast": [
|
|
167
|
-
|
|
166
|
+
2,
|
|
168
167
|
{
|
|
169
168
|
enforceForLogicalOperands: true,
|
|
170
169
|
},
|
|
171
170
|
],
|
|
172
|
-
"no-extra-label":
|
|
173
|
-
"no-global-assign":
|
|
171
|
+
"no-extra-label": 2,
|
|
172
|
+
"no-global-assign": 2,
|
|
174
173
|
"no-implicit-coercion": [
|
|
175
|
-
|
|
174
|
+
2,
|
|
176
175
|
{
|
|
177
176
|
disallowTemplateShorthand: true,
|
|
178
177
|
},
|
|
179
178
|
],
|
|
180
|
-
"no-implied-eval":
|
|
179
|
+
"no-implied-eval": 2,
|
|
181
180
|
"no-invalid-this": [
|
|
182
|
-
|
|
181
|
+
2,
|
|
183
182
|
{
|
|
184
183
|
capIsConstructor: false,
|
|
185
184
|
},
|
|
186
185
|
],
|
|
187
|
-
"no-iterator":
|
|
188
|
-
"no-label-var":
|
|
189
|
-
"no-lone-blocks":
|
|
190
|
-
"no-loop-func":
|
|
191
|
-
"no-multi-assign":
|
|
192
|
-
"no-multi-str":
|
|
193
|
-
"no-new":
|
|
194
|
-
"no-new-func":
|
|
195
|
-
"no-new-wrappers":
|
|
196
|
-
"no-nonoctal-decimal-escape":
|
|
197
|
-
"no-object-constructor":
|
|
198
|
-
"no-octal":
|
|
199
|
-
"no-octal-escape":
|
|
186
|
+
"no-iterator": 2,
|
|
187
|
+
"no-label-var": 2,
|
|
188
|
+
"no-lone-blocks": 2,
|
|
189
|
+
"no-loop-func": 2,
|
|
190
|
+
"no-multi-assign": 2,
|
|
191
|
+
"no-multi-str": 2,
|
|
192
|
+
"no-new": 2,
|
|
193
|
+
"no-new-func": 2,
|
|
194
|
+
"no-new-wrappers": 2,
|
|
195
|
+
"no-nonoctal-decimal-escape": 2,
|
|
196
|
+
"no-object-constructor": 2,
|
|
197
|
+
"no-octal": 2,
|
|
198
|
+
"no-octal-escape": 2,
|
|
200
199
|
"no-param-reassign": [
|
|
201
|
-
|
|
200
|
+
2,
|
|
202
201
|
{
|
|
203
202
|
props: true,
|
|
204
203
|
},
|
|
205
204
|
],
|
|
206
205
|
"no-plusplus": [
|
|
207
|
-
|
|
206
|
+
2,
|
|
208
207
|
{
|
|
209
208
|
allowForLoopAfterthoughts: true,
|
|
210
209
|
},
|
|
211
210
|
],
|
|
212
|
-
"no-proto":
|
|
213
|
-
"no-script-url":
|
|
214
|
-
"no-sequences":
|
|
215
|
-
"no-shadow-restricted-names":
|
|
216
|
-
"no-throw-literal":
|
|
217
|
-
"no-undef-init":
|
|
218
|
-
"no-unneeded-ternary":
|
|
211
|
+
"no-proto": 2,
|
|
212
|
+
"no-script-url": 2,
|
|
213
|
+
"no-sequences": 2,
|
|
214
|
+
"no-shadow-restricted-names": 2,
|
|
215
|
+
"no-throw-literal": 2,
|
|
216
|
+
"no-undef-init": 2,
|
|
217
|
+
"no-unneeded-ternary": 2,
|
|
219
218
|
"no-unused-expressions": [
|
|
220
|
-
|
|
219
|
+
2,
|
|
221
220
|
{
|
|
222
221
|
allowShortCircuit: true,
|
|
223
222
|
allowTernary: true,
|
|
224
223
|
},
|
|
225
224
|
],
|
|
226
|
-
"no-unused-labels":
|
|
227
|
-
"no-useless-call":
|
|
228
|
-
"no-useless-catch":
|
|
229
|
-
"no-useless-computed-key":
|
|
230
|
-
"no-useless-concat":
|
|
231
|
-
"no-useless-constructor":
|
|
225
|
+
"no-unused-labels": 2,
|
|
226
|
+
"no-useless-call": 2,
|
|
227
|
+
"no-useless-catch": 2,
|
|
228
|
+
"no-useless-computed-key": 2,
|
|
229
|
+
"no-useless-concat": 2,
|
|
230
|
+
"no-useless-constructor": 2,
|
|
232
231
|
"no-useless-escape": [
|
|
233
|
-
|
|
232
|
+
2,
|
|
234
233
|
{
|
|
235
234
|
allowRegexCharacters: ["-"],
|
|
236
235
|
},
|
|
237
236
|
],
|
|
238
|
-
"no-useless-rename":
|
|
239
|
-
"no-useless-return":
|
|
240
|
-
"no-var":
|
|
237
|
+
"no-useless-rename": 2,
|
|
238
|
+
"no-useless-return": 2,
|
|
239
|
+
"no-var": 2,
|
|
241
240
|
"no-void": [
|
|
242
|
-
|
|
241
|
+
2,
|
|
243
242
|
{
|
|
244
243
|
allowAsStatement: true,
|
|
245
244
|
},
|
|
246
245
|
],
|
|
247
|
-
"no-with":
|
|
248
|
-
"object-shorthand":
|
|
246
|
+
"no-with": 2,
|
|
247
|
+
"object-shorthand": 2,
|
|
249
248
|
"one-var": [
|
|
250
|
-
|
|
249
|
+
2,
|
|
251
250
|
{
|
|
252
|
-
"var": consecutive,
|
|
253
|
-
let: consecutive,
|
|
254
|
-
"const": consecutive,
|
|
255
|
-
using: consecutive,
|
|
256
|
-
awaitUsing: consecutive,
|
|
251
|
+
"var": "consecutive",
|
|
252
|
+
let: "consecutive",
|
|
253
|
+
"const": "consecutive",
|
|
254
|
+
using: "consecutive",
|
|
255
|
+
awaitUsing: "consecutive",
|
|
257
256
|
separateRequires: true,
|
|
258
257
|
},
|
|
259
258
|
],
|
|
260
|
-
"operator-assignment":
|
|
261
|
-
"prefer-arrow-callback":
|
|
259
|
+
"operator-assignment": 2,
|
|
260
|
+
"prefer-arrow-callback": 2,
|
|
262
261
|
"prefer-const": [
|
|
263
|
-
|
|
262
|
+
2,
|
|
264
263
|
{
|
|
265
|
-
destructuring: all,
|
|
264
|
+
destructuring: "all",
|
|
266
265
|
},
|
|
267
266
|
],
|
|
268
267
|
"prefer-destructuring": [
|
|
269
|
-
|
|
268
|
+
2,
|
|
270
269
|
{
|
|
271
270
|
AssignmentExpression: {
|
|
272
271
|
array: false,
|
|
@@ -274,34 +273,34 @@ export default {
|
|
|
274
273
|
},
|
|
275
274
|
},
|
|
276
275
|
],
|
|
277
|
-
"prefer-exponentiation-operator":
|
|
278
|
-
"prefer-numeric-literals":
|
|
279
|
-
"prefer-object-has-own":
|
|
280
|
-
"prefer-object-spread":
|
|
281
|
-
"prefer-promise-reject-errors":
|
|
276
|
+
"prefer-exponentiation-operator": 2,
|
|
277
|
+
"prefer-numeric-literals": 2,
|
|
278
|
+
"prefer-object-has-own": 2,
|
|
279
|
+
"prefer-object-spread": 2,
|
|
280
|
+
"prefer-promise-reject-errors": 2,
|
|
282
281
|
"prefer-regex-literals": [
|
|
283
|
-
|
|
282
|
+
2,
|
|
284
283
|
{
|
|
285
284
|
disallowRedundantWrapping: true,
|
|
286
285
|
},
|
|
287
286
|
],
|
|
288
|
-
"prefer-rest-params":
|
|
289
|
-
"prefer-spread":
|
|
287
|
+
"prefer-rest-params": 2,
|
|
288
|
+
"prefer-spread": 2,
|
|
290
289
|
"preserve-caught-error": [
|
|
291
|
-
|
|
290
|
+
2,
|
|
292
291
|
{
|
|
293
292
|
requireCatchParameter: true,
|
|
294
293
|
},
|
|
295
294
|
],
|
|
296
295
|
radix: [
|
|
297
|
-
|
|
298
|
-
|
|
296
|
+
2,
|
|
297
|
+
"as-needed",
|
|
299
298
|
],
|
|
300
|
-
"require-await":
|
|
301
|
-
"require-unicode-regexp":
|
|
302
|
-
"require-yield":
|
|
303
|
-
"vars-on-top":
|
|
304
|
-
yoda:
|
|
299
|
+
"require-await": 2,
|
|
300
|
+
"require-unicode-regexp": 2,
|
|
301
|
+
"require-yield": 2,
|
|
302
|
+
"vars-on-top": 2,
|
|
303
|
+
yoda: 2,
|
|
305
304
|
},
|
|
306
305
|
};
|
|
307
|
-
//# sourceMappingURL=base.eslint.js.map
|
|
306
|
+
//# sourceMappingURL=base.eslint.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.eslint.js","sourceRoot":"","sources":["../../src/rules/base.eslint.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"base.eslint.js","sourceRoot":"","sources":["../../src/rules/base.eslint.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,EAAE,EAAE,QAAQ;IACZ,KAAK,EAAE;QAGL,uBAAuB,EAAE;;YAEvB;gBAEE,YAAY,EAAE,IAAI;gBAClB,SAAS,EAAE,IAAI;aAChB;SACF;QACD,mBAAmB,GAAU;QAC7B,eAAe,GAAU;QACzB,eAAe,GAAU;QACzB,2BAA2B,GAAU;QACrC,kBAAkB,GAAU;QAC5B,iBAAiB,GAAU;QAC3B,qBAAqB,GAAU;QAC/B,gBAAgB,GAAU;QAC1B,iBAAiB,GAAU;QAC3B,+BAA+B,GAAU;QACzC,uBAAuB,EAAE;;YAEvB;gBACE,UAAU,EAAE,KAAK;aAClB;SACF;QACD,uBAAuB,GAAU;QACjC,kBAAkB,GAAU;QAC5B,aAAa,GAAU;QAC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