@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.
Files changed (131) hide show
  1. package/dist/index.d.ts +504 -523
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/rules/{state.d.ts → _state.d.ts} +1 -1
  4. package/dist/rules/_state.d.ts.map +1 -0
  5. package/dist/rules/_state.js +2 -0
  6. package/dist/rules/_state.js.map +1 -0
  7. package/dist/rules/{css/index.d.ts → css.d.ts} +3 -3
  8. package/dist/rules/css.d.ts.map +1 -0
  9. package/dist/rules/css.js +17 -0
  10. package/dist/rules/css.js.map +1 -0
  11. package/dist/rules/{html/index.d.ts → html.d.ts} +3 -3
  12. package/dist/rules/html.d.ts.map +1 -0
  13. package/dist/rules/html.js +41 -0
  14. package/dist/rules/html.js.map +1 -0
  15. package/dist/rules/index.d.ts +504 -523
  16. package/dist/rules/index.d.ts.map +1 -1
  17. package/dist/rules/index.js +7 -7
  18. package/dist/rules/js.d.ts +219 -221
  19. package/dist/rules/js.d.ts.map +1 -1
  20. package/dist/rules/js.js +545 -7
  21. package/dist/rules/js.js.map +1 -1
  22. package/dist/rules/{json/jsonc.d.ts → json.d.ts} +4 -2
  23. package/dist/rules/json.d.ts.map +1 -0
  24. package/dist/rules/{json/jsonc.js → json.js} +3 -1
  25. package/dist/rules/json.js.map +1 -0
  26. package/dist/rules/{jsonc/index.d.ts → jsonc.d.ts} +3 -3
  27. package/dist/rules/jsonc.d.ts.map +1 -0
  28. package/dist/rules/jsonc.js +10 -0
  29. package/dist/rules/jsonc.js.map +1 -0
  30. package/dist/rules/{svelte/svelte.d.ts → svelte.d.ts} +16 -1
  31. package/dist/rules/svelte.d.ts.map +1 -0
  32. package/dist/rules/{svelte/svelte.js → svelte.js} +15 -0
  33. package/dist/rules/svelte.js.map +1 -0
  34. package/dist/rules/{ts/ts.d.ts → ts.d.ts} +51 -1
  35. package/dist/rules/ts.d.ts.map +1 -0
  36. package/dist/rules/{ts/ts.js → ts.js} +50 -0
  37. package/dist/rules/ts.js.map +1 -0
  38. package/dist/rules/{yml/index.d.ts → yml.d.ts} +3 -3
  39. package/dist/rules/yml.d.ts.map +1 -0
  40. package/dist/rules/yml.js +32 -0
  41. package/dist/rules/yml.js.map +1 -0
  42. package/package.json +1 -1
  43. package/src/rules/css.ts +22 -0
  44. package/src/rules/html.ts +82 -0
  45. package/src/rules/js.ts +621 -6
  46. package/src/rules/{json/jsonc.ts → json.ts} +7 -1
  47. package/src/rules/jsonc.ts +11 -0
  48. package/src/rules/{svelte/svelte.ts → svelte.ts} +39 -2
  49. package/src/rules/{ts/ts.ts → ts.ts} +67 -2
  50. package/src/rules/yml.ts +56 -0
  51. package/dist/rules/css/index.d.ts.map +0 -1
  52. package/dist/rules/css/index.js +0 -19
  53. package/dist/rules/css/index.js.map +0 -1
  54. package/dist/rules/html/index.d.ts.map +0 -1
  55. package/dist/rules/html/index.js +0 -43
  56. package/dist/rules/html/index.js.map +0 -1
  57. package/dist/rules/js.eslint.d.ts +0 -289
  58. package/dist/rules/js.eslint.d.ts.map +0 -1
  59. package/dist/rules/js.eslint.js +0 -285
  60. package/dist/rules/js.eslint.js.map +0 -1
  61. package/dist/rules/js.stylistic.d.ts +0 -271
  62. package/dist/rules/js.stylistic.d.ts.map +0 -1
  63. package/dist/rules/js.stylistic.js +0 -265
  64. package/dist/rules/js.stylistic.js.map +0 -1
  65. package/dist/rules/json/index.d.ts +0 -33
  66. package/dist/rules/json/index.d.ts.map +0 -1
  67. package/dist/rules/json/index.js +0 -7
  68. package/dist/rules/json/index.js.map +0 -1
  69. package/dist/rules/json/json.d.ts +0 -9
  70. package/dist/rules/json/json.d.ts.map +0 -1
  71. package/dist/rules/json/json.js +0 -7
  72. package/dist/rules/json/json.js.map +0 -1
  73. package/dist/rules/json/jsonc.d.ts.map +0 -1
  74. package/dist/rules/json/jsonc.js.map +0 -1
  75. package/dist/rules/jsonc/index.d.ts.map +0 -1
  76. package/dist/rules/jsonc/index.js +0 -12
  77. package/dist/rules/jsonc/index.js.map +0 -1
  78. package/dist/rules/state.d.ts.map +0 -1
  79. package/dist/rules/state.js +0 -2
  80. package/dist/rules/state.js.map +0 -1
  81. package/dist/rules/svelte/disable.d.ts +0 -17
  82. package/dist/rules/svelte/disable.d.ts.map +0 -1
  83. package/dist/rules/svelte/disable.js +0 -15
  84. package/dist/rules/svelte/disable.js.map +0 -1
  85. package/dist/rules/svelte/extend.d.ts +0 -13
  86. package/dist/rules/svelte/extend.d.ts.map +0 -1
  87. package/dist/rules/svelte/extend.js +0 -11
  88. package/dist/rules/svelte/extend.js.map +0 -1
  89. package/dist/rules/svelte/html.d.ts +0 -14
  90. package/dist/rules/svelte/html.d.ts.map +0 -1
  91. package/dist/rules/svelte/html.js +0 -12
  92. package/dist/rules/svelte/html.js.map +0 -1
  93. package/dist/rules/svelte/index.d.ts +0 -115
  94. package/dist/rules/svelte/index.d.ts.map +0 -1
  95. package/dist/rules/svelte/index.js +0 -9
  96. package/dist/rules/svelte/index.js.map +0 -1
  97. package/dist/rules/svelte/svelte.d.ts.map +0 -1
  98. package/dist/rules/svelte/svelte.js.map +0 -1
  99. package/dist/rules/ts/disable.d.ts +0 -26
  100. package/dist/rules/ts/disable.d.ts.map +0 -1
  101. package/dist/rules/ts/disable.js +0 -24
  102. package/dist/rules/ts/disable.js.map +0 -1
  103. package/dist/rules/ts/extend.d.ts +0 -38
  104. package/dist/rules/ts/extend.d.ts.map +0 -1
  105. package/dist/rules/ts/extend.js +0 -36
  106. package/dist/rules/ts/extend.js.map +0 -1
  107. package/dist/rules/ts/index.d.ts +0 -242
  108. package/dist/rules/ts/index.d.ts.map +0 -1
  109. package/dist/rules/ts/index.js +0 -9
  110. package/dist/rules/ts/index.js.map +0 -1
  111. package/dist/rules/ts/ts.d.ts.map +0 -1
  112. package/dist/rules/ts/ts.js.map +0 -1
  113. package/dist/rules/yml/index.d.ts.map +0 -1
  114. package/dist/rules/yml/index.js +0 -34
  115. package/dist/rules/yml/index.js.map +0 -1
  116. package/src/rules/css/index.ts +0 -24
  117. package/src/rules/html/index.ts +0 -84
  118. package/src/rules/js.eslint.ts +0 -348
  119. package/src/rules/js.stylistic.ts +0 -279
  120. package/src/rules/json/index.ts +0 -7
  121. package/src/rules/json/json.ts +0 -13
  122. package/src/rules/jsonc/index.ts +0 -13
  123. package/src/rules/svelte/disable.ts +0 -21
  124. package/src/rules/svelte/extend.ts +0 -14
  125. package/src/rules/svelte/html.ts +0 -14
  126. package/src/rules/svelte/index.ts +0 -11
  127. package/src/rules/ts/disable.ts +0 -26
  128. package/src/rules/ts/extend.ts +0 -42
  129. package/src/rules/ts/index.ts +0 -9
  130. package/src/rules/yml/index.ts +0 -58
  131. /package/src/rules/{state.ts → _state.ts} +0 -0
