@eslinted/defaults 20.4.0 → 21.0.1
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/index.d.ts +504 -523
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/{state.d.ts → _state.d.ts} +1 -1
- 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/{css/index.d.ts → css.d.ts} +3 -3
- package/dist/rules/css.d.ts.map +1 -0
- package/dist/rules/css.js +17 -0
- package/dist/rules/css.js.map +1 -0
- package/dist/rules/{html/index.d.ts → html.d.ts} +3 -3
- package/dist/rules/html.d.ts.map +1 -0
- package/dist/rules/html.js +41 -0
- package/dist/rules/html.js.map +1 -0
- package/dist/rules/index.d.ts +504 -523
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/index.js +7 -7
- package/dist/rules/js.d.ts +219 -221
- package/dist/rules/js.d.ts.map +1 -1
- package/dist/rules/js.js +545 -7
- package/dist/rules/js.js.map +1 -1
- package/dist/rules/{json/jsonc.d.ts → json.d.ts} +4 -2
- package/dist/rules/json.d.ts.map +1 -0
- package/dist/rules/{json/jsonc.js → json.js} +3 -1
- package/dist/rules/json.js.map +1 -0
- package/dist/rules/{jsonc/index.d.ts → jsonc.d.ts} +3 -3
- package/dist/rules/jsonc.d.ts.map +1 -0
- package/dist/rules/jsonc.js +10 -0
- package/dist/rules/jsonc.js.map +1 -0
- package/dist/rules/{svelte/svelte.d.ts → svelte.d.ts} +16 -1
- package/dist/rules/svelte.d.ts.map +1 -0
- package/dist/rules/{svelte/svelte.js → svelte.js} +15 -0
- package/dist/rules/svelte.js.map +1 -0
- package/dist/rules/{ts/ts.d.ts → ts.d.ts} +51 -1
- package/dist/rules/ts.d.ts.map +1 -0
- package/dist/rules/{ts/ts.js → ts.js} +50 -0
- package/dist/rules/ts.js.map +1 -0
- package/dist/rules/{yml/index.d.ts → yml.d.ts} +3 -3
- package/dist/rules/yml.d.ts.map +1 -0
- package/dist/rules/yml.js +32 -0
- package/dist/rules/yml.js.map +1 -0
- package/package.json +1 -1
- package/src/rules/css.ts +22 -0
- package/src/rules/html.ts +82 -0
- package/src/rules/js.ts +621 -6
- package/src/rules/{json/jsonc.ts → json.ts} +7 -1
- package/src/rules/jsonc.ts +11 -0
- package/src/rules/{svelte/svelte.ts → svelte.ts} +39 -2
- package/src/rules/{ts/ts.ts → ts.ts} +67 -2
- package/src/rules/yml.ts +56 -0
- package/dist/rules/css/index.d.ts.map +0 -1
- package/dist/rules/css/index.js +0 -19
- package/dist/rules/css/index.js.map +0 -1
- package/dist/rules/html/index.d.ts.map +0 -1
- package/dist/rules/html/index.js +0 -43
- package/dist/rules/html/index.js.map +0 -1
- package/dist/rules/js.eslint.d.ts +0 -289
- package/dist/rules/js.eslint.d.ts.map +0 -1
- package/dist/rules/js.eslint.js +0 -285
- package/dist/rules/js.eslint.js.map +0 -1
- package/dist/rules/js.stylistic.d.ts +0 -271
- package/dist/rules/js.stylistic.d.ts.map +0 -1
- package/dist/rules/js.stylistic.js +0 -265
- package/dist/rules/js.stylistic.js.map +0 -1
- package/dist/rules/json/index.d.ts +0 -33
- package/dist/rules/json/index.d.ts.map +0 -1
- package/dist/rules/json/index.js +0 -7
- package/dist/rules/json/index.js.map +0 -1
- package/dist/rules/json/json.d.ts +0 -9
- package/dist/rules/json/json.d.ts.map +0 -1
- package/dist/rules/json/json.js +0 -7
- package/dist/rules/json/json.js.map +0 -1
- package/dist/rules/json/jsonc.d.ts.map +0 -1
- package/dist/rules/json/jsonc.js.map +0 -1
- package/dist/rules/jsonc/index.d.ts.map +0 -1
- package/dist/rules/jsonc/index.js +0 -12
- package/dist/rules/jsonc/index.js.map +0 -1
- package/dist/rules/state.d.ts.map +0 -1
- package/dist/rules/state.js +0 -2
- package/dist/rules/state.js.map +0 -1
- package/dist/rules/svelte/disable.d.ts +0 -17
- package/dist/rules/svelte/disable.d.ts.map +0 -1
- package/dist/rules/svelte/disable.js +0 -15
- package/dist/rules/svelte/disable.js.map +0 -1
- package/dist/rules/svelte/extend.d.ts +0 -13
- package/dist/rules/svelte/extend.d.ts.map +0 -1
- package/dist/rules/svelte/extend.js +0 -11
- package/dist/rules/svelte/extend.js.map +0 -1
- package/dist/rules/svelte/html.d.ts +0 -14
- package/dist/rules/svelte/html.d.ts.map +0 -1
- package/dist/rules/svelte/html.js +0 -12
- package/dist/rules/svelte/html.js.map +0 -1
- package/dist/rules/svelte/index.d.ts +0 -115
- package/dist/rules/svelte/index.d.ts.map +0 -1
- package/dist/rules/svelte/index.js +0 -9
- package/dist/rules/svelte/index.js.map +0 -1
- package/dist/rules/svelte/svelte.d.ts.map +0 -1
- package/dist/rules/svelte/svelte.js.map +0 -1
- package/dist/rules/ts/disable.d.ts +0 -26
- package/dist/rules/ts/disable.d.ts.map +0 -1
- package/dist/rules/ts/disable.js +0 -24
- package/dist/rules/ts/disable.js.map +0 -1
- package/dist/rules/ts/extend.d.ts +0 -38
- package/dist/rules/ts/extend.d.ts.map +0 -1
- package/dist/rules/ts/extend.js +0 -36
- package/dist/rules/ts/extend.js.map +0 -1
- package/dist/rules/ts/index.d.ts +0 -242
- package/dist/rules/ts/index.d.ts.map +0 -1
- package/dist/rules/ts/index.js +0 -9
- package/dist/rules/ts/index.js.map +0 -1
- package/dist/rules/ts/ts.d.ts.map +0 -1
- package/dist/rules/ts/ts.js.map +0 -1
- package/dist/rules/yml/index.d.ts.map +0 -1
- package/dist/rules/yml/index.js +0 -34
- package/dist/rules/yml/index.js.map +0 -1
- package/src/rules/css/index.ts +0 -24
- package/src/rules/html/index.ts +0 -84
- package/src/rules/js.eslint.ts +0 -348
- package/src/rules/js.stylistic.ts +0 -279
- package/src/rules/json/index.ts +0 -7
- package/src/rules/json/json.ts +0 -13
- package/src/rules/jsonc/index.ts +0 -13
- package/src/rules/svelte/disable.ts +0 -21
- package/src/rules/svelte/extend.ts +0 -14
- package/src/rules/svelte/html.ts +0 -14
- package/src/rules/svelte/index.ts +0 -11
- package/src/rules/ts/disable.ts +0 -26
- package/src/rules/ts/extend.ts +0 -42
- package/src/rules/ts/index.ts +0 -9
- package/src/rules/yml/index.ts +0 -58
- /package/src/rules/{state.ts → _state.ts} +0 -0
package/dist/rules/js.d.ts
CHANGED
|
@@ -1,152 +1,153 @@
|
|
|
1
|
-
|
|
1
|
+
import { State } from "./_state.js";
|
|
2
|
+
declare const _default: {
|
|
2
3
|
rules: {
|
|
3
4
|
readonly "array-callback-return": readonly [
|
|
4
|
-
|
|
5
|
+
State.ON,
|
|
5
6
|
{
|
|
6
7
|
readonly checkForEach: true;
|
|
7
8
|
readonly allowVoid: true;
|
|
8
9
|
}
|
|
9
10
|
];
|
|
10
|
-
readonly "constructor-super":
|
|
11
|
-
readonly "for-direction":
|
|
12
|
-
readonly "getter-return":
|
|
13
|
-
readonly "no-async-promise-executor":
|
|
14
|
-
readonly "no-await-in-loop":
|
|
15
|
-
readonly "no-class-assign":
|
|
16
|
-
readonly "no-compare-neg-zero":
|
|
17
|
-
readonly "no-cond-assign":
|
|
18
|
-
readonly "no-const-assign":
|
|
19
|
-
readonly "no-constant-binary-expression":
|
|
11
|
+
readonly "constructor-super": State.ON;
|
|
12
|
+
readonly "for-direction": State.ON;
|
|
13
|
+
readonly "getter-return": State.ON;
|
|
14
|
+
readonly "no-async-promise-executor": State.ON;
|
|
15
|
+
readonly "no-await-in-loop": State.ON;
|
|
16
|
+
readonly "no-class-assign": State.ON;
|
|
17
|
+
readonly "no-compare-neg-zero": State.ON;
|
|
18
|
+
readonly "no-cond-assign": State.ON;
|
|
19
|
+
readonly "no-const-assign": State.ON;
|
|
20
|
+
readonly "no-constant-binary-expression": State.ON;
|
|
20
21
|
readonly "no-constant-condition": readonly [
|
|
21
|
-
|
|
22
|
+
State.ON,
|
|
22
23
|
{
|
|
23
24
|
readonly checkLoops: "all";
|
|
24
25
|
}
|
|
25
26
|
];
|
|
26
|
-
readonly "no-constructor-return":
|
|
27
|
-
readonly "no-control-regex":
|
|
28
|
-
readonly "no-debugger":
|
|
29
|
-
readonly "no-dupe-args":
|
|
30
|
-
readonly "no-dupe-class-members":
|
|
31
|
-
readonly "no-dupe-else-if":
|
|
32
|
-
readonly "no-dupe-keys":
|
|
33
|
-
readonly "no-duplicate-case":
|
|
27
|
+
readonly "no-constructor-return": State.ON;
|
|
28
|
+
readonly "no-control-regex": State.ON;
|
|
29
|
+
readonly "no-debugger": State.ON;
|
|
30
|
+
readonly "no-dupe-args": State.ON;
|
|
31
|
+
readonly "no-dupe-class-members": State.ON;
|
|
32
|
+
readonly "no-dupe-else-if": State.ON;
|
|
33
|
+
readonly "no-dupe-keys": State.ON;
|
|
34
|
+
readonly "no-duplicate-case": State.ON;
|
|
34
35
|
readonly "no-duplicate-imports": readonly [
|
|
35
|
-
|
|
36
|
+
State.ON,
|
|
36
37
|
{
|
|
37
38
|
readonly includeExports: true;
|
|
38
39
|
readonly allowSeparateTypeImports: true;
|
|
39
40
|
}
|
|
40
41
|
];
|
|
41
|
-
readonly "no-empty-character-class":
|
|
42
|
-
readonly "no-empty-pattern":
|
|
43
|
-
readonly "no-ex-assign":
|
|
44
|
-
readonly "no-fallthrough":
|
|
45
|
-
readonly "no-func-assign":
|
|
46
|
-
readonly "no-import-assign":
|
|
42
|
+
readonly "no-empty-character-class": State.ON;
|
|
43
|
+
readonly "no-empty-pattern": State.ON;
|
|
44
|
+
readonly "no-ex-assign": State.ON;
|
|
45
|
+
readonly "no-fallthrough": State.ON;
|
|
46
|
+
readonly "no-func-assign": State.ON;
|
|
47
|
+
readonly "no-import-assign": State.ON;
|
|
47
48
|
readonly "no-inner-declarations": readonly [
|
|
48
|
-
|
|
49
|
+
State.ON,
|
|
49
50
|
"both"
|
|
50
51
|
];
|
|
51
|
-
readonly "no-invalid-regexp":
|
|
52
|
-
readonly "no-irregular-whitespace":
|
|
53
|
-
readonly "no-loss-of-precision":
|
|
54
|
-
readonly "no-misleading-character-class":
|
|
55
|
-
readonly "no-new-native-nonconstructor":
|
|
56
|
-
readonly "no-obj-calls":
|
|
52
|
+
readonly "no-invalid-regexp": State.ON;
|
|
53
|
+
readonly "no-irregular-whitespace": State.ON;
|
|
54
|
+
readonly "no-loss-of-precision": State.ON;
|
|
55
|
+
readonly "no-misleading-character-class": State.ON;
|
|
56
|
+
readonly "no-new-native-nonconstructor": State.ON;
|
|
57
|
+
readonly "no-obj-calls": State.ON;
|
|
57
58
|
readonly "no-promise-executor-return": readonly [
|
|
58
|
-
|
|
59
|
+
State.ON,
|
|
59
60
|
{
|
|
60
61
|
readonly allowVoid: true;
|
|
61
62
|
}
|
|
62
63
|
];
|
|
63
|
-
readonly "no-prototype-builtins":
|
|
64
|
-
readonly "no-self-assign":
|
|
65
|
-
readonly "no-self-compare":
|
|
66
|
-
readonly "no-setter-return":
|
|
67
|
-
readonly "no-sparse-arrays":
|
|
68
|
-
readonly "no-template-curly-in-string":
|
|
69
|
-
readonly "no-this-before-super":
|
|
70
|
-
readonly "no-unassigned-vars":
|
|
71
|
-
readonly "no-undef":
|
|
72
|
-
readonly "no-unexpected-multiline":
|
|
73
|
-
readonly "no-unmodified-loop-condition":
|
|
74
|
-
readonly "no-unreachable":
|
|
75
|
-
readonly "no-unreachable-loop":
|
|
76
|
-
readonly "no-unsafe-finally":
|
|
64
|
+
readonly "no-prototype-builtins": State.ON;
|
|
65
|
+
readonly "no-self-assign": State.ON;
|
|
66
|
+
readonly "no-self-compare": State.ON;
|
|
67
|
+
readonly "no-setter-return": State.ON;
|
|
68
|
+
readonly "no-sparse-arrays": State.ON;
|
|
69
|
+
readonly "no-template-curly-in-string": State.ON;
|
|
70
|
+
readonly "no-this-before-super": State.ON;
|
|
71
|
+
readonly "no-unassigned-vars": State.ON;
|
|
72
|
+
readonly "no-undef": State.ON;
|
|
73
|
+
readonly "no-unexpected-multiline": State.ON;
|
|
74
|
+
readonly "no-unmodified-loop-condition": State.ON;
|
|
75
|
+
readonly "no-unreachable": State.WARN;
|
|
76
|
+
readonly "no-unreachable-loop": State.WARN;
|
|
77
|
+
readonly "no-unsafe-finally": State.ON;
|
|
77
78
|
readonly "no-unsafe-negation": readonly [
|
|
78
|
-
|
|
79
|
+
State.ON,
|
|
79
80
|
{
|
|
80
81
|
readonly enforceForOrderingRelations: true;
|
|
81
82
|
}
|
|
82
83
|
];
|
|
83
84
|
readonly "no-unsafe-optional-chaining": readonly [
|
|
84
|
-
|
|
85
|
+
State.ON,
|
|
85
86
|
{
|
|
86
87
|
readonly disallowArithmeticOperators: true;
|
|
87
88
|
}
|
|
88
89
|
];
|
|
89
|
-
readonly "no-unused-private-class-members":
|
|
90
|
-
readonly "no-unused-vars":
|
|
90
|
+
readonly "no-unused-private-class-members": State.WARN;
|
|
91
|
+
readonly "no-unused-vars": State.WARN;
|
|
91
92
|
readonly "no-use-before-define": readonly [
|
|
92
|
-
|
|
93
|
+
State.ON,
|
|
93
94
|
{
|
|
94
95
|
readonly typedefs: false;
|
|
95
96
|
}
|
|
96
97
|
];
|
|
97
|
-
readonly "no-useless-assignment":
|
|
98
|
-
readonly "no-useless-backreference":
|
|
99
|
-
readonly "require-atomic-updates":
|
|
98
|
+
readonly "no-useless-assignment": State.ON;
|
|
99
|
+
readonly "no-useless-backreference": State.ON;
|
|
100
|
+
readonly "require-atomic-updates": State.ON;
|
|
100
101
|
readonly "use-isnan": readonly [
|
|
101
|
-
|
|
102
|
+
State.ON,
|
|
102
103
|
{
|
|
103
104
|
readonly enforceForIndexOf: true;
|
|
104
105
|
}
|
|
105
106
|
];
|
|
106
107
|
readonly "valid-typeof": readonly [
|
|
107
|
-
|
|
108
|
+
State.ON,
|
|
108
109
|
{
|
|
109
110
|
readonly requireStringLiterals: true;
|
|
110
111
|
}
|
|
111
112
|
];
|
|
112
113
|
readonly "accessor-pairs": readonly [
|
|
113
|
-
|
|
114
|
+
State.ON,
|
|
114
115
|
{
|
|
115
116
|
readonly enforceForTSTypes: true;
|
|
116
117
|
}
|
|
117
118
|
];
|
|
118
|
-
readonly "arrow-body-style":
|
|
119
|
-
readonly "block-scoped-var":
|
|
120
|
-
readonly "consistent-return":
|
|
121
|
-
readonly "consistent-this":
|
|
119
|
+
readonly "arrow-body-style": State.WARN;
|
|
120
|
+
readonly "block-scoped-var": State.ON;
|
|
121
|
+
readonly "consistent-return": State.ON;
|
|
122
|
+
readonly "consistent-this": State.ON;
|
|
122
123
|
readonly curly: readonly [
|
|
123
|
-
|
|
124
|
+
State.WARN,
|
|
124
125
|
"multi"
|
|
125
126
|
];
|
|
126
|
-
readonly "default-case-last":
|
|
127
|
-
readonly "default-param-last":
|
|
128
|
-
readonly "dot-notation":
|
|
129
|
-
readonly eqeqeq:
|
|
130
|
-
readonly "init-declarations":
|
|
127
|
+
readonly "default-case-last": State.ON;
|
|
128
|
+
readonly "default-param-last": State.ON;
|
|
129
|
+
readonly "dot-notation": State.WARN;
|
|
130
|
+
readonly eqeqeq: State.ON;
|
|
131
|
+
readonly "init-declarations": State.WARN;
|
|
131
132
|
readonly "logical-assignment-operators": readonly [
|
|
132
|
-
|
|
133
|
+
State.WARN,
|
|
133
134
|
"always",
|
|
134
135
|
{
|
|
135
136
|
readonly enforceForIfStatements: true;
|
|
136
137
|
}
|
|
137
138
|
];
|
|
138
|
-
readonly "no-alert":
|
|
139
|
-
readonly "no-array-constructor":
|
|
140
|
-
readonly "no-bitwise":
|
|
141
|
-
readonly "no-caller":
|
|
142
|
-
readonly "no-case-declarations":
|
|
143
|
-
readonly "no-continue":
|
|
144
|
-
readonly "no-delete-var":
|
|
145
|
-
readonly "no-div-regex":
|
|
146
|
-
readonly "no-else-return":
|
|
147
|
-
readonly "no-empty":
|
|
139
|
+
readonly "no-alert": State.ON;
|
|
140
|
+
readonly "no-array-constructor": State.ON;
|
|
141
|
+
readonly "no-bitwise": State.ON;
|
|
142
|
+
readonly "no-caller": State.ON;
|
|
143
|
+
readonly "no-case-declarations": State.ON;
|
|
144
|
+
readonly "no-continue": State.ON;
|
|
145
|
+
readonly "no-delete-var": State.ON;
|
|
146
|
+
readonly "no-div-regex": State.ON;
|
|
147
|
+
readonly "no-else-return": State.ON;
|
|
148
|
+
readonly "no-empty": State.ON;
|
|
148
149
|
readonly "no-empty-function": readonly [
|
|
149
|
-
|
|
150
|
+
State.WARN,
|
|
150
151
|
{
|
|
151
152
|
readonly allow: readonly [
|
|
152
153
|
"constructors",
|
|
@@ -157,88 +158,88 @@ declare const _default: ({
|
|
|
157
158
|
];
|
|
158
159
|
}
|
|
159
160
|
];
|
|
160
|
-
readonly "no-empty-static-block":
|
|
161
|
-
readonly "no-eq-null":
|
|
162
|
-
readonly "no-eval":
|
|
163
|
-
readonly "no-extend-native":
|
|
164
|
-
readonly "no-extra-bind":
|
|
161
|
+
readonly "no-empty-static-block": State.WARN;
|
|
162
|
+
readonly "no-eq-null": State.ON;
|
|
163
|
+
readonly "no-eval": State.ON;
|
|
164
|
+
readonly "no-extend-native": State.ON;
|
|
165
|
+
readonly "no-extra-bind": State.ON;
|
|
165
166
|
readonly "no-extra-boolean-cast": readonly [
|
|
166
|
-
|
|
167
|
+
State.WARN,
|
|
167
168
|
{
|
|
168
169
|
readonly enforceForLogicalOperands: true;
|
|
169
170
|
}
|
|
170
171
|
];
|
|
171
|
-
readonly "no-extra-label":
|
|
172
|
-
readonly "no-global-assign":
|
|
173
|
-
readonly "no-implicit-coercion":
|
|
174
|
-
readonly "no-implied-eval":
|
|
172
|
+
readonly "no-extra-label": State.WARN;
|
|
173
|
+
readonly "no-global-assign": State.ON;
|
|
174
|
+
readonly "no-implicit-coercion": State.ON;
|
|
175
|
+
readonly "no-implied-eval": State.ON;
|
|
175
176
|
readonly "no-invalid-this": readonly [
|
|
176
|
-
|
|
177
|
+
State.ON,
|
|
177
178
|
{
|
|
178
179
|
readonly capIsConstructor: false;
|
|
179
180
|
}
|
|
180
181
|
];
|
|
181
|
-
readonly "no-iterator":
|
|
182
|
-
readonly "no-label-var":
|
|
183
|
-
readonly "no-lone-blocks":
|
|
184
|
-
readonly "no-loop-func":
|
|
185
|
-
readonly "no-multi-assign":
|
|
186
|
-
readonly "no-multi-str":
|
|
187
|
-
readonly "no-new":
|
|
188
|
-
readonly "no-new-func":
|
|
189
|
-
readonly "no-new-wrappers":
|
|
190
|
-
readonly "no-nonoctal-decimal-escape":
|
|
191
|
-
readonly "no-object-constructor":
|
|
192
|
-
readonly "no-octal":
|
|
193
|
-
readonly "no-octal-escape":
|
|
194
|
-
readonly "no-param-reassign":
|
|
182
|
+
readonly "no-iterator": State.ON;
|
|
183
|
+
readonly "no-label-var": State.WARN;
|
|
184
|
+
readonly "no-lone-blocks": State.ON;
|
|
185
|
+
readonly "no-loop-func": State.ON;
|
|
186
|
+
readonly "no-multi-assign": State.ON;
|
|
187
|
+
readonly "no-multi-str": State.WARN;
|
|
188
|
+
readonly "no-new": State.ON;
|
|
189
|
+
readonly "no-new-func": State.ON;
|
|
190
|
+
readonly "no-new-wrappers": State.ON;
|
|
191
|
+
readonly "no-nonoctal-decimal-escape": State.ON;
|
|
192
|
+
readonly "no-object-constructor": State.ON;
|
|
193
|
+
readonly "no-octal": State.ON;
|
|
194
|
+
readonly "no-octal-escape": State.ON;
|
|
195
|
+
readonly "no-param-reassign": State.ON;
|
|
195
196
|
readonly "no-plusplus": readonly [
|
|
196
|
-
|
|
197
|
+
State.ON,
|
|
197
198
|
{
|
|
198
199
|
readonly allowForLoopAfterthoughts: true;
|
|
199
200
|
}
|
|
200
201
|
];
|
|
201
|
-
readonly "no-proto":
|
|
202
|
-
readonly "no-script-url":
|
|
203
|
-
readonly "no-sequences":
|
|
204
|
-
readonly "no-shadow-restricted-names":
|
|
205
|
-
readonly "no-throw-literal":
|
|
206
|
-
readonly "no-undef-init":
|
|
207
|
-
readonly "no-unneeded-ternary":
|
|
202
|
+
readonly "no-proto": State.ON;
|
|
203
|
+
readonly "no-script-url": State.ON;
|
|
204
|
+
readonly "no-sequences": State.ON;
|
|
205
|
+
readonly "no-shadow-restricted-names": State.ON;
|
|
206
|
+
readonly "no-throw-literal": State.WARN;
|
|
207
|
+
readonly "no-undef-init": State.ON;
|
|
208
|
+
readonly "no-unneeded-ternary": State.WARN;
|
|
208
209
|
readonly "no-unused-expressions": readonly [
|
|
209
|
-
|
|
210
|
+
State.WARN,
|
|
210
211
|
{
|
|
211
212
|
readonly allowShortCircuit: true;
|
|
212
213
|
readonly allowTernary: true;
|
|
213
214
|
}
|
|
214
215
|
];
|
|
215
|
-
readonly "no-unused-labels":
|
|
216
|
-
readonly "no-useless-call":
|
|
217
|
-
readonly "no-useless-catch":
|
|
218
|
-
readonly "no-useless-computed-key":
|
|
219
|
-
readonly "no-useless-concat":
|
|
220
|
-
readonly "no-useless-constructor":
|
|
216
|
+
readonly "no-unused-labels": State.WARN;
|
|
217
|
+
readonly "no-useless-call": State.WARN;
|
|
218
|
+
readonly "no-useless-catch": State.WARN;
|
|
219
|
+
readonly "no-useless-computed-key": State.WARN;
|
|
220
|
+
readonly "no-useless-concat": State.WARN;
|
|
221
|
+
readonly "no-useless-constructor": State.WARN;
|
|
221
222
|
readonly "no-useless-escape": readonly [
|
|
222
|
-
|
|
223
|
+
State.WARN,
|
|
223
224
|
{
|
|
224
225
|
readonly allowRegexCharacters: readonly [
|
|
225
226
|
"-"
|
|
226
227
|
];
|
|
227
228
|
}
|
|
228
229
|
];
|
|
229
|
-
readonly "no-useless-rename":
|
|
230
|
-
readonly "no-useless-return":
|
|
231
|
-
readonly "no-var":
|
|
230
|
+
readonly "no-useless-rename": State.WARN;
|
|
231
|
+
readonly "no-useless-return": State.WARN;
|
|
232
|
+
readonly "no-var": State.WARN;
|
|
232
233
|
readonly "no-void": readonly [
|
|
233
|
-
|
|
234
|
+
State.ON,
|
|
234
235
|
{
|
|
235
236
|
readonly allowAsStatement: true;
|
|
236
237
|
}
|
|
237
238
|
];
|
|
238
|
-
readonly "no-with":
|
|
239
|
-
readonly "object-shorthand":
|
|
239
|
+
readonly "no-with": State.ON;
|
|
240
|
+
readonly "object-shorthand": State.WARN;
|
|
240
241
|
readonly "one-var": readonly [
|
|
241
|
-
|
|
242
|
+
State.WARN,
|
|
242
243
|
{
|
|
243
244
|
readonly var: "consecutive";
|
|
244
245
|
readonly let: "consecutive";
|
|
@@ -248,49 +249,46 @@ declare const _default: ({
|
|
|
248
249
|
readonly separateRequires: true;
|
|
249
250
|
}
|
|
250
251
|
];
|
|
251
|
-
readonly "operator-assignment":
|
|
252
|
-
readonly "prefer-arrow-callback":
|
|
252
|
+
readonly "operator-assignment": State.WARN;
|
|
253
|
+
readonly "prefer-arrow-callback": State.WARN;
|
|
253
254
|
readonly "prefer-const": readonly [
|
|
254
|
-
|
|
255
|
+
State.WARN,
|
|
255
256
|
{
|
|
256
257
|
readonly destructuring: "all";
|
|
257
258
|
}
|
|
258
259
|
];
|
|
259
|
-
readonly "prefer-exponentiation-operator":
|
|
260
|
-
readonly "prefer-numeric-literals":
|
|
261
|
-
readonly "prefer-object-has-own":
|
|
262
|
-
readonly "prefer-object-spread":
|
|
263
|
-
readonly "prefer-promise-reject-errors":
|
|
260
|
+
readonly "prefer-exponentiation-operator": State.WARN;
|
|
261
|
+
readonly "prefer-numeric-literals": State.WARN;
|
|
262
|
+
readonly "prefer-object-has-own": State.WARN;
|
|
263
|
+
readonly "prefer-object-spread": State.WARN;
|
|
264
|
+
readonly "prefer-promise-reject-errors": State.WARN;
|
|
264
265
|
readonly "prefer-regex-literals": readonly [
|
|
265
|
-
|
|
266
|
+
State.WARN,
|
|
266
267
|
{
|
|
267
268
|
readonly disallowRedundantWrapping: true;
|
|
268
269
|
}
|
|
269
270
|
];
|
|
270
|
-
readonly "prefer-rest-params":
|
|
271
|
-
readonly "prefer-spread":
|
|
271
|
+
readonly "prefer-rest-params": State.WARN;
|
|
272
|
+
readonly "prefer-spread": State.WARN;
|
|
272
273
|
readonly "preserve-caught-error": readonly [
|
|
273
|
-
|
|
274
|
+
State.ON,
|
|
274
275
|
{
|
|
275
276
|
readonly requireCatchParameter: true;
|
|
276
277
|
}
|
|
277
278
|
];
|
|
278
|
-
readonly radix:
|
|
279
|
-
readonly "require-await":
|
|
280
|
-
readonly "require-unicode-regexp":
|
|
281
|
-
readonly "require-yield":
|
|
282
|
-
readonly "vars-on-top":
|
|
283
|
-
readonly yoda:
|
|
284
|
-
readonly "unicode-bom":
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
readonly "stylistic/
|
|
289
|
-
readonly "stylistic/linebreak-style": import("./state.js").State.WARN;
|
|
290
|
-
readonly "stylistic/array-bracket-newline": import("./state.js").State.WARN;
|
|
291
|
-
readonly "stylistic/array-bracket-spacing": import("./state.js").State.WARN;
|
|
279
|
+
readonly radix: State.ON;
|
|
280
|
+
readonly "require-await": State.ON;
|
|
281
|
+
readonly "require-unicode-regexp": State.ON;
|
|
282
|
+
readonly "require-yield": State.ON;
|
|
283
|
+
readonly "vars-on-top": State.WARN;
|
|
284
|
+
readonly yoda: State.WARN;
|
|
285
|
+
readonly "unicode-bom": State.WARN;
|
|
286
|
+
readonly "stylistic/eol-last": State.WARN;
|
|
287
|
+
readonly "stylistic/linebreak-style": State.WARN;
|
|
288
|
+
readonly "stylistic/array-bracket-newline": State.WARN;
|
|
289
|
+
readonly "stylistic/array-bracket-spacing": State.WARN;
|
|
292
290
|
readonly "stylistic/array-element-newline": readonly [
|
|
293
|
-
|
|
291
|
+
State.WARN,
|
|
294
292
|
{
|
|
295
293
|
readonly consistent: true;
|
|
296
294
|
readonly multiline: true;
|
|
@@ -298,43 +296,43 @@ declare const _default: ({
|
|
|
298
296
|
}
|
|
299
297
|
];
|
|
300
298
|
readonly "stylistic/arrow-parens": readonly [
|
|
301
|
-
|
|
299
|
+
State.WARN,
|
|
302
300
|
"as-needed"
|
|
303
301
|
];
|
|
304
|
-
readonly "stylistic/arrow-spacing":
|
|
305
|
-
readonly "stylistic/block-spacing":
|
|
302
|
+
readonly "stylistic/arrow-spacing": State.WARN;
|
|
303
|
+
readonly "stylistic/block-spacing": State.WARN;
|
|
306
304
|
readonly "stylistic/brace-style": readonly [
|
|
307
|
-
|
|
305
|
+
State.WARN,
|
|
308
306
|
"stroustrup",
|
|
309
307
|
{
|
|
310
308
|
readonly allowSingleLine: true;
|
|
311
309
|
}
|
|
312
310
|
];
|
|
313
311
|
readonly "stylistic/comma-dangle": readonly [
|
|
314
|
-
|
|
312
|
+
State.WARN,
|
|
315
313
|
"always-multiline"
|
|
316
314
|
];
|
|
317
|
-
readonly "stylistic/comma-spacing":
|
|
318
|
-
readonly "stylistic/comma-style":
|
|
319
|
-
readonly "stylistic/computed-property-spacing":
|
|
320
|
-
readonly "stylistic/curly-newline":
|
|
315
|
+
readonly "stylistic/comma-spacing": State.WARN;
|
|
316
|
+
readonly "stylistic/comma-style": State.WARN;
|
|
317
|
+
readonly "stylistic/computed-property-spacing": State.WARN;
|
|
318
|
+
readonly "stylistic/curly-newline": State.WARN;
|
|
321
319
|
readonly "stylistic/dot-location": readonly [
|
|
322
|
-
|
|
320
|
+
State.WARN,
|
|
323
321
|
"property"
|
|
324
322
|
];
|
|
325
323
|
readonly "stylistic/function-call-argument-newline": readonly [
|
|
326
|
-
|
|
324
|
+
State.WARN,
|
|
327
325
|
"consistent"
|
|
328
326
|
];
|
|
329
|
-
readonly "stylistic/function-call-spacing":
|
|
327
|
+
readonly "stylistic/function-call-spacing": State.WARN;
|
|
330
328
|
readonly "stylistic/function-paren-newline": readonly [
|
|
331
|
-
|
|
329
|
+
State.WARN,
|
|
332
330
|
"multiline-arguments"
|
|
333
331
|
];
|
|
334
|
-
readonly "stylistic/generator-star-spacing":
|
|
335
|
-
readonly "stylistic/implicit-arrow-linebreak":
|
|
332
|
+
readonly "stylistic/generator-star-spacing": State.WARN;
|
|
333
|
+
readonly "stylistic/implicit-arrow-linebreak": State.WARN;
|
|
336
334
|
readonly "stylistic/indent": readonly [
|
|
337
|
-
|
|
335
|
+
State.WARN,
|
|
338
336
|
2,
|
|
339
337
|
{
|
|
340
338
|
readonly assignmentOperator: 0;
|
|
@@ -348,13 +346,13 @@ declare const _default: ({
|
|
|
348
346
|
}
|
|
349
347
|
];
|
|
350
348
|
readonly "stylistic/indent-binary-ops": readonly [
|
|
351
|
-
|
|
349
|
+
State.WARN,
|
|
352
350
|
2
|
|
353
351
|
];
|
|
354
|
-
readonly "stylistic/key-spacing":
|
|
355
|
-
readonly "stylistic/keyword-spacing":
|
|
352
|
+
readonly "stylistic/key-spacing": State.WARN;
|
|
353
|
+
readonly "stylistic/keyword-spacing": State.WARN;
|
|
356
354
|
readonly "stylistic/lines-between-class-members": readonly [
|
|
357
|
-
|
|
355
|
+
State.WARN,
|
|
358
356
|
{
|
|
359
357
|
readonly enforce: readonly [
|
|
360
358
|
{
|
|
@@ -376,7 +374,7 @@ declare const _default: ({
|
|
|
376
374
|
}
|
|
377
375
|
];
|
|
378
376
|
readonly "stylistic/max-len": readonly [
|
|
379
|
-
|
|
377
|
+
State.WARN,
|
|
380
378
|
{
|
|
381
379
|
readonly code: 300;
|
|
382
380
|
readonly ignoreComments: true;
|
|
@@ -387,24 +385,24 @@ declare const _default: ({
|
|
|
387
385
|
readonly ignoreRegExpLiterals: true;
|
|
388
386
|
}
|
|
389
387
|
];
|
|
390
|
-
readonly "stylistic/max-statements-per-line":
|
|
391
|
-
readonly "stylistic/member-delimiter-style":
|
|
388
|
+
readonly "stylistic/max-statements-per-line": State.WARN;
|
|
389
|
+
readonly "stylistic/member-delimiter-style": State.WARN;
|
|
392
390
|
readonly "stylistic/multiline-ternary": readonly [
|
|
393
|
-
|
|
391
|
+
State.WARN,
|
|
394
392
|
"always-multiline"
|
|
395
393
|
];
|
|
396
394
|
readonly "stylistic/newline-per-chained-call": readonly [
|
|
397
|
-
|
|
395
|
+
State.WARN,
|
|
398
396
|
{
|
|
399
397
|
readonly ignoreChainWithDepth: 1;
|
|
400
398
|
}
|
|
401
399
|
];
|
|
402
|
-
readonly "stylistic/no-extra-parens":
|
|
403
|
-
readonly "stylistic/no-extra-semi":
|
|
404
|
-
readonly "stylistic/no-floating-decimal":
|
|
405
|
-
readonly "stylistic/no-mixed-spaces-and-tabs":
|
|
400
|
+
readonly "stylistic/no-extra-parens": State.WARN;
|
|
401
|
+
readonly "stylistic/no-extra-semi": State.WARN;
|
|
402
|
+
readonly "stylistic/no-floating-decimal": State.WARN;
|
|
403
|
+
readonly "stylistic/no-mixed-spaces-and-tabs": State.WARN;
|
|
406
404
|
readonly "stylistic/no-multi-spaces": readonly [
|
|
407
|
-
|
|
405
|
+
State.WARN,
|
|
408
406
|
{
|
|
409
407
|
readonly exceptions: {
|
|
410
408
|
readonly Property: false;
|
|
@@ -413,22 +411,22 @@ declare const _default: ({
|
|
|
413
411
|
}
|
|
414
412
|
];
|
|
415
413
|
readonly "stylistic/no-multiple-empty-lines": readonly [
|
|
416
|
-
|
|
414
|
+
State.WARN,
|
|
417
415
|
{
|
|
418
416
|
readonly max: 1;
|
|
419
417
|
readonly maxBOF: 0;
|
|
420
418
|
readonly maxEOF: 0;
|
|
421
419
|
}
|
|
422
420
|
];
|
|
423
|
-
readonly "stylistic/no-tabs":
|
|
424
|
-
readonly "stylistic/no-trailing-spaces":
|
|
425
|
-
readonly "stylistic/no-whitespace-before-property":
|
|
421
|
+
readonly "stylistic/no-tabs": State.WARN;
|
|
422
|
+
readonly "stylistic/no-trailing-spaces": State.WARN;
|
|
423
|
+
readonly "stylistic/no-whitespace-before-property": State.WARN;
|
|
426
424
|
readonly "stylistic/nonblock-statement-body-position": readonly [
|
|
427
|
-
|
|
425
|
+
State.WARN,
|
|
428
426
|
"below"
|
|
429
427
|
];
|
|
430
428
|
readonly "stylistic/object-curly-newline": readonly [
|
|
431
|
-
|
|
429
|
+
State.WARN,
|
|
432
430
|
{
|
|
433
431
|
readonly consistent: true;
|
|
434
432
|
readonly multiline: true;
|
|
@@ -436,59 +434,59 @@ declare const _default: ({
|
|
|
436
434
|
}
|
|
437
435
|
];
|
|
438
436
|
readonly "stylistic/object-curly-spacing": readonly [
|
|
439
|
-
|
|
437
|
+
State.WARN,
|
|
440
438
|
"always",
|
|
441
439
|
{
|
|
442
440
|
readonly emptyObjects: "never";
|
|
443
441
|
}
|
|
444
442
|
];
|
|
445
|
-
readonly "stylistic/object-property-newline":
|
|
443
|
+
readonly "stylistic/object-property-newline": State.WARN;
|
|
446
444
|
readonly "stylistic/one-var-declaration-per-line": readonly [
|
|
447
|
-
|
|
445
|
+
State.WARN,
|
|
448
446
|
"always"
|
|
449
447
|
];
|
|
450
448
|
readonly "stylistic/operator-linebreak": readonly [
|
|
451
|
-
|
|
449
|
+
State.WARN,
|
|
452
450
|
"before"
|
|
453
451
|
];
|
|
454
452
|
readonly "stylistic/padded-blocks": readonly [
|
|
455
|
-
|
|
453
|
+
State.WARN,
|
|
456
454
|
"never",
|
|
457
455
|
{
|
|
458
456
|
readonly allowSingleLineBlocks: true;
|
|
459
457
|
}
|
|
460
458
|
];
|
|
461
459
|
readonly "stylistic/quote-props": readonly [
|
|
462
|
-
|
|
460
|
+
State.WARN,
|
|
463
461
|
"as-needed",
|
|
464
462
|
{
|
|
465
463
|
readonly keywords: true;
|
|
466
464
|
}
|
|
467
465
|
];
|
|
468
466
|
readonly "stylistic/quotes": readonly [
|
|
469
|
-
|
|
467
|
+
State.WARN,
|
|
470
468
|
"double",
|
|
471
469
|
{
|
|
472
470
|
readonly avoidEscape: true;
|
|
473
471
|
readonly allowTemplateLiterals: "always";
|
|
474
472
|
}
|
|
475
473
|
];
|
|
476
|
-
readonly "stylistic/rest-spread-spacing":
|
|
477
|
-
readonly "stylistic/semi":
|
|
478
|
-
readonly "stylistic/semi-spacing":
|
|
479
|
-
readonly "stylistic/semi-style":
|
|
480
|
-
readonly "stylistic/space-before-blocks":
|
|
474
|
+
readonly "stylistic/rest-spread-spacing": State.WARN;
|
|
475
|
+
readonly "stylistic/semi": State.WARN;
|
|
476
|
+
readonly "stylistic/semi-spacing": State.WARN;
|
|
477
|
+
readonly "stylistic/semi-style": State.WARN;
|
|
478
|
+
readonly "stylistic/space-before-blocks": State.WARN;
|
|
481
479
|
readonly "stylistic/space-before-function-paren": readonly [
|
|
482
|
-
|
|
480
|
+
State.WARN,
|
|
483
481
|
{
|
|
484
482
|
readonly named: "never";
|
|
485
483
|
}
|
|
486
484
|
];
|
|
487
|
-
readonly "stylistic/space-in-parens":
|
|
488
|
-
readonly "stylistic/space-infix-ops":
|
|
489
|
-
readonly "stylistic/space-unary-ops":
|
|
485
|
+
readonly "stylistic/space-in-parens": State.WARN;
|
|
486
|
+
readonly "stylistic/space-infix-ops": State.WARN;
|
|
487
|
+
readonly "stylistic/space-unary-ops": State.WARN;
|
|
490
488
|
readonly "stylistic/spaced-comment": readonly [
|
|
491
|
-
|
|
489
|
+
State.WARN,
|
|
492
490
|
"always",
|
|
493
491
|
{
|
|
494
492
|
readonly line: {
|
|
@@ -522,11 +520,11 @@ declare const _default: ({
|
|
|
522
520
|
};
|
|
523
521
|
}
|
|
524
522
|
];
|
|
525
|
-
readonly "stylistic/switch-colon-spacing":
|
|
526
|
-
readonly "stylistic/template-curly-spacing":
|
|
527
|
-
readonly "stylistic/template-tag-spacing":
|
|
523
|
+
readonly "stylistic/switch-colon-spacing": State.WARN;
|
|
524
|
+
readonly "stylistic/template-curly-spacing": State.WARN;
|
|
525
|
+
readonly "stylistic/template-tag-spacing": State.WARN;
|
|
528
526
|
readonly "stylistic/type-annotation-spacing": readonly [
|
|
529
|
-
|
|
527
|
+
State.WARN,
|
|
530
528
|
{
|
|
531
529
|
readonly before: true;
|
|
532
530
|
readonly after: true;
|
|
@@ -538,18 +536,18 @@ declare const _default: ({
|
|
|
538
536
|
};
|
|
539
537
|
}
|
|
540
538
|
];
|
|
541
|
-
readonly "stylistic/type-generic-spacing":
|
|
542
|
-
readonly "stylistic/type-named-tuple-spacing":
|
|
539
|
+
readonly "stylistic/type-generic-spacing": State.WARN;
|
|
540
|
+
readonly "stylistic/type-named-tuple-spacing": State.WARN;
|
|
543
541
|
readonly "stylistic/wrap-iife": readonly [
|
|
544
|
-
|
|
542
|
+
State.WARN,
|
|
545
543
|
"inside",
|
|
546
544
|
{
|
|
547
545
|
readonly functionPrototypeMethods: true;
|
|
548
546
|
}
|
|
549
547
|
];
|
|
550
|
-
readonly "stylistic/wrap-regex":
|
|
551
|
-
readonly "stylistic/yield-star-spacing":
|
|
548
|
+
readonly "stylistic/wrap-regex": State.WARN;
|
|
549
|
+
readonly "stylistic/yield-star-spacing": State.WARN;
|
|
552
550
|
};
|
|
553
|
-
}
|
|
551
|
+
};
|
|
554
552
|
export default _default;
|
|
555
553
|
//# sourceMappingURL=js.d.ts.map
|