@eslinted/defaults 17.2.9 → 17.2.10

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