@@ -1,152 +1,153 @@
1
- declare const _default: ({
1
+ import { State } from "./_state.js";
2
+ declare const _default: {
2
3
  rules: {
3
4
  readonly "array-callback-return": readonly [
4
- import("./state.js").State.ON,
5
+ State.ON,
5
6
  {
6
7
  readonly checkForEach: true;
7
8
  readonly allowVoid: true;
8
9
  }
9
10
  ];
10
- readonly "constructor-super": import("./state.js").State.ON;
11
- readonly "for-direction": import("./state.js").State.ON;
12
- readonly "getter-return": import("./state.js").State.ON;
13
- readonly "no-async-promise-executor": import("./state.js").State.ON;
14
- readonly "no-await-in-loop": import("./state.js").State.ON;
15
- readonly "no-class-assign": import("./state.js").State.ON;
16
- readonly "no-compare-neg-zero": import("./state.js").State.ON;
17
- readonly "no-cond-assign": import("./state.js").State.ON;
18
- readonly "no-const-assign": import("./state.js").State.ON;
19
- readonly "no-constant-binary-expression": import("./state.js").State.ON;
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
- import("./state.js").State.ON,
22
+ State.ON,
22
23
  {
23
24
  readonly checkLoops: "all";
24
25
  }
25
26
  ];
26
- readonly "no-constructor-return": import("./state.js").State.ON;
27
- readonly "no-control-regex": import("./state.js").State.ON;
28
- readonly "no-debugger": import("./state.js").State.ON;
29
- readonly "no-dupe-args": import("./state.js").State.ON;
30
- readonly "no-dupe-class-members": import("./state.js").State.ON;
31
- readonly "no-dupe-else-if": import("./state.js").State.ON;
32
- readonly "no-dupe-keys": import("./state.js").State.ON;
33
- readonly "no-duplicate-case": import("./state.js").State.ON;
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
- import("./state.js").State.ON,
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": import("./state.js").State.ON;
42
- readonly "no-empty-pattern": import("./state.js").State.ON;
43
- readonly "no-ex-assign": import("./state.js").State.ON;
44
- readonly "no-fallthrough": import("./state.js").State.ON;
45
- readonly "no-func-assign": import("./state.js").State.ON;
46
- readonly "no-import-assign": import("./state.js").State.ON;
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
- import("./state.js").State.ON,
49
+ State.ON,
49
50
  "both"
50
51
  ];
51
- readonly "no-invalid-regexp": import("./state.js").State.ON;
52
- readonly "no-irregular-whitespace": import("./state.js").State.ON;
53
- readonly "no-loss-of-precision": import("./state.js").State.ON;
54
- readonly "no-misleading-character-class": import("./state.js").State.ON;
55
- readonly "no-new-native-nonconstructor": import("./state.js").State.ON;
56
- readonly "no-obj-calls": import("./state.js").State.ON;
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
- import("./state.js").State.ON,
59
+ State.ON,
59
60
  {
60
61
  readonly allowVoid: true;
61
62
  }
62
63
  ];
63
- readonly "no-prototype-builtins": import("./state.js").State.ON;
64
- readonly "no-self-assign": import("./state.js").State.ON;
65
- readonly "no-self-compare": import("./state.js").State.ON;
66
- readonly "no-setter-return": import("./state.js").State.ON;
67
- readonly "no-sparse-arrays": import("./state.js").State.ON;
68
- readonly "no-template-curly-in-string": import("./state.js").State.ON;
69
- readonly "no-this-before-super": import("./state.js").State.ON;
70
- readonly "no-unassigned-vars": import("./state.js").State.ON;
71
- readonly "no-undef": import("./state.js").State.ON;
72
- readonly "no-unexpected-multiline": import("./state.js").State.ON;
73
- readonly "no-unmodified-loop-condition": import("./state.js").State.ON;
74
- readonly "no-unreachable": import("./state.js").State.WARN;
75
- readonly "no-unreachable-loop": import("./state.js").State.WARN;
76
- readonly "no-unsafe-finally": import("./state.js").State.ON;
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
- import("./state.js").State.ON,
79
+ State.ON,
79
80
  {
80
81
  readonly enforceForOrderingRelations: true;
81
82
  }
82
83
  ];
