linted 14.1.1 → 14.1.3-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +223 -134
- package/dist/bundle/config/Config.d.ts +6 -0
- package/dist/bundle/config/Config.d.ts.map +1 -0
- package/dist/bundle/config/Config.js +9 -0
- package/dist/bundle/config/Config.js.map +1 -0
- package/dist/bundle/config/default/files.d.ts +11 -0
- package/dist/bundle/config/default/files.d.ts.map +1 -0
- package/dist/bundle/config/default/files.js +13 -0
- package/dist/bundle/config/default/files.js.map +1 -0
- package/dist/bundle/config/default/option/MdOption.d.ts +5 -0
- package/dist/bundle/config/default/option/MdOption.d.ts.map +1 -0
- package/dist/bundle/config/default/option/MdOption.js +16 -0
- package/dist/bundle/config/default/option/MdOption.js.map +1 -0
- package/dist/bundle/config/default/option/YmlOption.d.ts.map +1 -1
- package/dist/bundle/config/default/option/YmlOption.js.map +1 -1
- package/dist/bundle/config/default/{Options.js → options.d.ts} +11 -3
- package/dist/bundle/config/default/options.d.ts.map +1 -0
- package/dist/bundle/config/default/{Options.d.ts → options.js} +10 -3
- package/dist/bundle/config/default/options.js.map +1 -0
- package/dist/bundle/config/default/parsers.d.ts +15 -0
- package/dist/bundle/config/default/parsers.d.ts.map +1 -0
- package/dist/bundle/config/default/parsers.js +14 -0
- package/dist/bundle/config/default/parsers.js.map +1 -0
- package/dist/bundle/config/default/plugins.d.ts +1044 -0
- package/dist/bundle/config/default/plugins.d.ts.map +1 -0
- package/dist/bundle/config/default/plugins.js +24 -0
- package/dist/bundle/config/default/plugins.js.map +1 -0
- package/dist/bundle/config/default/ruleset/MdRuleset.d.ts +4 -0
- package/dist/bundle/config/default/ruleset/MdRuleset.d.ts.map +1 -0
- package/dist/bundle/config/default/ruleset/MdRuleset.js +5 -0
- package/dist/bundle/config/default/ruleset/MdRuleset.js.map +1 -0
- package/dist/bundle/config/default/ruleset/rules/js/JsEnable.d.ts.map +1 -1
- package/dist/bundle/config/default/ruleset/rules/js/JsEnable.js.map +1 -1
- package/dist/bundle/config/default/ruleset/rules/md/MdEnable.d.ts +4 -0
- package/dist/bundle/config/default/ruleset/rules/md/MdEnable.d.ts.map +1 -0
- package/dist/bundle/config/default/ruleset/rules/md/MdEnable.js +60 -0
- package/dist/bundle/config/default/ruleset/rules/md/MdEnable.js.map +1 -0
- package/dist/bundle/config/default/ruleset/rules/ts/TsEnable.js +1 -1
- package/dist/bundle/config/default/ruleset/rules/ts/TsEnable.js.map +1 -1
- package/dist/bundle/config/default/rulesets.d.ts +12 -0
- package/dist/bundle/config/default/rulesets.d.ts.map +1 -0
- package/dist/bundle/config/default/{Rulesets.d.ts → rulesets.js} +10 -3
- package/dist/bundle/config/default/rulesets.js.map +1 -0
- package/dist/bundle/config/default/scopes.d.ts +4 -0
- package/dist/bundle/config/default/scopes.d.ts.map +1 -0
- package/dist/bundle/config/default/scopes.js +11 -0
- package/dist/bundle/config/default/scopes.js.map +1 -0
- package/dist/bundle/index.d.ts +3 -18
- package/dist/bundle/index.d.ts.map +1 -1
- package/dist/bundle/index.js +46 -139
- package/dist/bundle/index.js.map +1 -1
- package/package.json +25 -27
- package/dist/bundle/config/default/Options.d.ts.map +0 -1
- package/dist/bundle/config/default/Options.js.map +0 -1
- package/dist/bundle/config/default/Rulesets.d.ts.map +0 -1
- package/dist/bundle/config/default/Rulesets.js +0 -10
- package/dist/bundle/config/default/Rulesets.js.map +0 -1
- package/dist/bundle/config/default/option/HtmlOption.spec.d.ts +0 -2
- package/dist/bundle/config/default/option/HtmlOption.spec.d.ts.map +0 -1
- package/dist/bundle/config/default/option/HtmlOption.spec.js +0 -10
- package/dist/bundle/config/default/option/HtmlOption.spec.js.map +0 -1
- package/dist/bundle/config/default/option/JestOption.d.ts +0 -6
- package/dist/bundle/config/default/option/JestOption.d.ts.map +0 -1
- package/dist/bundle/config/default/option/JestOption.js +0 -26
- package/dist/bundle/config/default/option/JestOption.js.map +0 -1
- package/dist/bundle/config/default/ruleset/JestRuleset.d.ts +0 -4
- package/dist/bundle/config/default/ruleset/JestRuleset.d.ts.map +0 -1
- package/dist/bundle/config/default/ruleset/JestRuleset.js +0 -7
- package/dist/bundle/config/default/ruleset/JestRuleset.js.map +0 -1
- package/dist/bundle/config/default/ruleset/rules/jest/JestEnable.d.ts +0 -1
- package/dist/bundle/config/default/ruleset/rules/jest/JestEnable.d.ts.map +0 -1
- package/dist/bundle/config/default/ruleset/rules/jest/JestEnable.js +0 -2
- package/dist/bundle/config/default/ruleset/rules/jest/JestEnable.js.map +0 -1
- package/dist/bundle/config/default/ruleset/rules/jest/JestRecommended.d.ts +0 -4
- package/dist/bundle/config/default/ruleset/rules/jest/JestRecommended.d.ts.map +0 -1
- package/dist/bundle/config/default/ruleset/rules/jest/JestRecommended.js +0 -7
- package/dist/bundle/config/default/ruleset/rules/jest/JestRecommended.js.map +0 -1
@@ -0,0 +1,1044 @@
|
|
1
|
+
declare const Plugins: {
|
2
|
+
js: {
|
3
|
+
"@stylistic": {
|
4
|
+
rules: import("@stylistic/eslint-plugin").Rules;
|
5
|
+
configs: Record<string, any> & {
|
6
|
+
'disable-legacy': Linter.FlatConfig<Linter.RulesRecord>;
|
7
|
+
customize: typeof import("@stylistic/eslint-plugin").customize;
|
8
|
+
'recommended-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
9
|
+
'recommended-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
10
|
+
'all-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
11
|
+
'all-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
12
|
+
'recommended-legacy': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
};
|
16
|
+
ts: {
|
17
|
+
"@stylistic": {
|
18
|
+
rules: import("@stylistic/eslint-plugin").Rules;
|
19
|
+
configs: Record<string, any> & {
|
20
|
+
'disable-legacy': Linter.FlatConfig<Linter.RulesRecord>;
|
21
|
+
customize: typeof import("@stylistic/eslint-plugin").customize;
|
22
|
+
'recommended-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
23
|
+
'recommended-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
24
|
+
'all-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
25
|
+
'all-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
26
|
+
'recommended-legacy': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
27
|
+
};
|
28
|
+
};
|
29
|
+
"@typescript-eslint": Record<string, Record<"configs", unknown>>;
|
30
|
+
};
|
31
|
+
svelte: {
|
32
|
+
"@stylistic": {
|
33
|
+
rules: import("@stylistic/eslint-plugin").Rules;
|
34
|
+
configs: Record<string, any> & {
|
35
|
+
'disable-legacy': Linter.FlatConfig<Linter.RulesRecord>;
|
36
|
+
customize: typeof import("@stylistic/eslint-plugin").customize;
|
37
|
+
'recommended-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
38
|
+
'recommended-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
39
|
+
'all-flat': Linter.FlatConfig<Linter.RulesRecord>;
|
40
|
+
'all-extends': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
41
|
+
'recommended-legacy': Linter.BaseConfig<Linter.RulesRecord, Linter.RulesRecord>;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
"@typescript-eslint": Record<string, Record<"configs", unknown>>;
|
45
|
+
svelte: {
|
46
|
+
meta: typeof import("eslint-plugin-svelte/lib/meta.js");
|
47
|
+
configs: {
|
48
|
+
base: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
49
|
+
recommended: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
50
|
+
prettier: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
51
|
+
all: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
52
|
+
"flat/base": import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[];
|
53
|
+
"flat/recommended": import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[];
|
54
|
+
"flat/prettier": import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[];
|
55
|
+
"flat/all": import("eslint").Linter.FlatConfig<import("eslint").Linter.RulesRecord>[];
|
56
|
+
};
|
57
|
+
rules: {
|
58
|
+
[key: string]: import("eslint-plugin-svelte/lib/types.js").RuleModule;
|
59
|
+
};
|
60
|
+
processors: {
|
61
|
+
".svelte": typeof import("eslint-plugin-svelte/lib/processor/index.js");
|
62
|
+
svelte: typeof import("eslint-plugin-svelte/lib/processor/index.js");
|
63
|
+
};
|
64
|
+
};
|
65
|
+
};
|
66
|
+
html: {
|
67
|
+
"@html-eslint": {
|
68
|
+
configs: {
|
69
|
+
recommended: typeof import("@html-eslint/eslint-plugin/types/configs/recommended.js");
|
70
|
+
"flat/recommended": import("eslint").Linter.FlatConfig;
|
71
|
+
rules: {
|
72
|
+
"require-lang": import("../types").RuleModule;
|
73
|
+
"require-img-alt": import("../types").RuleModule;
|
74
|
+
"require-doctype": import("../types").RuleModule;
|
75
|
+
"require-title": import("../types").RuleModule;
|
76
|
+
"no-duplicate-id": import("../types").RuleModule;
|
77
|
+
"no-inline-styles": import("../types").RuleModule;
|
78
|
+
"no-multiple-h1": import("../types").RuleModule;
|
79
|
+
"no-extra-spacing-attrs": import("../types").RuleModule;
|
80
|
+
"attrs-newline": import("../types").RuleModule;
|
81
|
+
"element-newline": import("../types").RuleModule;
|
82
|
+
"no-skip-heading-levels": import("../types").RuleModule;
|
83
|
+
"require-li-container": import("../types").RuleModule;
|
84
|
+
indent: import("../types").RuleModule;
|
85
|
+
quotes: import("../types").RuleModule;
|
86
|
+
"id-naming-convention": import("../types").RuleModule;
|
87
|
+
"no-obsolete-tags": import("../types").RuleModule;
|
88
|
+
"require-attrs": import("../types").RuleModule;
|
89
|
+
"require-closing-tags": import("../types").RuleModule;
|
90
|
+
"require-meta-description": import("../types").RuleModule;
|
91
|
+
"require-frame-title": import("../types").RuleModule;
|
92
|
+
"no-non-scalable-viewport": import("../types").RuleModule;
|
93
|
+
"no-positive-tabindex": import("../types").RuleModule;
|
94
|
+
"require-meta-viewport": import("../types").RuleModule;
|
95
|
+
"require-meta-charset": import("../types").RuleModule;
|
96
|
+
"no-target-blank": import("../types").RuleModule;
|
97
|
+
"no-duplicate-attrs": import("../types").RuleModule;
|
98
|
+
"no-abstract-roles": import("../types").RuleModule;
|
99
|
+
"require-button-type": import("../types").RuleModule;
|
100
|
+
"no-aria-hidden-body": import("../types").RuleModule;
|
101
|
+
"no-multiple-empty-lines": import("../types").RuleModule;
|
102
|
+
"no-accesskey-attrs": import("../types").RuleModule;
|
103
|
+
"no-restricted-attrs": import("../types").RuleModule;
|
104
|
+
"no-trailing-spaces": import("../types").RuleModule;
|
105
|
+
"no-restricted-attr-values": import("../types").RuleModule;
|
106
|
+
"no-script-style-type": import("../types").RuleModule;
|
107
|
+
lowercase: import("../types").RuleModule;
|
108
|
+
"require-open-graph-protocol": import("../types").RuleModule;
|
109
|
+
"sort-attrs": import("../types").RuleModule;
|
110
|
+
};
|
111
|
+
};
|
112
|
+
};
|
113
|
+
};
|
114
|
+
json: {
|
115
|
+
jsonc: {
|
116
|
+
meta: typeof import("eslint-plugin-jsonc/meta");
|
117
|
+
configs: {
|
118
|
+
base: {
|
119
|
+
plugins: string[];
|
120
|
+
overrides: {
|
121
|
+
files: string[];
|
122
|
+
parser: string;
|
123
|
+
rules: {
|
124
|
+
strict: string;
|
125
|
+
"no-unused-expressions": string;
|
126
|
+
"no-unused-vars": string;
|
127
|
+
};
|
128
|
+
}[];
|
129
|
+
};
|
130
|
+
"auto-config": {
|
131
|
+
extends: string[];
|
132
|
+
rules: {
|
133
|
+
"jsonc/auto": string;
|
134
|
+
};
|
135
|
+
};
|
136
|
+
"recommended-with-json": {
|
137
|
+
extends: string[];
|
138
|
+
rules: {
|
139
|
+
"jsonc/comma-dangle": string;
|
140
|
+
"jsonc/no-bigint-literals": string;
|
141
|
+
"jsonc/no-binary-expression": string;
|
142
|
+
"jsonc/no-binary-numeric-literals": string;
|
143
|
+
"jsonc/no-comments": string;
|
144
|
+
"jsonc/no-dupe-keys": string;
|
145
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
146
|
+
"jsonc/no-floating-decimal": string;
|
147
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
148
|
+
"jsonc/no-infinity": string;
|
149
|
+
"jsonc/no-multi-str": string;
|
150
|
+
"jsonc/no-nan": string;
|
151
|
+
"jsonc/no-number-props": string;
|
152
|
+
"jsonc/no-numeric-separators": string;
|
153
|
+
"jsonc/no-octal-numeric-literals": string;
|
154
|
+
"jsonc/no-octal": string;
|
155
|
+
"jsonc/no-parenthesized": string;
|
156
|
+
"jsonc/no-plus-sign": string;
|
157
|
+
"jsonc/no-regexp-literals": string;
|
158
|
+
"jsonc/no-sparse-arrays": string;
|
159
|
+
"jsonc/no-template-literals": string;
|
160
|
+
"jsonc/no-undefined-value": string;
|
161
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
162
|
+
"jsonc/no-useless-escape": string;
|
163
|
+
"jsonc/quote-props": string;
|
164
|
+
"jsonc/quotes": string;
|
165
|
+
"jsonc/space-unary-ops": string;
|
166
|
+
"jsonc/valid-json-number": string;
|
167
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
168
|
+
};
|
169
|
+
};
|
170
|
+
"recommended-with-jsonc": {
|
171
|
+
extends: string[];
|
172
|
+
rules: {
|
173
|
+
"jsonc/no-bigint-literals": string;
|
174
|
+
"jsonc/no-binary-expression": string;
|
175
|
+
"jsonc/no-binary-numeric-literals": string;
|
176
|
+
"jsonc/no-dupe-keys": string;
|
177
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
178
|
+
"jsonc/no-floating-decimal": string;
|
179
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
180
|
+
"jsonc/no-infinity": string;
|
181
|
+
"jsonc/no-multi-str": string;
|
182
|
+
"jsonc/no-nan": string;
|
183
|
+
"jsonc/no-number-props": string;
|
184
|
+
"jsonc/no-numeric-separators": string;
|
185
|
+
"jsonc/no-octal-numeric-literals": string;
|
186
|
+
"jsonc/no-octal": string;
|
187
|
+
"jsonc/no-parenthesized": string;
|
188
|
+
"jsonc/no-plus-sign": string;
|
189
|
+
"jsonc/no-regexp-literals": string;
|
190
|
+
"jsonc/no-sparse-arrays": string;
|
191
|
+
"jsonc/no-template-literals": string;
|
192
|
+
"jsonc/no-undefined-value": string;
|
193
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
194
|
+
"jsonc/no-useless-escape": string;
|
195
|
+
"jsonc/quote-props": string;
|
196
|
+
"jsonc/quotes": string;
|
197
|
+
"jsonc/space-unary-ops": string;
|
198
|
+
"jsonc/valid-json-number": string;
|
199
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
200
|
+
};
|
201
|
+
};
|
202
|
+
"recommended-with-json5": {
|
203
|
+
extends: string[];
|
204
|
+
rules: {
|
205
|
+
"jsonc/no-bigint-literals": string;
|
206
|
+
"jsonc/no-binary-expression": string;
|
207
|
+
"jsonc/no-binary-numeric-literals": string;
|
208
|
+
"jsonc/no-dupe-keys": string;
|
209
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
210
|
+
"jsonc/no-number-props": string;
|
211
|
+
"jsonc/no-numeric-separators": string;
|
212
|
+
"jsonc/no-octal-numeric-literals": string;
|
213
|
+
"jsonc/no-octal": string;
|
214
|
+
"jsonc/no-parenthesized": string;
|
215
|
+
"jsonc/no-regexp-literals": string;
|
216
|
+
"jsonc/no-sparse-arrays": string;
|
217
|
+
"jsonc/no-template-literals": string;
|
218
|
+
"jsonc/no-undefined-value": string;
|
219
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
220
|
+
"jsonc/no-useless-escape": string;
|
221
|
+
"jsonc/space-unary-ops": string;
|
222
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
223
|
+
};
|
224
|
+
};
|
225
|
+
prettier: {
|
226
|
+
extends: string[];
|
227
|
+
rules: {
|
228
|
+
"jsonc/array-bracket-newline": string;
|
229
|
+
"jsonc/array-bracket-spacing": string;
|
230
|
+
"jsonc/array-element-newline": string;
|
231
|
+
"jsonc/comma-dangle": string;
|
232
|
+
"jsonc/comma-style": string;
|
233
|
+
"jsonc/indent": string;
|
234
|
+
"jsonc/key-spacing": string;
|
235
|
+
"jsonc/no-floating-decimal": string;
|
236
|
+
"jsonc/object-curly-newline": string;
|
237
|
+
"jsonc/object-curly-spacing": string;
|
238
|
+
"jsonc/object-property-newline": string;
|
239
|
+
"jsonc/quote-props": string;
|
240
|
+
"jsonc/quotes": string;
|
241
|
+
"jsonc/space-unary-ops": string;
|
242
|
+
};
|
243
|
+
};
|
244
|
+
all: {
|
245
|
+
extends: string[];
|
246
|
+
rules: {
|
247
|
+
[x: string]: string;
|
248
|
+
};
|
249
|
+
};
|
250
|
+
"flat/base": ({
|
251
|
+
plugins: {
|
252
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
253
|
+
};
|
254
|
+
files?: undefined;
|
255
|
+
languageOptions?: undefined;
|
256
|
+
rules?: undefined;
|
257
|
+
} | {
|
258
|
+
files: string[];
|
259
|
+
languageOptions: {
|
260
|
+
parser: typeof import("jsonc-eslint-parser");
|
261
|
+
};
|
262
|
+
rules: {
|
263
|
+
strict: "off";
|
264
|
+
"no-unused-expressions": "off";
|
265
|
+
"no-unused-vars": "off";
|
266
|
+
};
|
267
|
+
plugins?: undefined;
|
268
|
+
})[];
|
269
|
+
"flat/recommended-with-json": ({
|
270
|
+
plugins: {
|
271
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
272
|
+
};
|
273
|
+
files?: undefined;
|
274
|
+
languageOptions?: undefined;
|
275
|
+
rules?: undefined;
|
276
|
+
} | {
|
277
|
+
files: string[];
|
278
|
+
languageOptions: {
|
279
|
+
parser: typeof import("jsonc-eslint-parser");
|
280
|
+
};
|
281
|
+
rules: {
|
282
|
+
strict: "off";
|
283
|
+
"no-unused-expressions": "off";
|
284
|
+
"no-unused-vars": "off";
|
285
|
+
};
|
286
|
+
plugins?: undefined;
|
287
|
+
} | {
|
288
|
+
rules: {
|
289
|
+
"jsonc/comma-dangle": "error";
|
290
|
+
"jsonc/no-bigint-literals": "error";
|
291
|
+
"jsonc/no-binary-expression": "error";
|
292
|
+
"jsonc/no-binary-numeric-literals": "error";
|
293
|
+
"jsonc/no-comments": "error";
|
294
|
+
"jsonc/no-dupe-keys": "error";
|
295
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
296
|
+
"jsonc/no-floating-decimal": "error";
|
297
|
+
"jsonc/no-hexadecimal-numeric-literals": "error";
|
298
|
+
"jsonc/no-infinity": "error";
|
299
|
+
"jsonc/no-multi-str": "error";
|
300
|
+
"jsonc/no-nan": "error";
|
301
|
+
"jsonc/no-number-props": "error";
|
302
|
+
"jsonc/no-numeric-separators": "error";
|
303
|
+
"jsonc/no-octal-numeric-literals": "error";
|
304
|
+
"jsonc/no-octal": "error";
|
305
|
+
"jsonc/no-parenthesized": "error";
|
306
|
+
"jsonc/no-plus-sign": "error";
|
307
|
+
"jsonc/no-regexp-literals": "error";
|
308
|
+
"jsonc/no-sparse-arrays": "error";
|
309
|
+
"jsonc/no-template-literals": "error";
|
310
|
+
"jsonc/no-undefined-value": "error";
|
311
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
312
|
+
"jsonc/no-useless-escape": "error";
|
313
|
+
"jsonc/quote-props": "error";
|
314
|
+
"jsonc/quotes": "error";
|
315
|
+
"jsonc/space-unary-ops": "error";
|
316
|
+
"jsonc/valid-json-number": "error";
|
317
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
318
|
+
};
|
319
|
+
})[];
|
320
|
+
"flat/recommended-with-jsonc": ({
|
321
|
+
plugins: {
|
322
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
323
|
+
};
|
324
|
+
files?: undefined;
|
325
|
+
languageOptions?: undefined;
|
326
|
+
rules?: undefined;
|
327
|
+
} | {
|
328
|
+
files: string[];
|
329
|
+
languageOptions: {
|
330
|
+
parser: typeof import("jsonc-eslint-parser");
|
331
|
+
};
|
332
|
+
rules: {
|
333
|
+
strict: "off";
|
334
|
+
"no-unused-expressions": "off";
|
335
|
+
"no-unused-vars": "off";
|
336
|
+
};
|
337
|
+
plugins?: undefined;
|
338
|
+
} | {
|
339
|
+
rules: {
|
340
|
+
"jsonc/no-bigint-literals": "error";
|
341
|
+
"jsonc/no-binary-expression": "error";
|
342
|
+
"jsonc/no-binary-numeric-literals": "error";
|
343
|
+
"jsonc/no-dupe-keys": "error";
|
344
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
345
|
+
"jsonc/no-floating-decimal": "error";
|
346
|
+
"jsonc/no-hexadecimal-numeric-literals": "error";
|
347
|
+
"jsonc/no-infinity": "error";
|
348
|
+
"jsonc/no-multi-str": "error";
|
349
|
+
"jsonc/no-nan": "error";
|
350
|
+
"jsonc/no-number-props": "error";
|
351
|
+
"jsonc/no-numeric-separators": "error";
|
352
|
+
"jsonc/no-octal-numeric-literals": "error";
|
353
|
+
"jsonc/no-octal": "error";
|
354
|
+
"jsonc/no-parenthesized": "error";
|
355
|
+
"jsonc/no-plus-sign": "error";
|
356
|
+
"jsonc/no-regexp-literals": "error";
|
357
|
+
"jsonc/no-sparse-arrays": "error";
|
358
|
+
"jsonc/no-template-literals": "error";
|
359
|
+
"jsonc/no-undefined-value": "error";
|
360
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
361
|
+
"jsonc/no-useless-escape": "error";
|
362
|
+
"jsonc/quote-props": "error";
|
363
|
+
"jsonc/quotes": "error";
|
364
|
+
"jsonc/space-unary-ops": "error";
|
365
|
+
"jsonc/valid-json-number": "error";
|
366
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
367
|
+
};
|
368
|
+
})[];
|
369
|
+
"flat/recommended-with-json5": ({
|
370
|
+
plugins: {
|
371
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
372
|
+
};
|
373
|
+
files?: undefined;
|
374
|
+
languageOptions?: undefined;
|
375
|
+
rules?: undefined;
|
376
|
+
} | {
|
377
|
+
files: string[];
|
378
|
+
languageOptions: {
|
379
|
+
parser: typeof import("jsonc-eslint-parser");
|
380
|
+
};
|
381
|
+
rules: {
|
382
|
+
strict: "off";
|
383
|
+
"no-unused-expressions": "off";
|
384
|
+
"no-unused-vars": "off";
|
385
|
+
};
|
386
|
+
plugins?: undefined;
|
387
|
+
} | {
|
388
|
+
rules: {
|
389
|
+
"jsonc/no-bigint-literals": "error";
|
390
|
+
"jsonc/no-binary-expression": "error";
|
391
|
+
"jsonc/no-binary-numeric-literals": "error";
|
392
|
+
"jsonc/no-dupe-keys": "error";
|
393
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
394
|
+
"jsonc/no-number-props": "error";
|
395
|
+
"jsonc/no-numeric-separators": "error";
|
396
|
+
"jsonc/no-octal-numeric-literals": "error";
|
397
|
+
"jsonc/no-octal": "error";
|
398
|
+
"jsonc/no-parenthesized": "error";
|
399
|
+
"jsonc/no-regexp-literals": "error";
|
400
|
+
"jsonc/no-sparse-arrays": "error";
|
401
|
+
"jsonc/no-template-literals": "error";
|
402
|
+
"jsonc/no-undefined-value": "error";
|
403
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
404
|
+
"jsonc/no-useless-escape": "error";
|
405
|
+
"jsonc/space-unary-ops": "error";
|
406
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
407
|
+
};
|
408
|
+
})[];
|
409
|
+
"flat/prettier": ({
|
410
|
+
plugins: {
|
411
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
412
|
+
};
|
413
|
+
files?: undefined;
|
414
|
+
languageOptions?: undefined;
|
415
|
+
rules?: undefined;
|
416
|
+
} | {
|
417
|
+
files: string[];
|
418
|
+
languageOptions: {
|
419
|
+
parser: typeof import("jsonc-eslint-parser");
|
420
|
+
};
|
421
|
+
rules: {
|
422
|
+
strict: "off";
|
423
|
+
"no-unused-expressions": "off";
|
424
|
+
"no-unused-vars": "off";
|
425
|
+
};
|
426
|
+
plugins?: undefined;
|
427
|
+
} | {
|
428
|
+
rules: {
|
429
|
+
"jsonc/array-bracket-newline": "off";
|
430
|
+
"jsonc/array-bracket-spacing": "off";
|
431
|
+
"jsonc/array-element-newline": "off";
|
432
|
+
"jsonc/comma-dangle": "off";
|
433
|
+
"jsonc/comma-style": "off";
|
434
|
+
"jsonc/indent": "off";
|
435
|
+
"jsonc/key-spacing": "off";
|
436
|
+
"jsonc/no-floating-decimal": "off";
|
437
|
+
"jsonc/object-curly-newline": "off";
|
438
|
+
"jsonc/object-curly-spacing": "off";
|
439
|
+
"jsonc/object-property-newline": "off";
|
440
|
+
"jsonc/quote-props": "off";
|
441
|
+
"jsonc/quotes": "off";
|
442
|
+
"jsonc/space-unary-ops": "off";
|
443
|
+
};
|
444
|
+
})[];
|
445
|
+
"flat/all": ({
|
446
|
+
plugins: {
|
447
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
448
|
+
};
|
449
|
+
files?: undefined;
|
450
|
+
languageOptions?: undefined;
|
451
|
+
rules?: undefined;
|
452
|
+
} | {
|
453
|
+
files: string[];
|
454
|
+
languageOptions: {
|
455
|
+
parser: typeof import("jsonc-eslint-parser");
|
456
|
+
};
|
457
|
+
rules: {
|
458
|
+
strict: "off";
|
459
|
+
"no-unused-expressions": "off";
|
460
|
+
"no-unused-vars": "off";
|
461
|
+
};
|
462
|
+
plugins?: undefined;
|
463
|
+
} | {
|
464
|
+
rules: {
|
465
|
+
[x: string]: import("eslint").Linter.RuleEntry<any[]>;
|
466
|
+
};
|
467
|
+
})[];
|
468
|
+
};
|
469
|
+
rules: {
|
470
|
+
[key: string]: import("eslint-plugin-jsonc/types").RuleModule;
|
471
|
+
};
|
472
|
+
parseForESLint: typeof import("eslint-plugin-jsonc").parseForESLint;
|
473
|
+
parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
|
474
|
+
traverseNodes: typeof import("eslint-plugin-jsonc").traverseNodes;
|
475
|
+
getStaticJSONValue: typeof import("eslint-plugin-jsonc").getStaticJSONValue;
|
476
|
+
};
|
477
|
+
};
|
478
|
+
jsonc: {
|
479
|
+
jsonc: {
|
480
|
+
meta: typeof import("eslint-plugin-jsonc/meta");
|
481
|
+
configs: {
|
482
|
+
base: {
|
483
|
+
plugins: string[];
|
484
|
+
overrides: {
|
485
|
+
files: string[];
|
486
|
+
parser: string;
|
487
|
+
rules: {
|
488
|
+
strict: string;
|
489
|
+
"no-unused-expressions": string;
|
490
|
+
"no-unused-vars": string;
|
491
|
+
};
|
492
|
+
}[];
|
493
|
+
};
|
494
|
+
"auto-config": {
|
495
|
+
extends: string[];
|
496
|
+
rules: {
|
497
|
+
"jsonc/auto": string;
|
498
|
+
};
|
499
|
+
};
|
500
|
+
"recommended-with-json": {
|
501
|
+
extends: string[];
|
502
|
+
rules: {
|
503
|
+
"jsonc/comma-dangle": string;
|
504
|
+
"jsonc/no-bigint-literals": string;
|
505
|
+
"jsonc/no-binary-expression": string;
|
506
|
+
"jsonc/no-binary-numeric-literals": string;
|
507
|
+
"jsonc/no-comments": string;
|
508
|
+
"jsonc/no-dupe-keys": string;
|
509
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
510
|
+
"jsonc/no-floating-decimal": string;
|
511
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
512
|
+
"jsonc/no-infinity": string;
|
513
|
+
"jsonc/no-multi-str": string;
|
514
|
+
"jsonc/no-nan": string;
|
515
|
+
"jsonc/no-number-props": string;
|
516
|
+
"jsonc/no-numeric-separators": string;
|
517
|
+
"jsonc/no-octal-numeric-literals": string;
|
518
|
+
"jsonc/no-octal": string;
|
519
|
+
"jsonc/no-parenthesized": string;
|
520
|
+
"jsonc/no-plus-sign": string;
|
521
|
+
"jsonc/no-regexp-literals": string;
|
522
|
+
"jsonc/no-sparse-arrays": string;
|
523
|
+
"jsonc/no-template-literals": string;
|
524
|
+
"jsonc/no-undefined-value": string;
|
525
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
526
|
+
"jsonc/no-useless-escape": string;
|
527
|
+
"jsonc/quote-props": string;
|
528
|
+
"jsonc/quotes": string;
|
529
|
+
"jsonc/space-unary-ops": string;
|
530
|
+
"jsonc/valid-json-number": string;
|
531
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
532
|
+
};
|
533
|
+
};
|
534
|
+
"recommended-with-jsonc": {
|
535
|
+
extends: string[];
|
536
|
+
rules: {
|
537
|
+
"jsonc/no-bigint-literals": string;
|
538
|
+
"jsonc/no-binary-expression": string;
|
539
|
+
"jsonc/no-binary-numeric-literals": string;
|
540
|
+
"jsonc/no-dupe-keys": string;
|
541
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
542
|
+
"jsonc/no-floating-decimal": string;
|
543
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
544
|
+
"jsonc/no-infinity": string;
|
545
|
+
"jsonc/no-multi-str": string;
|
546
|
+
"jsonc/no-nan": string;
|
547
|
+
"jsonc/no-number-props": string;
|
548
|
+
"jsonc/no-numeric-separators": string;
|
549
|
+
"jsonc/no-octal-numeric-literals": string;
|
550
|
+
"jsonc/no-octal": string;
|
551
|
+
"jsonc/no-parenthesized": string;
|
552
|
+
"jsonc/no-plus-sign": string;
|
553
|
+
"jsonc/no-regexp-literals": string;
|
554
|
+
"jsonc/no-sparse-arrays": string;
|
555
|
+
"jsonc/no-template-literals": string;
|
556
|
+
"jsonc/no-undefined-value": string;
|
557
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
558
|
+
"jsonc/no-useless-escape": string;
|
559
|
+
"jsonc/quote-props": string;
|
560
|
+
"jsonc/quotes": string;
|
561
|
+
"jsonc/space-unary-ops": string;
|
562
|
+
"jsonc/valid-json-number": string;
|
563
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
564
|
+
};
|
565
|
+
};
|
566
|
+
"recommended-with-json5": {
|
567
|
+
extends: string[];
|
568
|
+
rules: {
|
569
|
+
"jsonc/no-bigint-literals": string;
|
570
|
+
"jsonc/no-binary-expression": string;
|
571
|
+
"jsonc/no-binary-numeric-literals": string;
|
572
|
+
"jsonc/no-dupe-keys": string;
|
573
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
574
|
+
"jsonc/no-number-props": string;
|
575
|
+
"jsonc/no-numeric-separators": string;
|
576
|
+
"jsonc/no-octal-numeric-literals": string;
|
577
|
+
"jsonc/no-octal": string;
|
578
|
+
"jsonc/no-parenthesized": string;
|
579
|
+
"jsonc/no-regexp-literals": string;
|
580
|
+
"jsonc/no-sparse-arrays": string;
|
581
|
+
"jsonc/no-template-literals": string;
|
582
|
+
"jsonc/no-undefined-value": string;
|
583
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
584
|
+
"jsonc/no-useless-escape": string;
|
585
|
+
"jsonc/space-unary-ops": string;
|
586
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
587
|
+
};
|
588
|
+
};
|
589
|
+
prettier: {
|
590
|
+
extends: string[];
|
591
|
+
rules: {
|
592
|
+
"jsonc/array-bracket-newline": string;
|
593
|
+
"jsonc/array-bracket-spacing": string;
|
594
|
+
"jsonc/array-element-newline": string;
|
595
|
+
"jsonc/comma-dangle": string;
|
596
|
+
"jsonc/comma-style": string;
|
597
|
+
"jsonc/indent": string;
|
598
|
+
"jsonc/key-spacing": string;
|
599
|
+
"jsonc/no-floating-decimal": string;
|
600
|
+
"jsonc/object-curly-newline": string;
|
601
|
+
"jsonc/object-curly-spacing": string;
|
602
|
+
"jsonc/object-property-newline": string;
|
603
|
+
"jsonc/quote-props": string;
|
604
|
+
"jsonc/quotes": string;
|
605
|
+
"jsonc/space-unary-ops": string;
|
606
|
+
};
|
607
|
+
};
|
608
|
+
all: {
|
609
|
+
extends: string[];
|
610
|
+
rules: {
|
611
|
+
[x: string]: string;
|
612
|
+
};
|
613
|
+
};
|
614
|
+
"flat/base": ({
|
615
|
+
plugins: {
|
616
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
617
|
+
};
|
618
|
+
files?: undefined;
|
619
|
+
languageOptions?: undefined;
|
620
|
+
rules?: undefined;
|
621
|
+
} | {
|
622
|
+
files: string[];
|
623
|
+
languageOptions: {
|
624
|
+
parser: typeof import("jsonc-eslint-parser");
|
625
|
+
};
|
626
|
+
rules: {
|
627
|
+
strict: "off";
|
628
|
+
"no-unused-expressions": "off";
|
629
|
+
"no-unused-vars": "off";
|
630
|
+
};
|
631
|
+
plugins?: undefined;
|
632
|
+
})[];
|
633
|
+
"flat/recommended-with-json": ({
|
634
|
+
plugins: {
|
635
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
636
|
+
};
|
637
|
+
files?: undefined;
|
638
|
+
languageOptions?: undefined;
|
639
|
+
rules?: undefined;
|
640
|
+
} | {
|
641
|
+
files: string[];
|
642
|
+
languageOptions: {
|
643
|
+
parser: typeof import("jsonc-eslint-parser");
|
644
|
+
};
|
645
|
+
rules: {
|
646
|
+
strict: "off";
|
647
|
+
"no-unused-expressions": "off";
|
648
|
+
"no-unused-vars": "off";
|
649
|
+
};
|
650
|
+
plugins?: undefined;
|
651
|
+
} | {
|
652
|
+
rules: {
|
653
|
+
"jsonc/comma-dangle": "error";
|
654
|
+
"jsonc/no-bigint-literals": "error";
|
655
|
+
"jsonc/no-binary-expression": "error";
|
656
|
+
"jsonc/no-binary-numeric-literals": "error";
|
657
|
+
"jsonc/no-comments": "error";
|
658
|
+
"jsonc/no-dupe-keys": "error";
|
659
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
660
|
+
"jsonc/no-floating-decimal": "error";
|
661
|
+
"jsonc/no-hexadecimal-numeric-literals": "error";
|
662
|
+
"jsonc/no-infinity": "error";
|
663
|
+
"jsonc/no-multi-str": "error";
|
664
|
+
"jsonc/no-nan": "error";
|
665
|
+
"jsonc/no-number-props": "error";
|
666
|
+
"jsonc/no-numeric-separators": "error";
|
667
|
+
"jsonc/no-octal-numeric-literals": "error";
|
668
|
+
"jsonc/no-octal": "error";
|
669
|
+
"jsonc/no-parenthesized": "error";
|
670
|
+
"jsonc/no-plus-sign": "error";
|
671
|
+
"jsonc/no-regexp-literals": "error";
|
672
|
+
"jsonc/no-sparse-arrays": "error";
|
673
|
+
"jsonc/no-template-literals": "error";
|
674
|
+
"jsonc/no-undefined-value": "error";
|
675
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
676
|
+
"jsonc/no-useless-escape": "error";
|
677
|
+
"jsonc/quote-props": "error";
|
678
|
+
"jsonc/quotes": "error";
|
679
|
+
"jsonc/space-unary-ops": "error";
|
680
|
+
"jsonc/valid-json-number": "error";
|
681
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
682
|
+
};
|
683
|
+
})[];
|
684
|
+
"flat/recommended-with-jsonc": ({
|
685
|
+
plugins: {
|
686
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
687
|
+
};
|
688
|
+
files?: undefined;
|
689
|
+
languageOptions?: undefined;
|
690
|
+
rules?: undefined;
|
691
|
+
} | {
|
692
|
+
files: string[];
|
693
|
+
languageOptions: {
|
694
|
+
parser: typeof import("jsonc-eslint-parser");
|
695
|
+
};
|
696
|
+
rules: {
|
697
|
+
strict: "off";
|
698
|
+
"no-unused-expressions": "off";
|
699
|
+
"no-unused-vars": "off";
|
700
|
+
};
|
701
|
+
plugins?: undefined;
|
702
|
+
} | {
|
703
|
+
rules: {
|
704
|
+
"jsonc/no-bigint-literals": "error";
|
705
|
+
"jsonc/no-binary-expression": "error";
|
706
|
+
"jsonc/no-binary-numeric-literals": "error";
|
707
|
+
"jsonc/no-dupe-keys": "error";
|
708
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
709
|
+
"jsonc/no-floating-decimal": "error";
|
710
|
+
"jsonc/no-hexadecimal-numeric-literals": "error";
|
711
|
+
"jsonc/no-infinity": "error";
|
712
|
+
"jsonc/no-multi-str": "error";
|
713
|
+
"jsonc/no-nan": "error";
|
714
|
+
"jsonc/no-number-props": "error";
|
715
|
+
"jsonc/no-numeric-separators": "error";
|
716
|
+
"jsonc/no-octal-numeric-literals": "error";
|
717
|
+
"jsonc/no-octal": "error";
|
718
|
+
"jsonc/no-parenthesized": "error";
|
719
|
+
"jsonc/no-plus-sign": "error";
|
720
|
+
"jsonc/no-regexp-literals": "error";
|
721
|
+
"jsonc/no-sparse-arrays": "error";
|
722
|
+
"jsonc/no-template-literals": "error";
|
723
|
+
"jsonc/no-undefined-value": "error";
|
724
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
725
|
+
"jsonc/no-useless-escape": "error";
|
726
|
+
"jsonc/quote-props": "error";
|
727
|
+
"jsonc/quotes": "error";
|
728
|
+
"jsonc/space-unary-ops": "error";
|
729
|
+
"jsonc/valid-json-number": "error";
|
730
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
731
|
+
};
|
732
|
+
})[];
|
733
|
+
"flat/recommended-with-json5": ({
|
734
|
+
plugins: {
|
735
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
736
|
+
};
|
737
|
+
files?: undefined;
|
738
|
+
languageOptions?: undefined;
|
739
|
+
rules?: undefined;
|
740
|
+
} | {
|
741
|
+
files: string[];
|
742
|
+
languageOptions: {
|
743
|
+
parser: typeof import("jsonc-eslint-parser");
|
744
|
+
};
|
745
|
+
rules: {
|
746
|
+
strict: "off";
|
747
|
+
"no-unused-expressions": "off";
|
748
|
+
"no-unused-vars": "off";
|
749
|
+
};
|
750
|
+
plugins?: undefined;
|
751
|
+
} | {
|
752
|
+
rules: {
|
753
|
+
"jsonc/no-bigint-literals": "error";
|
754
|
+
"jsonc/no-binary-expression": "error";
|
755
|
+
"jsonc/no-binary-numeric-literals": "error";
|
756
|
+
"jsonc/no-dupe-keys": "error";
|
757
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
758
|
+
"jsonc/no-number-props": "error";
|
759
|
+
"jsonc/no-numeric-separators": "error";
|
760
|
+
"jsonc/no-octal-numeric-literals": "error";
|
761
|
+
"jsonc/no-octal": "error";
|
762
|
+
"jsonc/no-parenthesized": "error";
|
763
|
+
"jsonc/no-regexp-literals": "error";
|
764
|
+
"jsonc/no-sparse-arrays": "error";
|
765
|
+
"jsonc/no-template-literals": "error";
|
766
|
+
"jsonc/no-undefined-value": "error";
|
767
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
768
|
+
"jsonc/no-useless-escape": "error";
|
769
|
+
"jsonc/space-unary-ops": "error";
|
770
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
771
|
+
};
|
772
|
+
})[];
|
773
|
+
"flat/prettier": ({
|
774
|
+
plugins: {
|
775
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
776
|
+
};
|
777
|
+
files?: undefined;
|
778
|
+
languageOptions?: undefined;
|
779
|
+
rules?: undefined;
|
780
|
+
} | {
|
781
|
+
files: string[];
|
782
|
+
languageOptions: {
|
783
|
+
parser: typeof import("jsonc-eslint-parser");
|
784
|
+
};
|
785
|
+
rules: {
|
786
|
+
strict: "off";
|
787
|
+
"no-unused-expressions": "off";
|
788
|
+
"no-unused-vars": "off";
|
789
|
+
};
|
790
|
+
plugins?: undefined;
|
791
|
+
} | {
|
792
|
+
rules: {
|
793
|
+
"jsonc/array-bracket-newline": "off";
|
794
|
+
"jsonc/array-bracket-spacing": "off";
|
795
|
+
"jsonc/array-element-newline": "off";
|
796
|
+
"jsonc/comma-dangle": "off";
|
797
|
+
"jsonc/comma-style": "off";
|
798
|
+
"jsonc/indent": "off";
|
799
|
+
"jsonc/key-spacing": "off";
|
800
|
+
"jsonc/no-floating-decimal": "off";
|
801
|
+
"jsonc/object-curly-newline": "off";
|
802
|
+
"jsonc/object-curly-spacing": "off";
|
803
|
+
"jsonc/object-property-newline": "off";
|
804
|
+
"jsonc/quote-props": "off";
|
805
|
+
"jsonc/quotes": "off";
|
806
|
+
"jsonc/space-unary-ops": "off";
|
807
|
+
};
|
808
|
+
})[];
|
809
|
+
"flat/all": ({
|
810
|
+
plugins: {
|
811
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
812
|
+
};
|
813
|
+
files?: undefined;
|
814
|
+
languageOptions?: undefined;
|
815
|
+
rules?: undefined;
|
816
|
+
} | {
|
817
|
+
files: string[];
|
818
|
+
languageOptions: {
|
819
|
+
parser: typeof import("jsonc-eslint-parser");
|
820
|
+
};
|
821
|
+
rules: {
|
822
|
+
strict: "off";
|
823
|
+
"no-unused-expressions": "off";
|
824
|
+
"no-unused-vars": "off";
|
825
|
+
};
|
826
|
+
plugins?: undefined;
|
827
|
+
} | {
|
828
|
+
rules: {
|
829
|
+
[x: string]: import("eslint").Linter.RuleEntry<any[]>;
|
830
|
+
};
|
831
|
+
})[];
|
832
|
+
};
|
833
|
+
rules: {
|
834
|
+
[key: string]: import("eslint-plugin-jsonc/types").RuleModule;
|
835
|
+
};
|
836
|
+
parseForESLint: typeof import("eslint-plugin-jsonc").parseForESLint;
|
837
|
+
parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
|
838
|
+
traverseNodes: typeof import("eslint-plugin-jsonc").traverseNodes;
|
839
|
+
getStaticJSONValue: typeof import("eslint-plugin-jsonc").getStaticJSONValue;
|
840
|
+
};
|
841
|
+
};
|
842
|
+
yml: {
|
843
|
+
yml: {
|
844
|
+
meta: typeof import("eslint-plugin-yml/lib/meta.js");
|
845
|
+
configs: {
|
846
|
+
base: {
|
847
|
+
plugins: string[];
|
848
|
+
overrides: {
|
849
|
+
files: string[];
|
850
|
+
parser: string;
|
851
|
+
rules: {
|
852
|
+
"no-irregular-whitespace": string;
|
853
|
+
"no-unused-vars": string;
|
854
|
+
"spaced-comment": string;
|
855
|
+
};
|
856
|
+
}[];
|
857
|
+
};
|
858
|
+
recommended: {
|
859
|
+
extends: string[];
|
860
|
+
rules: {
|
861
|
+
"yml/no-empty-document": string;
|
862
|
+
"yml/no-empty-key": string;
|
863
|
+
"yml/no-empty-mapping-value": string;
|
864
|
+
"yml/no-empty-sequence-entry": string;
|
865
|
+
"yml/no-irregular-whitespace": string;
|
866
|
+
"yml/no-tab-indent": string;
|
867
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
868
|
+
};
|
869
|
+
};
|
870
|
+
standard: {
|
871
|
+
extends: string[];
|
872
|
+
rules: {
|
873
|
+
"yml/block-mapping-question-indicator-newline": string;
|
874
|
+
"yml/block-mapping": string;
|
875
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
876
|
+
"yml/block-sequence": string;
|
877
|
+
"yml/flow-mapping-curly-newline": string;
|
878
|
+
"yml/flow-mapping-curly-spacing": string;
|
879
|
+
"yml/flow-sequence-bracket-newline": string;
|
880
|
+
"yml/flow-sequence-bracket-spacing": string;
|
881
|
+
"yml/indent": string;
|
882
|
+
"yml/key-spacing": string;
|
883
|
+
"yml/no-empty-document": string;
|
884
|
+
"yml/no-empty-key": string;
|
885
|
+
"yml/no-empty-mapping-value": string;
|
886
|
+
"yml/no-empty-sequence-entry": string;
|
887
|
+
"yml/no-irregular-whitespace": string;
|
888
|
+
"yml/no-tab-indent": string;
|
889
|
+
"yml/plain-scalar": string;
|
890
|
+
"yml/quotes": string;
|
891
|
+
"yml/spaced-comment": string;
|
892
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
893
|
+
};
|
894
|
+
};
|
895
|
+
prettier: {
|
896
|
+
extends: string[];
|
897
|
+
rules: {
|
898
|
+
"yml/block-mapping-colon-indicator-newline": string;
|
899
|
+
"yml/block-mapping-question-indicator-newline": string;
|
900
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
901
|
+
"yml/flow-mapping-curly-newline": string;
|
902
|
+
"yml/flow-mapping-curly-spacing": string;
|
903
|
+
"yml/flow-sequence-bracket-newline": string;
|
904
|
+
"yml/flow-sequence-bracket-spacing": string;
|
905
|
+
"yml/indent": string;
|
906
|
+
"yml/key-spacing": string;
|
907
|
+
"yml/no-multiple-empty-lines": string;
|
908
|
+
"yml/no-trailing-zeros": string;
|
909
|
+
"yml/quotes": string;
|
910
|
+
};
|
911
|
+
};
|
912
|
+
"flat/base": ({
|
913
|
+
plugins: {
|
914
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
915
|
+
};
|
916
|
+
files?: undefined;
|
917
|
+
languageOptions?: undefined;
|
918
|
+
rules?: undefined;
|
919
|
+
} | {
|
920
|
+
files: string[];
|
921
|
+
languageOptions: {
|
922
|
+
parser: typeof import("yaml-eslint-parser");
|
923
|
+
};
|
924
|
+
rules: {
|
925
|
+
"no-irregular-whitespace": "off";
|
926
|
+
"no-unused-vars": "off";
|
927
|
+
"spaced-comment": "off";
|
928
|
+
};
|
929
|
+
plugins?: undefined;
|
930
|
+
})[];
|
931
|
+
"flat/recommended": ({
|
932
|
+
plugins: {
|
933
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
934
|
+
};
|
935
|
+
files?: undefined;
|
936
|
+
languageOptions?: undefined;
|
937
|
+
rules?: undefined;
|
938
|
+
} | {
|
939
|
+
files: string[];
|
940
|
+
languageOptions: {
|
941
|
+
parser: typeof import("yaml-eslint-parser");
|
942
|
+
};
|
943
|
+
rules: {
|
944
|
+
"no-irregular-whitespace": "off";
|
945
|
+
"no-unused-vars": "off";
|
946
|
+
"spaced-comment": "off";
|
947
|
+
};
|
948
|
+
plugins?: undefined;
|
949
|
+
} | {
|
950
|
+
rules: {
|
951
|
+
"yml/no-empty-document": "error";
|
952
|
+
"yml/no-empty-key": "error";
|
953
|
+
"yml/no-empty-mapping-value": "error";
|
954
|
+
"yml/no-empty-sequence-entry": "error";
|
955
|
+
"yml/no-irregular-whitespace": "error";
|
956
|
+
"yml/no-tab-indent": "error";
|
957
|
+
"yml/vue-custom-block/no-parsing-error": "error";
|
958
|
+
};
|
959
|
+
})[];
|
960
|
+
"flat/standard": ({
|
961
|
+
plugins: {
|
962
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
963
|
+
};
|
964
|
+
files?: undefined;
|
965
|
+
languageOptions?: undefined;
|
966
|
+
rules?: undefined;
|
967
|
+
} | {
|
968
|
+
files: string[];
|
969
|
+
languageOptions: {
|
970
|
+
parser: typeof import("yaml-eslint-parser");
|
971
|
+
};
|
972
|
+
rules: {
|
973
|
+
"no-irregular-whitespace": "off";
|
974
|
+
"no-unused-vars": "off";
|
975
|
+
"spaced-comment": "off";
|
976
|
+
};
|
977
|
+
plugins?: undefined;
|
978
|
+
} | {
|
979
|
+
rules: {
|
980
|
+
"yml/block-mapping-question-indicator-newline": "error";
|
981
|
+
"yml/block-mapping": "error";
|
982
|
+
"yml/block-sequence-hyphen-indicator-newline": "error";
|
983
|
+
"yml/block-sequence": "error";
|
984
|
+
"yml/flow-mapping-curly-newline": "error";
|
985
|
+
"yml/flow-mapping-curly-spacing": "error";
|
986
|
+
"yml/flow-sequence-bracket-newline": "error";
|
987
|
+
"yml/flow-sequence-bracket-spacing": "error";
|
988
|
+
"yml/indent": "error";
|
989
|
+
"yml/key-spacing": "error";
|
990
|
+
"yml/no-empty-document": "error";
|
991
|
+
"yml/no-empty-key": "error";
|
992
|
+
"yml/no-empty-mapping-value": "error";
|
993
|
+
"yml/no-empty-sequence-entry": "error";
|
994
|
+
"yml/no-irregular-whitespace": "error";
|
995
|
+
"yml/no-tab-indent": "error";
|
996
|
+
"yml/plain-scalar": "error";
|
997
|
+
"yml/quotes": "error";
|
998
|
+
"yml/spaced-comment": "error";
|
999
|
+
"yml/vue-custom-block/no-parsing-error": "error";
|
1000
|
+
};
|
1001
|
+
})[];
|
1002
|
+
"flat/prettier": ({
|
1003
|
+
plugins: {
|
1004
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
1005
|
+
};
|
1006
|
+
files?: undefined;
|
1007
|
+
languageOptions?: undefined;
|
1008
|
+
rules?: undefined;
|
1009
|
+
} | {
|
1010
|
+
files: string[];
|
1011
|
+
languageOptions: {
|
1012
|
+
parser: typeof import("yaml-eslint-parser");
|
1013
|
+
};
|
1014
|
+
rules: {
|
1015
|
+
"no-irregular-whitespace": "off";
|
1016
|
+
"no-unused-vars": "off";
|
1017
|
+
"spaced-comment": "off";
|
1018
|
+
};
|
1019
|
+
plugins?: undefined;
|
1020
|
+
} | {
|
1021
|
+
rules: {
|
1022
|
+
"yml/block-mapping-colon-indicator-newline": "off";
|
1023
|
+
"yml/block-mapping-question-indicator-newline": "off";
|
1024
|
+
"yml/block-sequence-hyphen-indicator-newline": "off";
|
1025
|
+
"yml/flow-mapping-curly-newline": "off";
|
1026
|
+
"yml/flow-mapping-curly-spacing": "off";
|
1027
|
+
"yml/flow-sequence-bracket-newline": "off";
|
1028
|
+
"yml/flow-sequence-bracket-spacing": "off";
|
1029
|
+
"yml/indent": "off";
|
1030
|
+
"yml/key-spacing": "off";
|
1031
|
+
"yml/no-multiple-empty-lines": "off";
|
1032
|
+
"yml/no-trailing-zeros": "off";
|
1033
|
+
"yml/quotes": "off";
|
1034
|
+
};
|
1035
|
+
})[];
|
1036
|
+
};
|
1037
|
+
rules: {
|
1038
|
+
[key: string]: import("eslint-plugin-yml/lib/types.js").RuleModule;
|
1039
|
+
};
|
1040
|
+
};
|
1041
|
+
};
|
1042
|
+
};
|
1043
|
+
export default Plugins;
|
1044
|
+
//# sourceMappingURL=plugins.d.ts.map
|