@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.
Files changed (63) hide show
  1. package/dist/index.d.ts +562 -563
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.spec.d.ts +2 -0
  6. package/dist/index.spec.d.ts.map +1 -0
  7. package/dist/index.spec.js +154 -0
  8. package/dist/index.spec.js.map +1 -0
  9. package/dist/rules/_strings/option.d.ts +1 -1
  10. package/dist/rules/_strings/option.d.ts.map +1 -1
  11. package/dist/rules/_strings/option.js +1 -1
  12. package/dist/rules/_strings/option.js.map +1 -1
  13. package/dist/rules/_strings/state.d.ts +1 -1
  14. package/dist/rules/_strings/state.d.ts.map +1 -1
  15. package/dist/rules/_strings/state.js +1 -1
  16. package/dist/rules/_strings/state.js.map +1 -1
  17. package/dist/rules/_strings/state.spec.js +23 -18
  18. package/dist/rules/_strings/state.spec.js.map +1 -1
  19. package/dist/rules/css/enable.d.ts +11 -11
  20. package/dist/rules/css/index.d.ts +11 -11
  21. package/dist/rules/enable.d.ts +148 -148
  22. package/dist/rules/html/index.d.ts +41 -41
  23. package/dist/rules/html/plugin/index.d.ts +41 -41
  24. package/dist/rules/index.d.ts +550 -551
  25. package/dist/rules/index.d.ts.map +1 -1
  26. package/dist/rules/json/enable.d.ts +4 -4
  27. package/dist/rules/json/index.d.ts +42 -42
  28. package/dist/rules/json/plugin/extension.d.ts +19 -19
  29. package/dist/rules/json/plugin/index.d.ts +19 -19
  30. package/dist/rules/jsonc/index.d.ts +1 -1
  31. package/dist/rules/jsonc/plugin/index.d.ts +1 -1
  32. package/dist/rules/jsoncc/index.d.ts +1 -1
  33. package/dist/rules/jsoncc/plugin/index.d.ts +1 -1
  34. package/dist/rules/mocha/chai/expect.d.ts +3 -3
  35. package/dist/rules/mocha/chai/index.d.ts +1 -1
  36. package/dist/rules/mocha/disable.d.ts +2 -2
  37. package/dist/rules/mocha/enable.d.ts +16 -16
  38. package/dist/rules/mocha/index.d.ts +22 -22
  39. package/dist/rules/stylistic.d.ts +67 -67
  40. package/dist/rules/svelte/disable.d.ts +6 -6
  41. package/dist/rules/svelte/enable.d.ts +67 -67
  42. package/dist/rules/svelte/extension/disable.d.ts +3 -3
  43. package/dist/rules/svelte/extension/index.d.ts +2 -2
  44. package/dist/rules/svelte/index.d.ts +78 -78
  45. package/dist/rules/ts/disable.d.ts +19 -19
  46. package/dist/rules/ts/enable.d.ts +86 -86
  47. package/dist/rules/ts/extension/disable.d.ts +8 -8
  48. package/dist/rules/ts/extension/index.d.ts +7 -7
  49. package/dist/rules/ts/index.d.ts +120 -120
  50. package/dist/rules/yml/enable.d.ts +11 -12
  51. package/dist/rules/yml/enable.d.ts.map +1 -1
  52. package/dist/rules/yml/enable.js +0 -1
  53. package/dist/rules/yml/enable.js.map +1 -1
  54. package/dist/rules/yml/extension.d.ts +8 -8
  55. package/dist/rules/yml/index.d.ts +19 -20
  56. package/dist/rules/yml/index.d.ts.map +1 -1
  57. package/package.json +1 -1
  58. package/src/index.spec.ts +228 -0
  59. package/src/index.ts +1 -1
  60. package/src/rules/_strings/option.ts +1 -2
  61. package/src/rules/_strings/state.spec.ts +27 -22
  62. package/src/rules/_strings/state.ts +3 -3
  63. package/src/rules/yml/enable.ts +1 -1