83
84
  readonly "no-unsafe-optional-chaining": readonly [
84
- import("./state.js").State.ON,
85
+ State.ON,
85
86
  {
86
87
  readonly disallowArithmeticOperators: true;
87
88
  }
88
89
  ];
89
- readonly "no-unused-private-class-members": import("./state.js").State.WARN;
90
- readonly "no-unused-vars": import("./state.js").State.WARN;
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
- import("./state.js").State.ON,
93
+ State.ON,
93
94
  {
94
95
  readonly typedefs: false;
95
96
  }
96
97
  ];
97
- readonly "no-useless-assignment": import("./state.js").State.ON;
98
- readonly "no-useless-backreference": import("./state.js").State.ON;
99
- readonly "require-atomic-updates": import("./state.js").State.ON;
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
- import("./state.js").State.ON,
102
+ State.ON,
102
103
  {
103
104
  readonly enforceForIndexOf: true;
104
105
  }
105
106
  ];
106
107
  readonly "valid-typeof": readonly [
107
- import("./state.js").State.ON,
108
+ State.ON,
108
109
  {
109
110
  readonly requireStringLiterals: true;
110
111
  }
111
112
  ];
112
113
  readonly "accessor-pairs": readonly [
113
- import("./state.js").State.ON,
114
+ State.ON,
114
115
  {
115
116
  readonly enforceForTSTypes: true;
116
117
  }
117
118
  ];
