@eslinted/defaults 12.18.0 → 12.19.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/index.d.ts +562 -563
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.spec.d.ts +2 -0
- package/dist/index.spec.d.ts.map +1 -0
- package/dist/index.spec.js +154 -0
- package/dist/index.spec.js.map +1 -0
- package/dist/rules/_strings/option.d.ts +1 -1
- package/dist/rules/_strings/option.d.ts.map +1 -1
- package/dist/rules/_strings/option.js +1 -1
- package/dist/rules/_strings/option.js.map +1 -1
- package/dist/rules/_strings/state.d.ts +1 -1
- package/dist/rules/_strings/state.d.ts.map +1 -1
- package/dist/rules/_strings/state.js +1 -1
- package/dist/rules/_strings/state.js.map +1 -1
- package/dist/rules/_strings/state.spec.js +23 -18
- package/dist/rules/_strings/state.spec.js.map +1 -1
- package/dist/rules/css/enable.d.ts +11 -11
- package/dist/rules/css/index.d.ts +11 -11
- package/dist/rules/enable.d.ts +148 -148
- package/dist/rules/html/index.d.ts +41 -41
- package/dist/rules/html/plugin/index.d.ts +41 -41
- package/dist/rules/index.d.ts +550 -551
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/json/enable.d.ts +4 -4
- package/dist/rules/json/index.d.ts +42 -42
- package/dist/rules/json/plugin/extension.d.ts +19 -19
- package/dist/rules/json/plugin/index.d.ts +19 -19
- package/dist/rules/jsonc/index.d.ts +1 -1
- package/dist/rules/jsonc/plugin/index.d.ts +1 -1
- package/dist/rules/jsoncc/index.d.ts +1 -1
- package/dist/rules/jsoncc/plugin/index.d.ts +1 -1
- package/dist/rules/mocha/chai/expect.d.ts +3 -3
- package/dist/rules/mocha/chai/index.d.ts +1 -1
- package/dist/rules/mocha/disable.d.ts +2 -2
- package/dist/rules/mocha/enable.d.ts +16 -16
- package/dist/rules/mocha/index.d.ts +22 -22
- package/dist/rules/stylistic.d.ts +67 -67
- package/dist/rules/svelte/disable.d.ts +6 -6
- package/dist/rules/svelte/enable.d.ts +67 -67
- package/dist/rules/svelte/extension/disable.d.ts +3 -3
- package/dist/rules/svelte/extension/index.d.ts +2 -2
- package/dist/rules/svelte/index.d.ts +78 -78
- package/dist/rules/ts/disable.d.ts +19 -19
- package/dist/rules/ts/enable.d.ts +86 -86
- package/dist/rules/ts/extension/disable.d.ts +8 -8
- package/dist/rules/ts/extension/index.d.ts +7 -7
- package/dist/rules/ts/index.d.ts +120 -120
- package/dist/rules/yml/enable.d.ts +11 -12
- package/dist/rules/yml/enable.d.ts.map +1 -1
- package/dist/rules/yml/enable.js +0 -1
- package/dist/rules/yml/enable.js.map +1 -1
- package/dist/rules/yml/extension.d.ts +8 -8
- package/dist/rules/yml/index.d.ts +19 -20
- package/dist/rules/yml/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.spec.ts +228 -0
- package/src/index.ts +1 -1
- package/src/rules/_strings/option.ts +1 -2
- package/src/rules/_strings/state.spec.ts +27 -22
- package/src/rules/_strings/state.ts +3 -3
- package/src/rules/yml/enable.ts +1 -1
package/dist/rules/enable.d.ts
CHANGED
|
@@ -1,178 +1,178 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
id: "enable";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "array-callback-return": readonly [
|
|
4
|
+
readonly "array-callback-return": readonly [2, {
|
|
5
5
|
readonly checkForEach: true;
|
|
6
6
|
readonly allowVoid: true;
|
|
7
7
|
}];
|
|
8
|
-
readonly "constructor-super":
|
|
9
|
-
readonly "for-direction":
|
|
10
|
-
readonly "getter-return":
|
|
11
|
-
readonly "no-async-promise-executor":
|
|
12
|
-
readonly "no-await-in-loop":
|
|
13
|
-
readonly "no-class-assign":
|
|
14
|
-
readonly "no-compare-neg-zero":
|
|
15
|
-
readonly "no-cond-assign":
|
|
16
|
-
readonly "no-const-assign":
|
|
17
|
-
readonly "no-constant-binary-expression":
|
|
18
|
-
readonly "no-constant-condition": readonly [
|
|
8
|
+
readonly "constructor-super": 2;
|
|
9
|
+
readonly "for-direction": 2;
|
|
10
|
+
readonly "getter-return": 2;
|
|
11
|
+
readonly "no-async-promise-executor": 2;
|
|
12
|
+
readonly "no-await-in-loop": 2;
|
|
13
|
+
readonly "no-class-assign": 2;
|
|
14
|
+
readonly "no-compare-neg-zero": 2;
|
|
15
|
+
readonly "no-cond-assign": 2;
|
|
16
|
+
readonly "no-const-assign": 2;
|
|
17
|
+
readonly "no-constant-binary-expression": 2;
|
|
18
|
+
readonly "no-constant-condition": readonly [2, {
|
|
19
19
|
readonly checkLoops: "all";
|
|
20
20
|
}];
|
|
21
|
-
readonly "no-constructor-return":
|
|
22
|
-
readonly "no-control-regex":
|
|
23
|
-
readonly "no-debugger":
|
|
24
|
-
readonly "no-dupe-args":
|
|
25
|
-
readonly "no-dupe-class-members":
|
|
26
|
-
readonly "no-dupe-else-if":
|
|
27
|
-
readonly "no-dupe-keys":
|
|
28
|
-
readonly "no-duplicate-case":
|
|
29
|
-
readonly "no-duplicate-imports": readonly [
|
|
21
|
+
readonly "no-constructor-return": 2;
|
|
22
|
+
readonly "no-control-regex": 2;
|
|
23
|
+
readonly "no-debugger": 2;
|
|
24
|
+
readonly "no-dupe-args": 2;
|
|
25
|
+
readonly "no-dupe-class-members": 2;
|
|
26
|
+
readonly "no-dupe-else-if": 2;
|
|
27
|
+
readonly "no-dupe-keys": 2;
|
|
28
|
+
readonly "no-duplicate-case": 2;
|
|
29
|
+
readonly "no-duplicate-imports": readonly [2, {
|
|
30
30
|
readonly includeExports: true;
|
|
31
31
|
readonly allowSeparateTypeImports: true;
|
|
32
32
|
}];
|
|
33
|
-
readonly "no-empty-character-class":
|
|
34
|
-
readonly "no-empty-pattern":
|
|
35
|
-
readonly "no-ex-assign":
|
|
36
|
-
readonly "no-fallthrough":
|
|
37
|
-
readonly "no-func-assign":
|
|
38
|
-
readonly "no-import-assign":
|
|
39
|
-
readonly "no-inner-declarations": readonly [
|
|
40
|
-
readonly "no-invalid-regexp":
|
|
41
|
-
readonly "no-irregular-whitespace":
|
|
42
|
-
readonly "no-loss-of-precision":
|
|
43
|
-
readonly "no-misleading-character-class":
|
|
44
|
-
readonly "no-new-native-nonconstructor":
|
|
45
|
-
readonly "no-obj-calls":
|
|
46
|
-
readonly "no-promise-executor-return": readonly [
|
|
33
|
+
readonly "no-empty-character-class": 2;
|
|
34
|
+
readonly "no-empty-pattern": 2;
|
|
35
|
+
readonly "no-ex-assign": 2;
|
|
36
|
+
readonly "no-fallthrough": 2;
|
|
37
|
+
readonly "no-func-assign": 2;
|
|
38
|
+
readonly "no-import-assign": 2;
|
|
39
|
+
readonly "no-inner-declarations": readonly [2, "both"];
|
|
40
|
+
readonly "no-invalid-regexp": 2;
|
|
41
|
+
readonly "no-irregular-whitespace": 2;
|
|
42
|
+
readonly "no-loss-of-precision": 2;
|
|
43
|
+
readonly "no-misleading-character-class": 2;
|
|
44
|
+
readonly "no-new-native-nonconstructor": 2;
|
|
45
|
+
readonly "no-obj-calls": 2;
|
|
46
|
+
readonly "no-promise-executor-return": readonly [2, {
|
|
47
47
|
readonly allowVoid: true;
|
|
48
48
|
}];
|
|
49
|
-
readonly "no-prototype-builtins":
|
|
50
|
-
readonly "no-self-assign":
|
|
51
|
-
readonly "no-self-compare":
|
|
52
|
-
readonly "no-setter-return":
|
|
53
|
-
readonly "no-sparse-arrays":
|
|
54
|
-
readonly "no-template-curly-in-string":
|
|
55
|
-
readonly "no-this-before-super":
|
|
56
|
-
readonly "no-unassigned-vars":
|
|
57
|
-
readonly "no-undef":
|
|
58
|
-
readonly "no-unexpected-multiline":
|
|
59
|
-
readonly "no-unmodified-loop-condition":
|
|
60
|
-
readonly "no-unreachable":
|
|
61
|
-
readonly "no-unreachable-loop":
|
|
62
|
-
readonly "no-unsafe-finally":
|
|
63
|
-
readonly "no-unsafe-negation": readonly [
|
|
49
|
+
readonly "no-prototype-builtins": 2;
|
|
50
|
+
readonly "no-self-assign": 2;
|
|
51
|
+
readonly "no-self-compare": 2;
|
|
52
|
+
readonly "no-setter-return": 2;
|
|
53
|
+
readonly "no-sparse-arrays": 2;
|
|
54
|
+
readonly "no-template-curly-in-string": 2;
|
|
55
|
+
readonly "no-this-before-super": 2;
|
|
56
|
+
readonly "no-unassigned-vars": 2;
|
|
57
|
+
readonly "no-undef": 2;
|
|
58
|
+
readonly "no-unexpected-multiline": 2;
|
|
59
|
+
readonly "no-unmodified-loop-condition": 2;
|
|
60
|
+
readonly "no-unreachable": 2;
|
|
61
|
+
readonly "no-unreachable-loop": 2;
|
|
62
|
+
readonly "no-unsafe-finally": 2;
|
|
63
|
+
readonly "no-unsafe-negation": readonly [2, {
|
|
64
64
|
readonly enforceForOrderingRelations: true;
|
|
65
65
|
}];
|
|
66
|
-
readonly "no-unsafe-optional-chaining": readonly [
|
|
66
|
+
readonly "no-unsafe-optional-chaining": readonly [2, {
|
|
67
67
|
readonly disallowArithmeticOperators: true;
|
|
68
68
|
}];
|
|
69
|
-
readonly "no-unused-private-class-members":
|
|
70
|
-
readonly "no-unused-vars":
|
|
71
|
-
readonly "no-use-before-define": readonly [
|
|
69
|
+
readonly "no-unused-private-class-members": 2;
|
|
70
|
+
readonly "no-unused-vars": 2;
|
|
71
|
+
readonly "no-use-before-define": readonly [2, {
|
|
72
72
|
readonly typedefs: false;
|
|
73
73
|
}];
|
|
74
|
-
readonly "no-useless-assignment":
|
|
75
|
-
readonly "no-useless-backreference":
|
|
76
|
-
readonly "require-atomic-updates":
|
|
77
|
-
readonly "use-isnan": readonly [
|
|
74
|
+
readonly "no-useless-assignment": 2;
|
|
75
|
+
readonly "no-useless-backreference": 2;
|
|
76
|
+
readonly "require-atomic-updates": 2;
|
|
77
|
+
readonly "use-isnan": readonly [2, {
|
|
78
78
|
readonly enforceForIndexOf: true;
|
|
79
79
|
}];
|
|
80
|
-
readonly "valid-typeof": readonly [
|
|
80
|
+
readonly "valid-typeof": readonly [2, {
|
|
81
81
|
readonly requireStringLiterals: true;
|
|
82
82
|
}];
|
|
83
|
-
readonly "accessor-pairs": readonly [
|
|
83
|
+
readonly "accessor-pairs": readonly [2, {
|
|
84
84
|
readonly enforceForTSTypes: true;
|
|
85
85
|
}];
|
|
86
|
-
readonly "arrow-body-style":
|
|
87
|
-
readonly "block-scoped-var":
|
|
88
|
-
readonly "consistent-return":
|
|
89
|
-
readonly "consistent-this":
|
|
90
|
-
readonly curly: readonly [
|
|
91
|
-
readonly "default-case-last":
|
|
92
|
-
readonly "default-param-last":
|
|
93
|
-
readonly "dot-notation":
|
|
94
|
-
readonly eqeqeq:
|
|
95
|
-
readonly "init-declarations":
|
|
96
|
-
readonly "logical-assignment-operators": readonly [
|
|
86
|
+
readonly "arrow-body-style": 2;
|
|
87
|
+
readonly "block-scoped-var": 2;
|
|
88
|
+
readonly "consistent-return": 2;
|
|
89
|
+
readonly "consistent-this": 2;
|
|
90
|
+
readonly curly: readonly [2, "multi"];
|
|
91
|
+
readonly "default-case-last": 2;
|
|
92
|
+
readonly "default-param-last": 2;
|
|
93
|
+
readonly "dot-notation": 2;
|
|
94
|
+
readonly eqeqeq: 2;
|
|
95
|
+
readonly "init-declarations": 2;
|
|
96
|
+
readonly "logical-assignment-operators": readonly [2, "always", {
|
|
97
97
|
readonly enforceForIfStatements: true;
|
|
98
98
|
}];
|
|
99
|
-
readonly "no-alert":
|
|
100
|
-
readonly "no-array-constructor":
|
|
101
|
-
readonly "no-bitwise":
|
|
102
|
-
readonly "no-caller":
|
|
103
|
-
readonly "no-case-declarations":
|
|
104
|
-
readonly "no-continue":
|
|
105
|
-
readonly "no-delete-var":
|
|
106
|
-
readonly "no-div-regex":
|
|
107
|
-
readonly "no-empty":
|
|
108
|
-
readonly "no-empty-function": readonly [
|
|
99
|
+
readonly "no-alert": 2;
|
|
100
|
+
readonly "no-array-constructor": 2;
|
|
101
|
+
readonly "no-bitwise": 2;
|
|
102
|
+
readonly "no-caller": 2;
|
|
103
|
+
readonly "no-case-declarations": 2;
|
|
104
|
+
readonly "no-continue": 2;
|
|
105
|
+
readonly "no-delete-var": 2;
|
|
106
|
+
readonly "no-div-regex": 2;
|
|
107
|
+
readonly "no-empty": 2;
|
|
108
|
+
readonly "no-empty-function": readonly [2, {
|
|
109
109
|
readonly allow: readonly ["constructors", "privateConstructors", "protectedConstructors", "decoratedFunctions", "overrideMethods"];
|
|
110
110
|
}];
|
|
111
|
-
readonly "no-empty-static-block":
|
|
112
|
-
readonly "no-eq-null":
|
|
113
|
-
readonly "no-eval":
|
|
114
|
-
readonly "no-extend-native":
|
|
115
|
-
readonly "no-extra-bind":
|
|
116
|
-
readonly "no-extra-boolean-cast": readonly [
|
|
111
|
+
readonly "no-empty-static-block": 2;
|
|
112
|
+
readonly "no-eq-null": 2;
|
|
113
|
+
readonly "no-eval": 2;
|
|
114
|
+
readonly "no-extend-native": 2;
|
|
115
|
+
readonly "no-extra-bind": 2;
|
|
116
|
+
readonly "no-extra-boolean-cast": readonly [2, {
|
|
117
117
|
readonly enforceForLogicalOperands: true;
|
|
118
118
|
}];
|
|
119
|
-
readonly "no-extra-label":
|
|
120
|
-
readonly "no-global-assign":
|
|
121
|
-
readonly "no-implicit-coercion": readonly [
|
|
119
|
+
readonly "no-extra-label": 2;
|
|
120
|
+
readonly "no-global-assign": 2;
|
|
121
|
+
readonly "no-implicit-coercion": readonly [2, {
|
|
122
122
|
readonly disallowTemplateShorthand: true;
|
|
123
123
|
}];
|
|
124
|
-
readonly "no-implied-eval":
|
|
125
|
-
readonly "no-invalid-this": readonly [
|
|
124
|
+
readonly "no-implied-eval": 2;
|
|
125
|
+
readonly "no-invalid-this": readonly [2, {
|
|
126
126
|
readonly capIsConstructor: false;
|
|
127
127
|
}];
|
|
128
|
-
readonly "no-iterator":
|
|
129
|
-
readonly "no-label-var":
|
|
130
|
-
readonly "no-lone-blocks":
|
|
131
|
-
readonly "no-loop-func":
|
|
132
|
-
readonly "no-multi-assign":
|
|
133
|
-
readonly "no-multi-str":
|
|
134
|
-
readonly "no-new":
|
|
135
|
-
readonly "no-new-func":
|
|
136
|
-
readonly "no-new-wrappers":
|
|
137
|
-
readonly "no-nonoctal-decimal-escape":
|
|
138
|
-
readonly "no-object-constructor":
|
|
139
|
-
readonly "no-octal":
|
|
140
|
-
readonly "no-octal-escape":
|
|
141
|
-
readonly "no-param-reassign": readonly [
|
|
128
|
+
readonly "no-iterator": 2;
|
|
129
|
+
readonly "no-label-var": 2;
|
|
130
|
+
readonly "no-lone-blocks": 2;
|
|
131
|
+
readonly "no-loop-func": 2;
|
|
132
|
+
readonly "no-multi-assign": 2;
|
|
133
|
+
readonly "no-multi-str": 2;
|
|
134
|
+
readonly "no-new": 2;
|
|
135
|
+
readonly "no-new-func": 2;
|
|
136
|
+
readonly "no-new-wrappers": 2;
|
|
137
|
+
readonly "no-nonoctal-decimal-escape": 2;
|
|
138
|
+
readonly "no-object-constructor": 2;
|
|
139
|
+
readonly "no-octal": 2;
|
|
140
|
+
readonly "no-octal-escape": 2;
|
|
141
|
+
readonly "no-param-reassign": readonly [2, {
|
|
142
142
|
readonly props: true;
|
|
143
143
|
}];
|
|
144
|
-
readonly "no-plusplus": readonly [
|
|
144
|
+
readonly "no-plusplus": readonly [2, {
|
|
145
145
|
readonly allowForLoopAfterthoughts: true;
|
|
146
146
|
}];
|
|
147
|
-
readonly "no-proto":
|
|
148
|
-
readonly "no-script-url":
|
|
149
|
-
readonly "no-sequences":
|
|
150
|
-
readonly "no-shadow-restricted-names":
|
|
151
|
-
readonly "no-throw-literal":
|
|
152
|
-
readonly "no-undef-init":
|
|
153
|
-
readonly "no-unneeded-ternary":
|
|
154
|
-
readonly "no-unused-expressions": readonly [
|
|
147
|
+
readonly "no-proto": 2;
|
|
148
|
+
readonly "no-script-url": 2;
|
|
149
|
+
readonly "no-sequences": 2;
|
|
150
|
+
readonly "no-shadow-restricted-names": 2;
|
|
151
|
+
readonly "no-throw-literal": 2;
|
|
152
|
+
readonly "no-undef-init": 2;
|
|
153
|
+
readonly "no-unneeded-ternary": 2;
|
|
154
|
+
readonly "no-unused-expressions": readonly [2, {
|
|
155
155
|
readonly allowShortCircuit: true;
|
|
156
156
|
readonly allowTernary: true;
|
|
157
157
|
}];
|
|
158
|
-
readonly "no-unused-labels":
|
|
159
|
-
readonly "no-useless-call":
|
|
160
|
-
readonly "no-useless-catch":
|
|
161
|
-
readonly "no-useless-computed-key":
|
|
162
|
-
readonly "no-useless-concat":
|
|
163
|
-
readonly "no-useless-constructor":
|
|
164
|
-
readonly "no-useless-escape": readonly [
|
|
158
|
+
readonly "no-unused-labels": 2;
|
|
159
|
+
readonly "no-useless-call": 2;
|
|
160
|
+
readonly "no-useless-catch": 2;
|
|
161
|
+
readonly "no-useless-computed-key": 2;
|
|
162
|
+
readonly "no-useless-concat": 2;
|
|
163
|
+
readonly "no-useless-constructor": 2;
|
|
164
|
+
readonly "no-useless-escape": readonly [2, {
|
|
165
165
|
readonly allowRegexCharacters: readonly ["-"];
|
|
166
166
|
}];
|
|
167
|
-
readonly "no-useless-rename":
|
|
168
|
-
readonly "no-useless-return":
|
|
169
|
-
readonly "no-var":
|
|
170
|
-
readonly "no-void": readonly [
|
|
167
|
+
readonly "no-useless-rename": 2;
|
|
168
|
+
readonly "no-useless-return": 2;
|
|
169
|
+
readonly "no-var": 2;
|
|
170
|
+
readonly "no-void": readonly [2, {
|
|
171
171
|
readonly allowAsStatement: true;
|
|
172
172
|
}];
|
|
173
|
-
readonly "no-with":
|
|
174
|
-
readonly "object-shorthand":
|
|
175
|
-
readonly "one-var": readonly [
|
|
173
|
+
readonly "no-with": 2;
|
|
174
|
+
readonly "object-shorthand": 2;
|
|
175
|
+
readonly "one-var": readonly [2, {
|
|
176
176
|
readonly var: "consecutive";
|
|
177
177
|
readonly let: "consecutive";
|
|
178
178
|
readonly const: "consecutive";
|
|
@@ -180,36 +180,36 @@ declare const _default: {
|
|
|
180
180
|
readonly awaitUsing: "consecutive";
|
|
181
181
|
readonly separateRequires: true;
|
|
182
182
|
}];
|
|
183
|
-
readonly "operator-assignment":
|
|
184
|
-
readonly "prefer-arrow-callback":
|
|
185
|
-
readonly "prefer-const": readonly [
|
|
183
|
+
readonly "operator-assignment": 2;
|
|
184
|
+
readonly "prefer-arrow-callback": 2;
|
|
185
|
+
readonly "prefer-const": readonly [2, {
|
|
186
186
|
readonly destructuring: "all";
|
|
187
187
|
}];
|
|
188
|
-
readonly "prefer-destructuring": readonly [
|
|
188
|
+
readonly "prefer-destructuring": readonly [2, {
|
|
189
189
|
readonly AssignmentExpression: {
|
|
190
190
|
readonly array: false;
|
|
191
191
|
readonly object: false;
|
|
192
192
|
};
|
|
193
193
|
}];
|
|
194
|
-
readonly "prefer-exponentiation-operator":
|
|
195
|
-
readonly "prefer-numeric-literals":
|
|
196
|
-
readonly "prefer-object-has-own":
|
|
197
|
-
readonly "prefer-object-spread":
|
|
198
|
-
readonly "prefer-promise-reject-errors":
|
|
199
|
-
readonly "prefer-regex-literals": readonly [
|
|
194
|
+
readonly "prefer-exponentiation-operator": 2;
|
|
195
|
+
readonly "prefer-numeric-literals": 2;
|
|
196
|
+
readonly "prefer-object-has-own": 2;
|
|
197
|
+
readonly "prefer-object-spread": 2;
|
|
198
|
+
readonly "prefer-promise-reject-errors": 2;
|
|
199
|
+
readonly "prefer-regex-literals": readonly [2, {
|
|
200
200
|
readonly disallowRedundantWrapping: true;
|
|
201
201
|
}];
|
|
202
|
-
readonly "prefer-rest-params":
|
|
203
|
-
readonly "prefer-spread":
|
|
204
|
-
readonly "preserve-caught-error": readonly [
|
|
202
|
+
readonly "prefer-rest-params": 2;
|
|
203
|
+
readonly "prefer-spread": 2;
|
|
204
|
+
readonly "preserve-caught-error": readonly [2, {
|
|
205
205
|
readonly requireCatchParameter: true;
|
|
206
206
|
}];
|
|
207
|
-
readonly radix: readonly [
|
|
208
|
-
readonly "require-await":
|
|
209
|
-
readonly "require-unicode-regexp":
|
|
210
|
-
readonly "require-yield":
|
|
211
|
-
readonly "vars-on-top":
|
|
212
|
-
readonly yoda:
|
|
207
|
+
readonly radix: readonly [2, "as-needed"];
|
|
208
|
+
readonly "require-await": 2;
|
|
209
|
+
readonly "require-unicode-regexp": 2;
|
|
210
|
+
readonly "require-yield": 2;
|
|
211
|
+
readonly "vars-on-top": 2;
|
|
212
|
+
readonly yoda: 2;
|
|
213
213
|
};
|
|
214
214
|
};
|
|
215
215
|
export default _default;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
id: "enable/plugin";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "@html-eslint/no-duplicate-attrs":
|
|
5
|
-
readonly "@html-eslint/no-duplicate-class":
|
|
6
|
-
readonly "@html-eslint/no-duplicate-id":
|
|
7
|
-
readonly "@html-eslint/no-duplicate-in-head":
|
|
8
|
-
readonly "@html-eslint/no-ineffective-attrs":
|
|
9
|
-
readonly "@html-eslint/no-invalid-entity":
|
|
10
|
-
readonly "@html-eslint/no-nested-interactive":
|
|
11
|
-
readonly "@html-eslint/no-obsolete-tags":
|
|
12
|
-
readonly "@html-eslint/no-target-blank":
|
|
13
|
-
readonly "@html-eslint/require-button-type":
|
|
14
|
-
readonly "@html-eslint/require-closing-tags":
|
|
15
|
-
readonly "@html-eslint/require-doctype":
|
|
16
|
-
readonly "@html-eslint/require-li-container":
|
|
17
|
-
readonly "@html-eslint/require-meta-charset":
|
|
18
|
-
readonly "@html-eslint/use-baseline":
|
|
19
|
-
readonly "@html-eslint/no-multiple-h1":
|
|
20
|
-
readonly "@html-eslint/require-lang":
|
|
21
|
-
readonly "@html-eslint/no-abstract-roles":
|
|
22
|
-
readonly "@html-eslint/no-accesskey-attrs":
|
|
23
|
-
readonly "@html-eslint/no-aria-hidden-body":
|
|
24
|
-
readonly "@html-eslint/no-aria-hidden-on-focusable":
|
|
25
|
-
readonly "@html-eslint/no-empty-headings":
|
|
26
|
-
readonly "@html-eslint/no-heading-inside-button":
|
|
27
|
-
readonly "@html-eslint/no-invalid-role":
|
|
28
|
-
readonly "@html-eslint/no-non-scalable-viewport":
|
|
29
|
-
readonly "@html-eslint/no-positive-tabindex":
|
|
30
|
-
readonly "@html-eslint/no-skip-heading-levels":
|
|
31
|
-
readonly "@html-eslint/require-form-method":
|
|
32
|
-
readonly "@html-eslint/require-frame-title":
|
|
33
|
-
readonly "@html-eslint/require-img-alt":
|
|
34
|
-
readonly "@html-eslint/require-input-label":
|
|
35
|
-
readonly "@html-eslint/require-meta-viewport":
|
|
36
|
-
readonly "@html-eslint/attrs-newline": readonly [
|
|
4
|
+
readonly "@html-eslint/no-duplicate-attrs": 2;
|
|
5
|
+
readonly "@html-eslint/no-duplicate-class": 2;
|
|
6
|
+
readonly "@html-eslint/no-duplicate-id": 2;
|
|
7
|
+
readonly "@html-eslint/no-duplicate-in-head": 2;
|
|
8
|
+
readonly "@html-eslint/no-ineffective-attrs": 2;
|
|
9
|
+
readonly "@html-eslint/no-invalid-entity": 2;
|
|
10
|
+
readonly "@html-eslint/no-nested-interactive": 2;
|
|
11
|
+
readonly "@html-eslint/no-obsolete-tags": 2;
|
|
12
|
+
readonly "@html-eslint/no-target-blank": 2;
|
|
13
|
+
readonly "@html-eslint/require-button-type": 2;
|
|
14
|
+
readonly "@html-eslint/require-closing-tags": 2;
|
|
15
|
+
readonly "@html-eslint/require-doctype": 2;
|
|
16
|
+
readonly "@html-eslint/require-li-container": 2;
|
|
17
|
+
readonly "@html-eslint/require-meta-charset": 2;
|
|
18
|
+
readonly "@html-eslint/use-baseline": 2;
|
|
19
|
+
readonly "@html-eslint/no-multiple-h1": 2;
|
|
20
|
+
readonly "@html-eslint/require-lang": 2;
|
|
21
|
+
readonly "@html-eslint/no-abstract-roles": 2;
|
|
22
|
+
readonly "@html-eslint/no-accesskey-attrs": 2;
|
|
23
|
+
readonly "@html-eslint/no-aria-hidden-body": 2;
|
|
24
|
+
readonly "@html-eslint/no-aria-hidden-on-focusable": 2;
|
|
25
|
+
readonly "@html-eslint/no-empty-headings": 2;
|
|
26
|
+
readonly "@html-eslint/no-heading-inside-button": 2;
|
|
27
|
+
readonly "@html-eslint/no-invalid-role": 2;
|
|
28
|
+
readonly "@html-eslint/no-non-scalable-viewport": 2;
|
|
29
|
+
readonly "@html-eslint/no-positive-tabindex": 2;
|
|
30
|
+
readonly "@html-eslint/no-skip-heading-levels": 2;
|
|
31
|
+
readonly "@html-eslint/require-form-method": 2;
|
|
32
|
+
readonly "@html-eslint/require-frame-title": 2;
|
|
33
|
+
readonly "@html-eslint/require-img-alt": 2;
|
|
34
|
+
readonly "@html-eslint/require-input-label": 2;
|
|
35
|
+
readonly "@html-eslint/require-meta-viewport": 2;
|
|
36
|
+
readonly "@html-eslint/attrs-newline": readonly [2, {
|
|
37
37
|
readonly ifAttrsMoreThan: 0;
|
|
38
38
|
}];
|
|
39
|
-
readonly "@html-eslint/element-newline": readonly [
|
|
39
|
+
readonly "@html-eslint/element-newline": readonly [2, {
|
|
40
40
|
readonly skip: readonly ["head"];
|
|
41
41
|
readonly inline: readonly ["$inline"];
|
|
42
42
|
}];
|
|
43
|
-
readonly "@html-eslint/indent": readonly [
|
|
44
|
-
readonly "@html-eslint/lowercase":
|
|
45
|
-
readonly "@html-eslint/no-extra-spacing-attrs": readonly [
|
|
43
|
+
readonly "@html-eslint/indent": readonly [2, 2];
|
|
44
|
+
readonly "@html-eslint/lowercase": 2;
|
|
45
|
+
readonly "@html-eslint/no-extra-spacing-attrs": readonly [2, {
|
|
46
46
|
readonly disallowMissing: true;
|
|
47
47
|
readonly disallowTabs: true;
|
|
48
48
|
readonly disallowInAssignment: true;
|
|
49
49
|
}];
|
|
50
|
-
readonly "@html-eslint/no-extra-spacing-text":
|
|
51
|
-
readonly "@html-eslint/no-multiple-empty-lines": readonly [
|
|
50
|
+
readonly "@html-eslint/no-extra-spacing-text": 2;
|
|
51
|
+
readonly "@html-eslint/no-multiple-empty-lines": readonly [2, {
|
|
52
52
|
readonly max: 1;
|
|
53
53
|
}];
|
|
54
|
-
readonly "@html-eslint/no-trailing-spaces":
|
|
55
|
-
readonly "@html-eslint/quotes":
|
|
54
|
+
readonly "@html-eslint/no-trailing-spaces": 2;
|
|
55
|
+
readonly "@html-eslint/quotes": 2;
|
|
56
56
|
};
|
|
57
57
|
}[];
|
|
58
58
|
export default _default;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
export declare const HtmlEnablePlugin: {
|
|
2
2
|
id: "enable/plugin";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "@html-eslint/no-duplicate-attrs":
|
|
5
|
-
readonly "@html-eslint/no-duplicate-class":
|
|
6
|
-
readonly "@html-eslint/no-duplicate-id":
|
|
7
|
-
readonly "@html-eslint/no-duplicate-in-head":
|
|
8
|
-
readonly "@html-eslint/no-ineffective-attrs":
|
|
9
|
-
readonly "@html-eslint/no-invalid-entity":
|
|
10
|
-
readonly "@html-eslint/no-nested-interactive":
|
|
11
|
-
readonly "@html-eslint/no-obsolete-tags":
|
|
12
|
-
readonly "@html-eslint/no-target-blank":
|
|
13
|
-
readonly "@html-eslint/require-button-type":
|
|
14
|
-
readonly "@html-eslint/require-closing-tags":
|
|
15
|
-
readonly "@html-eslint/require-doctype":
|
|
16
|
-
readonly "@html-eslint/require-li-container":
|
|
17
|
-
readonly "@html-eslint/require-meta-charset":
|
|
18
|
-
readonly "@html-eslint/use-baseline":
|
|
19
|
-
readonly "@html-eslint/no-multiple-h1":
|
|
20
|
-
readonly "@html-eslint/require-lang":
|
|
21
|
-
readonly "@html-eslint/no-abstract-roles":
|
|
22
|
-
readonly "@html-eslint/no-accesskey-attrs":
|
|
23
|
-
readonly "@html-eslint/no-aria-hidden-body":
|
|
24
|
-
readonly "@html-eslint/no-aria-hidden-on-focusable":
|
|
25
|
-
readonly "@html-eslint/no-empty-headings":
|
|
26
|
-
readonly "@html-eslint/no-heading-inside-button":
|
|
27
|
-
readonly "@html-eslint/no-invalid-role":
|
|
28
|
-
readonly "@html-eslint/no-non-scalable-viewport":
|
|
29
|
-
readonly "@html-eslint/no-positive-tabindex":
|
|
30
|
-
readonly "@html-eslint/no-skip-heading-levels":
|
|
31
|
-
readonly "@html-eslint/require-form-method":
|
|
32
|
-
readonly "@html-eslint/require-frame-title":
|
|
33
|
-
readonly "@html-eslint/require-img-alt":
|
|
34
|
-
readonly "@html-eslint/require-input-label":
|
|
35
|
-
readonly "@html-eslint/require-meta-viewport":
|
|
36
|
-
readonly "@html-eslint/attrs-newline": readonly [
|
|
4
|
+
readonly "@html-eslint/no-duplicate-attrs": 2;
|
|
5
|
+
readonly "@html-eslint/no-duplicate-class": 2;
|
|
6
|
+
readonly "@html-eslint/no-duplicate-id": 2;
|
|
7
|
+
readonly "@html-eslint/no-duplicate-in-head": 2;
|
|
8
|
+
readonly "@html-eslint/no-ineffective-attrs": 2;
|
|
9
|
+
readonly "@html-eslint/no-invalid-entity": 2;
|
|
10
|
+
readonly "@html-eslint/no-nested-interactive": 2;
|
|
11
|
+
readonly "@html-eslint/no-obsolete-tags": 2;
|
|
12
|
+
readonly "@html-eslint/no-target-blank": 2;
|
|
13
|
+
readonly "@html-eslint/require-button-type": 2;
|
|
14
|
+
readonly "@html-eslint/require-closing-tags": 2;
|
|
15
|
+
readonly "@html-eslint/require-doctype": 2;
|
|
16
|
+
readonly "@html-eslint/require-li-container": 2;
|
|
17
|
+
readonly "@html-eslint/require-meta-charset": 2;
|
|
18
|
+
readonly "@html-eslint/use-baseline": 2;
|
|
19
|
+
readonly "@html-eslint/no-multiple-h1": 2;
|
|
20
|
+
readonly "@html-eslint/require-lang": 2;
|
|
21
|
+
readonly "@html-eslint/no-abstract-roles": 2;
|
|
22
|
+
readonly "@html-eslint/no-accesskey-attrs": 2;
|
|
23
|
+
readonly "@html-eslint/no-aria-hidden-body": 2;
|
|
24
|
+
readonly "@html-eslint/no-aria-hidden-on-focusable": 2;
|
|
25
|
+
readonly "@html-eslint/no-empty-headings": 2;
|
|
26
|
+
readonly "@html-eslint/no-heading-inside-button": 2;
|
|
27
|
+
readonly "@html-eslint/no-invalid-role": 2;
|
|
28
|
+
readonly "@html-eslint/no-non-scalable-viewport": 2;
|
|
29
|
+
readonly "@html-eslint/no-positive-tabindex": 2;
|
|
30
|
+
readonly "@html-eslint/no-skip-heading-levels": 2;
|
|
31
|
+
readonly "@html-eslint/require-form-method": 2;
|
|
32
|
+
readonly "@html-eslint/require-frame-title": 2;
|
|
33
|
+
readonly "@html-eslint/require-img-alt": 2;
|
|
34
|
+
readonly "@html-eslint/require-input-label": 2;
|
|
35
|
+
readonly "@html-eslint/require-meta-viewport": 2;
|
|
36
|
+
readonly "@html-eslint/attrs-newline": readonly [2, {
|
|
37
37
|
readonly ifAttrsMoreThan: 0;
|
|
38
38
|
}];
|
|
39
|
-
readonly "@html-eslint/element-newline": readonly [
|
|
39
|
+
readonly "@html-eslint/element-newline": readonly [2, {
|
|
40
40
|
readonly skip: readonly ["head"];
|
|
41
41
|
readonly inline: readonly ["$inline"];
|
|
42
42
|
}];
|
|
43
|
-
readonly "@html-eslint/indent": readonly [
|
|
44
|
-
readonly "@html-eslint/lowercase":
|
|
45
|
-
readonly "@html-eslint/no-extra-spacing-attrs": readonly [
|
|
43
|
+
readonly "@html-eslint/indent": readonly [2, 2];
|
|
44
|
+
readonly "@html-eslint/lowercase": 2;
|
|
45
|
+
readonly "@html-eslint/no-extra-spacing-attrs": readonly [2, {
|
|
46
46
|
readonly disallowMissing: true;
|
|
47
47
|
readonly disallowTabs: true;
|
|
48
48
|
readonly disallowInAssignment: true;
|
|
49
49
|
}];
|
|
50
|
-
readonly "@html-eslint/no-extra-spacing-text":
|
|
51
|
-
readonly "@html-eslint/no-multiple-empty-lines": readonly [
|
|
50
|
+
readonly "@html-eslint/no-extra-spacing-text": 2;
|
|
51
|
+
readonly "@html-eslint/no-multiple-empty-lines": readonly [2, {
|
|
52
52
|
readonly max: 1;
|
|
53
53
|
}];
|
|
54
|
-
readonly "@html-eslint/no-trailing-spaces":
|
|
55
|
-
readonly "@html-eslint/quotes":
|
|
54
|
+
readonly "@html-eslint/no-trailing-spaces": 2;
|
|
55
|
+
readonly "@html-eslint/quotes": 2;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=index.d.ts.map
|