@@ -1,178 +1,178 @@
1
1
  declare const _default: {
2
2
  id: "enable";
3
3
  rules: {
4
- readonly "array-callback-return": readonly ["error", {
4
+ readonly "array-callback-return": readonly [2, {
5
5
  readonly checkForEach: true;
6
6
  readonly allowVoid: true;
7
7
  }];
8
- readonly "constructor-super": "error";
9
- readonly "for-direction": "error";
10
- readonly "getter-return": "error";
11
- readonly "no-async-promise-executor": "error";
12
- readonly "no-await-in-loop": "error";
13
- readonly "no-class-assign": "error";
14
- readonly "no-compare-neg-zero": "error";
15
- readonly "no-cond-assign": "error";
16
- readonly "no-const-assign": "error";
17
- readonly "no-constant-binary-expression": "error";
18
- readonly "no-constant-condition": readonly ["error", {
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": "error";
22
- readonly "no-control-regex": "error";
23
- readonly "no-debugger": "error";
24
- readonly "no-dupe-args": "error";
25
- readonly "no-dupe-class-members": "error";
26
- readonly "no-dupe-else-if": "error";
27
- readonly "no-dupe-keys": "error";
28
- readonly "no-duplicate-case": "error";
29
- readonly "no-duplicate-imports": readonly ["error", {
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": "error";
34
- readonly "no-empty-pattern": "error";
35
- readonly "no-ex-assign": "error";
36
- readonly "no-fallthrough": "error";
37
- readonly "no-func-assign": "error";
38
- readonly "no-import-assign": "error";
39
- readonly "no-inner-declarations": readonly ["error", "both"];
40
- readonly "no-invalid-regexp": "error";
41
- readonly "no-irregular-whitespace": "error";
42
- readonly "no-loss-of-precision": "error";
43
- readonly "no-misleading-character-class": "error";
44
- readonly "no-new-native-nonconstructor": "error";
45
- readonly "no-obj-calls": "error";
46
- readonly "no-promise-executor-return": readonly ["error", {
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": "error";
50
- readonly "no-self-assign": "error";
51
- readonly "no-self-compare": "error";
52
- readonly "no-setter-return": "error";
53
- readonly "no-sparse-arrays": "error";
54
- readonly "no-template-curly-in-string": "error";
55
- readonly "no-this-before-super": "error";
56
- readonly "no-unassigned-vars": "error";
57
- readonly "no-undef": "error";
58
- readonly "no-unexpected-multiline": "error";
59
- readonly "no-unmodified-loop-condition": "error";
60
- readonly "no-unreachable": "error";
61
- readonly "no-unreachable-loop": "error";
62
- readonly "no-unsafe-finally": "error";
63
- readonly "no-unsafe-negation": readonly ["error", {
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 ["error", {
66
+ readonly "no-unsafe-optional-chaining": readonly [2, {
67
67
  readonly disallowArithmeticOperators: true;
68
68
  }];
69
- readonly "no-unused-private-class-members": "error";
70
- readonly "no-unused-vars": "error";
71
- readonly "no-use-before-define": readonly ["error", {
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": "error";
75
- readonly "no-useless-backreference": "error";
76
- readonly "require-atomic-updates": "error";
77
- readonly "use-isnan": readonly ["error", {
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 ["error", {
80
+ readonly "valid-typeof": readonly [2, {
81
81
  readonly requireStringLiterals: true;
82
82
  }];
83
- readonly "accessor-pairs": readonly ["error", {
83
+ readonly "accessor-pairs": readonly [2, {
84
84
  readonly enforceForTSTypes: true;
85
85
  }];
86
- readonly "arrow-body-style": "error";
87
- readonly "block-scoped-var": "error";
88
- readonly "consistent-return": "error";
89
- readonly "consistent-this": "error";
90
- readonly curly: readonly ["error", "multi"];
91
- readonly "default-case-last": "error";
92
- readonly "default-param-last": "error";
93
- readonly "dot-notation": "error";
94
- readonly eqeqeq: "error";
95
- readonly "init-declarations": "error";
96
- readonly "logical-assignment-operators": readonly ["error", "always", {
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": "error";
100
- readonly "no-array-constructor": "error";
101
- readonly "no-bitwise": "error";
102
- readonly "no-caller": "error";
103
- readonly "no-case-declarations": "error";
104
- readonly "no-continue": "error";
105
- readonly "no-delete-var": "error";
106
- readonly "no-div-regex": "error";
107
- readonly "no-empty": "error";
108
- readonly "no-empty-function": readonly ["error", {
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": "error";
112
- readonly "no-eq-null": "error";
113
- readonly "no-eval": "error";
114
- readonly "no-extend-native": "error";
115
- readonly "no-extra-bind": "error";
116
- readonly "no-extra-boolean-cast": readonly ["error", {
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": "error";
120
- readonly "no-global-assign": "error";
121
- readonly "no-implicit-coercion": readonly ["error", {
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": "error";
125
- readonly "no-invalid-this": readonly ["error", {
124
+ readonly "no-implied-eval": 2;
125
+ readonly "no-invalid-this": readonly [2, {
126
126
  readonly capIsConstructor: false;
127
127
  }];
128
- readonly "no-iterator": "error";
129
- readonly "no-label-var": "error";
130
- readonly "no-lone-blocks": "error";
131
- readonly "no-loop-func": "error";
132
- readonly "no-multi-assign": "error";
133
- readonly "no-multi-str": "error";
134
- readonly "no-new": "error";
135
- readonly "no-new-func": "error";
136
- readonly "no-new-wrappers": "error";
137
- readonly "no-nonoctal-decimal-escape": "error";
138
- readonly "no-object-constructor": "error";
139
- readonly "no-octal": "error";
140
- readonly "no-octal-escape": "error";
141
- readonly "no-param-reassign": readonly ["error", {
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 ["error", {
144
+ readonly "no-plusplus": readonly [2, {
145
145
  readonly allowForLoopAfterthoughts: true;
146
146
  }];
147
- readonly "no-proto": "error";
148
- readonly "no-script-url": "error";
149
- readonly "no-sequences": "error";
150
- readonly "no-shadow-restricted-names": "error";
151
- readonly "no-throw-literal": "error";
152
- readonly "no-undef-init": "error";
153
- readonly "no-unneeded-ternary": "error";
154
- readonly "no-unused-expressions": readonly ["error", {
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": "error";
159
- readonly "no-useless-call": "error";
160
- readonly "no-useless-catch": "error";
161
- readonly "no-useless-computed-key": "error";
162
- readonly "no-useless-concat": "error";
163
- readonly "no-useless-constructor": "error";
164
- readonly "no-useless-escape": readonly ["error", {
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": "error";
168
- readonly "no-useless-return": "error";
169
- readonly "no-var": "error";
170
- readonly "no-void": readonly ["error", {
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": "error";
174
- readonly "object-shorthand": "error";
175
- readonly "one-var": readonly ["error", {
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": "error";
184
- readonly "prefer-arrow-callback": "error";
185
- readonly "prefer-const": readonly ["error", {
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 ["error", {
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": "error";
195
- readonly "prefer-numeric-literals": "error";
196
- readonly "prefer-object-has-own": "error";
197
- readonly "prefer-object-spread": "error";
198
- readonly "prefer-promise-reject-errors": "error";
199
- readonly "prefer-regex-literals": readonly ["error", {
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": "error";
203
- readonly "prefer-spread": "error";
204
- readonly "preserve-caught-error": readonly ["error", {
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 ["error", "as-needed"];
208
- readonly "require-await": "error";
209
- readonly "require-unicode-regexp": "error";
210
- readonly "require-yield": "error";
211
- readonly "vars-on-top": "error";
212
- readonly yoda: "error";
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": "error";
5
- readonly "@html-eslint/no-duplicate-class": "error";
6
- readonly "@html-eslint/no-duplicate-id": "error";
7
- readonly "@html-eslint/no-duplicate-in-head": "error";
8
- readonly "@html-eslint/no-ineffective-attrs": "error";
9
- readonly "@html-eslint/no-invalid-entity": "error";
10
- readonly "@html-eslint/no-nested-interactive": "error";
11
- readonly "@html-eslint/no-obsolete-tags": "error";
12
- readonly "@html-eslint/no-target-blank": "error";
13
- readonly "@html-eslint/require-button-type": "error";
14
- readonly "@html-eslint/require-closing-tags": "error";
15
- readonly "@html-eslint/require-doctype": "error";
16
- readonly "@html-eslint/require-li-container": "error";
17
- readonly "@html-eslint/require-meta-charset": "error";
18
- readonly "@html-eslint/use-baseline": "error";
19
- readonly "@html-eslint/no-multiple-h1": "error";
20
- readonly "@html-eslint/require-lang": "error";
21
- readonly "@html-eslint/no-abstract-roles": "error";
22
- readonly "@html-eslint/no-accesskey-attrs": "error";
23
- readonly "@html-eslint/no-aria-hidden-body": "error";
24
- readonly "@html-eslint/no-aria-hidden-on-focusable": "error";
25
- readonly "@html-eslint/no-empty-headings": "error";
26
- readonly "@html-eslint/no-heading-inside-button": "error";
27
- readonly "@html-eslint/no-invalid-role": "error";
28
- readonly "@html-eslint/no-non-scalable-viewport": "error";
29
- readonly "@html-eslint/no-positive-tabindex": "error";
30
- readonly "@html-eslint/no-skip-heading-levels": "error";
31
- readonly "@html-eslint/require-form-method": "error";
32
- readonly "@html-eslint/require-frame-title": "error";
33
- readonly "@html-eslint/require-img-alt": "error";
34
- readonly "@html-eslint/require-input-label": "error";
35
- readonly "@html-eslint/require-meta-viewport": "error";
36
- readonly "@html-eslint/attrs-newline": readonly ["error", {
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 ["error", {
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 ["error", 2];
44
- readonly "@html-eslint/lowercase": "error";
45
- readonly "@html-eslint/no-extra-spacing-attrs": readonly ["error", {
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": "error";
51
- readonly "@html-eslint/no-multiple-empty-lines": readonly ["error", {
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": "error";
55
- readonly "@html-eslint/quotes": "error";
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": "error";
5
- readonly "@html-eslint/no-duplicate-class": "error";
6
- readonly "@html-eslint/no-duplicate-id": "error";
7
- readonly "@html-eslint/no-duplicate-in-head": "error";
8
- readonly "@html-eslint/no-ineffective-attrs": "error";
9
- readonly "@html-eslint/no-invalid-entity": "error";
10
- readonly "@html-eslint/no-nested-interactive": "error";
11
- readonly "@html-eslint/no-obsolete-tags": "error";
12
- readonly "@html-eslint/no-target-blank": "error";
13
- readonly "@html-eslint/require-button-type": "error";
14
- readonly "@html-eslint/require-closing-tags": "error";
15
- readonly "@html-eslint/require-doctype": "error";
16
- readonly "@html-eslint/require-li-container": "error";
17
- readonly "@html-eslint/require-meta-charset": "error";
18
- readonly "@html-eslint/use-baseline": "error";
19
- readonly "@html-eslint/no-multiple-h1": "error";
20
- readonly "@html-eslint/require-lang": "error";
21
- readonly "@html-eslint/no-abstract-roles": "error";
22
- readonly "@html-eslint/no-accesskey-attrs": "error";
23
- readonly "@html-eslint/no-aria-hidden-body": "error";
24
- readonly "@html-eslint/no-aria-hidden-on-focusable": "error";
25
- readonly "@html-eslint/no-empty-headings": "error";
26
- readonly "@html-eslint/no-heading-inside-button": "error";
27
- readonly "@html-eslint/no-invalid-role": "error";
28
- readonly "@html-eslint/no-non-scalable-viewport": "error";
29
- readonly "@html-eslint/no-positive-tabindex": "error";
30
- readonly "@html-eslint/no-skip-heading-levels": "error";
31
- readonly "@html-eslint/require-form-method": "error";
32
- readonly "@html-eslint/require-frame-title": "error";
33
- readonly "@html-eslint/require-img-alt": "error";
34
- readonly "@html-eslint/require-input-label": "error";
35
- readonly "@html-eslint/require-meta-viewport": "error";
36
- readonly "@html-eslint/attrs-newline": readonly ["error", {
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 ["error", {
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 ["error", 2];
44
- readonly "@html-eslint/lowercase": "error";
45
- readonly "@html-eslint/no-extra-spacing-attrs": readonly ["error", {
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": "error";
51
- readonly "@html-eslint/no-multiple-empty-lines": readonly ["error", {
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": "error";
55
- readonly "@html-eslint/quotes": "error";
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