118
- readonly "arrow-body-style": import("./state.js").State.WARN;
119
- readonly "block-scoped-var": import("./state.js").State.ON;
120
- readonly "consistent-return": import("./state.js").State.ON;
121
- readonly "consistent-this": import("./state.js").State.ON;
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
- import("./state.js").State.WARN,
124
+ State.WARN,
124
125
  "multi"
125
126
  ];
126
- readonly "default-case-last": import("./state.js").State.ON;
127
- readonly "default-param-last": import("./state.js").State.ON;
128
- readonly "dot-notation": import("./state.js").State.WARN;
129
- readonly eqeqeq: import("./state.js").State.ON;
130
- readonly "init-declarations": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
133
+ State.WARN,
133
134
  "always",
134
135
  {
135
136
  readonly enforceForIfStatements: true;
136
137
  }
137
138
  ];
138
- readonly "no-alert": import("./state.js").State.ON;
139
- readonly "no-array-constructor": import("./state.js").State.ON;
140
- readonly "no-bitwise": import("./state.js").State.ON;
141
- readonly "no-caller": import("./state.js").State.ON;
142
- readonly "no-case-declarations": import("./state.js").State.ON;
143
- readonly "no-continue": import("./state.js").State.ON;
144
- readonly "no-delete-var": import("./state.js").State.ON;
145
- readonly "no-div-regex": import("./state.js").State.ON;
146
- readonly "no-else-return": import("./state.js").State.ON;
147
- readonly "no-empty": import("./state.js").State.ON;
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
- import("./state.js").State.WARN,
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": import("./state.js").State.WARN;
161
- readonly "no-eq-null": import("./state.js").State.ON;
162
- readonly "no-eval": import("./state.js").State.ON;
163
- readonly "no-extend-native": import("./state.js").State.ON;
164
- readonly "no-extra-bind": import("./state.js").State.ON;
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
- import("./state.js").State.WARN,
167
+ State.WARN,
167
168
  {
168
169
  readonly enforceForLogicalOperands: true;
169
170
  }
170
171
  ];
171
- readonly "no-extra-label": import("./state.js").State.WARN;
172
- readonly "no-global-assign": import("./state.js").State.ON;
173
- readonly "no-implicit-coercion": import("./state.js").State.ON;
174
- readonly "no-implied-eval": import("./state.js").State.ON;
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
- import("./state.js").State.ON,
177
+ State.ON,
177
178
  {
178
179
  readonly capIsConstructor: false;
179
180
  }
180
181
  ];
181
- readonly "no-iterator": import("./state.js").State.ON;
182
- readonly "no-label-var": import("./state.js").State.WARN;
183
- readonly "no-lone-blocks": import("./state.js").State.ON;
184
- readonly "no-loop-func": import("./state.js").State.ON;
185
- readonly "no-multi-assign": import("./state.js").State.ON;
186
- readonly "no-multi-str": import("./state.js").State.WARN;
187
- readonly "no-new": import("./state.js").State.ON;
188
- readonly "no-new-func": import("./state.js").State.ON;
189
- readonly "no-new-wrappers": import("./state.js").State.ON;
190
- readonly "no-nonoctal-decimal-escape": import("./state.js").State.ON;
191
- readonly "no-object-constructor": import("./state.js").State.ON;
192
- readonly "no-octal": import("./state.js").State.ON;
193
- readonly "no-octal-escape": import("./state.js").State.ON;
194
- readonly "no-param-reassign": import("./state.js").State.ON;
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
- import("./state.js").State.ON,
197
+ State.ON,
197
198
  {
198
199
  readonly allowForLoopAfterthoughts: true;
199
200
  }
200
201
  ];
201
- readonly "no-proto": import("./state.js").State.ON;
202
- readonly "no-script-url": import("./state.js").State.ON;
203
- readonly "no-sequences": import("./state.js").State.ON;
204
- readonly "no-shadow-restricted-names": import("./state.js").State.ON;
205
- readonly "no-throw-literal": import("./state.js").State.WARN;
206
- readonly "no-undef-init": import("./state.js").State.ON;
207
- readonly "no-unneeded-ternary": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
210
+ State.WARN,
210
211
  {
211
212
  readonly allowShortCircuit: true;
212
213
  readonly allowTernary: true;
213
214
  }
214
215
  ];
215
- readonly "no-unused-labels": import("./state.js").State.WARN;
216
- readonly "no-useless-call": import("./state.js").State.WARN;
217
- readonly "no-useless-catch": import("./state.js").State.WARN;
218
- readonly "no-useless-computed-key": import("./state.js").State.WARN;
219
- readonly "no-useless-concat": import("./state.js").State.WARN;
220
- readonly "no-useless-constructor": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
223
+ State.WARN,
223
224
  {
224
225
  readonly allowRegexCharacters: readonly [
225
226
  "-"
226
227
  ];
227
228
  }
228
229
  ];
229
- readonly "no-useless-rename": import("./state.js").State.WARN;
230
- readonly "no-useless-return": import("./state.js").State.WARN;
231
- readonly "no-var": import("./state.js").State.WARN;
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
- import("./state.js").State.ON,
234
+ State.ON,
234
235
  {
235
236
  readonly allowAsStatement: true;
236
237
  }
237
238
  ];
238
- readonly "no-with": import("./state.js").State.ON;
239
- readonly "object-shorthand": import("./state.js").State.WARN;
239
+ readonly "no-with": State.ON;
240
+ readonly "object-shorthand": State.WARN;
240
241
  readonly "one-var": readonly [
241
- import("./state.js").State.WARN,
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": import("./state.js").State.WARN;
252
- readonly "prefer-arrow-callback": import("./state.js").State.WARN;
252
+ readonly "operator-assignment": State.WARN;
253
+ readonly "prefer-arrow-callback": State.WARN;
253
254
  readonly "prefer-const": readonly [
254
- import("./state.js").State.WARN,
255
+ State.WARN,
255
256
  {
256
257
  readonly destructuring: "all";
257
258
  }
258
259
  ];
259
- readonly "prefer-exponentiation-operator": import("./state.js").State.WARN;
260
- readonly "prefer-numeric-literals": import("./state.js").State.WARN;
261
- readonly "prefer-object-has-own": import("./state.js").State.WARN;
262
- readonly "prefer-object-spread": import("./state.js").State.WARN;
263
- readonly "prefer-promise-reject-errors": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
266
+ State.WARN,
266
267
  {
267
268
  readonly disallowRedundantWrapping: true;
268
269
  }
269
270
  ];
270
- readonly "prefer-rest-params": import("./state.js").State.WARN;
271
- readonly "prefer-spread": import("./state.js").State.WARN;
271
+ readonly "prefer-rest-params": State.WARN;
272
+ readonly "prefer-spread": State.WARN;
272
273
  readonly "preserve-caught-error": readonly [
273
- import("./state.js").State.ON,
274
+ State.ON,
274
275
  {
275
276
  readonly requireCatchParameter: true;
276
277
  }
277
278
  ];
278
- readonly radix: import("./state.js").State.ON;
279
- readonly "require-await": import("./state.js").State.ON;
280
- readonly "require-unicode-regexp": import("./state.js").State.ON;
281
- readonly "require-yield": import("./state.js").State.ON;
282
- readonly "vars-on-top": import("./state.js").State.WARN;
283
- readonly yoda: import("./state.js").State.WARN;
284
- readonly "unicode-bom": import("./state.js").State.WARN;
285
- };
286
- } | {
287
- rules: {
288
- readonly "stylistic/eol-last": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
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
- import("./state.js").State.WARN,
299
+ State.WARN,
302
300
  "as-needed"
303
301
  ];
304
- readonly "stylistic/arrow-spacing": import("./state.js").State.WARN;
305
- readonly "stylistic/block-spacing": import("./state.js").State.WARN;
302
+ readonly "stylistic/arrow-spacing": State.WARN;
303
+ readonly "stylistic/block-spacing": State.WARN;
306
304
  readonly "stylistic/brace-style": readonly [
307
- import("./state.js").State.WARN,
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
- import("./state.js").State.WARN,
312
+ State.WARN,
315
313
  "always-multiline"
316
314
  ];
317
- readonly "stylistic/comma-spacing": import("./state.js").State.WARN;
318
- readonly "stylistic/comma-style": import("./state.js").State.WARN;
319
- readonly "stylistic/computed-property-spacing": import("./state.js").State.WARN;
320
- readonly "stylistic/curly-newline": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
320
+ State.WARN,
323
321
  "property"
324
322
  ];
325
323
  readonly "stylistic/function-call-argument-newline": readonly [
326
- import("./state.js").State.WARN,
324
+ State.WARN,
327
325
  "consistent"
328
326
  ];
329
- readonly "stylistic/function-call-spacing": import("./state.js").State.WARN;
327
+ readonly "stylistic/function-call-spacing": State.WARN;
330
328
  readonly "stylistic/function-paren-newline": readonly [
331
- import("./state.js").State.WARN,
329
+ State.WARN,
332
330
  "multiline-arguments"
333
331
  ];
334
- readonly "stylistic/generator-star-spacing": import("./state.js").State.WARN;
335
- readonly "stylistic/implicit-arrow-linebreak": import("./state.js").State.WARN;
332
+ readonly "stylistic/generator-star-spacing": State.WARN;
333
+ readonly "stylistic/implicit-arrow-linebreak": State.WARN;
336
334
  readonly "stylistic/indent": readonly [
337
- import("./state.js").State.WARN,
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
- import("./state.js").State.WARN,
349
+ State.WARN,
352
350
  2
353
351
  ];
354
- readonly "stylistic/key-spacing": import("./state.js").State.WARN;
355
- readonly "stylistic/keyword-spacing": import("./state.js").State.WARN;
352
+ readonly "stylistic/key-spacing": State.WARN;
353
+ readonly "stylistic/keyword-spacing": State.WARN;
356
354
  readonly "stylistic/lines-between-class-members": readonly [
357
- import("./state.js").State.WARN,
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
- import("./state.js").State.WARN,
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": import("./state.js").State.WARN;
391
- readonly "stylistic/member-delimiter-style": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
391
+ State.WARN,
394
392
  "always-multiline"
395
393
  ];
396
394
  readonly "stylistic/newline-per-chained-call": readonly [
397
- import("./state.js").State.WARN,
395
+ State.WARN,
398
396
  {
399
397
  readonly ignoreChainWithDepth: 1;
400
398
  }
401
399
  ];
402
- readonly "stylistic/no-extra-parens": import("./state.js").State.WARN;
403
- readonly "stylistic/no-extra-semi": import("./state.js").State.WARN;
404
- readonly "stylistic/no-floating-decimal": import("./state.js").State.WARN;
405
- readonly "stylistic/no-mixed-spaces-and-tabs": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
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
- import("./state.js").State.WARN,
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": import("./state.js").State.WARN;
424
- readonly "stylistic/no-trailing-spaces": import("./state.js").State.WARN;
425
- readonly "stylistic/no-whitespace-before-property": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
425
+ State.WARN,
428
426
  "below"
429
427
  ];
430
428
  readonly "stylistic/object-curly-newline": readonly [
431
- import("./state.js").State.WARN,
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
- import("./state.js").State.WARN,
437
+ State.WARN,
440
438
  "always",
441
439
  {
442
440
  readonly emptyObjects: "never";
443
441
  }
444
442
  ];
445
- readonly "stylistic/object-property-newline": import("./state.js").State.WARN;
443
+ readonly "stylistic/object-property-newline": State.WARN;
446
444
  readonly "stylistic/one-var-declaration-per-line": readonly [
447
- import("./state.js").State.WARN,
445
+ State.WARN,
448
446
  "always"
449
447
  ];
450
448
  readonly "stylistic/operator-linebreak": readonly [
451
- import("./state.js").State.WARN,
449
+ State.WARN,
452
450
  "before"
453
451
  ];
454
452
  readonly "stylistic/padded-blocks": readonly [
455
- import("./state.js").State.WARN,
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
- import("./state.js").State.WARN,
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
- import("./state.js").State.WARN,
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": import("./state.js").State.WARN;
477
- readonly "stylistic/semi": import("./state.js").State.WARN;
478
- readonly "stylistic/semi-spacing": import("./state.js").State.WARN;
479
- readonly "stylistic/semi-style": import("./state.js").State.WARN;
480
- readonly "stylistic/space-before-blocks": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
480
+ State.WARN,
483
481
  {
484
482
  readonly named: "never";
485
483
  }
486
484
  ];
487
- readonly "stylistic/space-in-parens": import("./state.js").State.WARN;
488
- readonly "stylistic/space-infix-ops": import("./state.js").State.WARN;
489
- readonly "stylistic/space-unary-ops": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
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": import("./state.js").State.WARN;
526
- readonly "stylistic/template-curly-spacing": import("./state.js").State.WARN;
527
- readonly "stylistic/template-tag-spacing": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
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": import("./state.js").State.WARN;
542
- readonly "stylistic/type-named-tuple-spacing": import("./state.js").State.WARN;
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
- import("./state.js").State.WARN,
542
+ State.WARN,
545
543
  "inside",
546
544
  {
547
545
  readonly functionPrototypeMethods: true;
548
546
  }
549
547
  ];
550
- readonly "stylistic/wrap-regex": import("./state.js").State.WARN;
551
- readonly "stylistic/yield-star-spacing": import("./state.js").State.WARN;
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