linted 22.0.2 → 22.0.3-rc.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { Input } from "@eslinted/core";
2
- export default function (extensions?: Input["extensions"]): import("@eslinted/core").Output;
2
+ export default function (extensions?: Input["extensions"]): readonly [import("@eslinted/core/dist/interface/configs/globals").Plugins, import("@eslinted/core/dist/interface/configs/globals").Settings, import("@eslinted/core/dist/interface/configs/globals").Ignores, ...import("@eslinted/core/dist/interface/configs").Scoped[]];
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAI5C,MAAM,CAAC,OAAO,WAAW,UAAU,GAAE,KAAK,CAAC,YAAY,CAAM,mCAW5D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAM5C,MAAM,CAAC,OAAO,WAAW,UAAU,GAAE,KAAK,CAAC,YAAY,CAAM,8QAW5D"}
package/dist/index.js CHANGED
@@ -1,10 +1,11 @@
1
1
  import Core from "@eslinted/core";
2
- import imports from "./imports.js";
2
+ import plugins from "./plugins.js";
3
+ import parsers from "./parsers.js";
3
4
  import * as defaults from "@eslinted/config";
4
5
  export default function (extensions = {}) {
5
6
  try {
6
7
  return Core({
7
- imports,
8
+ imports: { plugins, parsers },
8
9
  defaults,
9
10
  extensions,
10
11
  });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAElC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,MAAM,CAAC,OAAO,WAAW,aAAkC,EAAE;IAC3D,IAAI,CAAC;QACH,OAAO,IAAI,CAAC;YACV,OAAO;YACP,QAAQ;YACR,UAAU;SACX,CAAC,CAAC;IACL,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAC9C,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,MAAM,CAAC,OAAO,WAAW,aAAkC,EAAE;IAC3D,IAAI,CAAC;QACH,OAAO,IAAI,CAAC;YACV,OAAO,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;YAC7B,QAAQ;YACR,UAAU;SACX,CAAC,CAAC;IACL,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAC9C,CAAC;AACH,CAAC"}
@@ -11,4 +11,4 @@ declare const _default: {
11
11
  readonly yml: typeof yml;
12
12
  };
13
13
  export default _default;
14
- //# sourceMappingURL=index.d.ts.map
14
+ //# sourceMappingURL=parsers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../src/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,oBAAoB,CAAC;;;;;;;;AAErC,wBAMW"}
@@ -10,4 +10,4 @@ export default {
10
10
  jsonc,
11
11
  yml,
12
12
  };
13
- //# sourceMappingURL=index.js.map
13
+ //# sourceMappingURL=parsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parsers.js","sourceRoot":"","sources":["../src/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAe;IACb,EAAE;IACF,MAAM;IACN,IAAI;IACJ,KAAK;IACL,GAAG;CACK,CAAC"}
@@ -5,7 +5,7 @@ declare const _default: {
5
5
  configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
6
6
  };
7
7
  readonly "@typescript-eslint": {
8
- configs: unknown;
8
+ readonly configs: unknown;
9
9
  };
10
10
  readonly svelte: {
11
11
  meta: typeof import("eslint-plugin-svelte/lib/meta");
@@ -637,4 +637,4 @@ declare const _default: {
637
637
  };
638
638
  };
639
639
  export default _default;
640
- //# sourceMappingURL=index.d.ts.map
640
+ //# sourceMappingURL=plugins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../src/plugins.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,qBAAqB,CAAC;;;;;;mCAOgB;QAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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 {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../src/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,eAAe;IACb,YAAY,EAAE,SAAS;IACvB,oBAAoB,EAAE,iBAA6D;IACnF,MAAM;IACN,KAAK;IACL,cAAc,EAAE,WAAW;IAC3B,KAAK;IACL,GAAG;CACK,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "22.11.0",
3
3
  "name": "linted",
4
- "version": "22.0.2",
4
+ "version": "22.0.3-rc.1",
5
5
  "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
6
6
  "keywords": [
7
7
  "eslint",
@@ -63,7 +63,7 @@
63
63
  },
64
64
  "dependencies": {
65
65
  "@eslinted/config": "1.0.0",
66
- "@eslinted/core": "13.0.0",
66
+ "@eslinted/core": "13.1.0",
67
67
  "@html-eslint/eslint-plugin": "0.27.0",
68
68
  "@html-eslint/parser": "0.27.0",
69
69
  "@stylistic/eslint-plugin": "2.10.1",
package/src/index.ts CHANGED
@@ -1,12 +1,13 @@
1
- import Core from "@eslinted/core";
2
1
  import type { Input } from "@eslinted/core";
3
- import imports from "./imports";
2
+ import Core from "@eslinted/core";
3
+ import plugins from "./plugins";
4
+ import parsers from "./parsers";
4
5
  import * as defaults from "@eslinted/config";
5
6
 
6
7
  export default function (extensions: Input["extensions"] = {}) {
7
8
  try {
8
9
  return Core({
9
- imports,
10
+ imports: { plugins, parsers },
10
11
  defaults,
11
12
  extensions,
12
13
  });
@@ -8,7 +8,7 @@ import yml from "eslint-plugin-yml";
8
8
 
9
9
  export default {
10
10
  "@stylistic": stylistic,
11
- "@typescript-eslint": typescript_eslint as unknown as { configs: unknown },
11
+ "@typescript-eslint": typescript_eslint as unknown as { readonly configs: unknown },
12
12
  svelte,
13
13
  mocha,
14
14
  "@html-eslint": html_eslint,
package/dist/imports.d.ts DELETED
@@ -1,648 +0,0 @@
1
- declare const _default: {
2
- readonly plugins: {
3
- readonly "@stylistic": {
4
- rules: import("@stylistic/eslint-plugin").Rules;
5
- configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
6
- };
7
- readonly "@typescript-eslint": {
8
- configs: unknown;
9
- };
10
- readonly svelte: {
11
- meta: typeof import("eslint-plugin-svelte/lib/meta");
12
- configs: {
13
- base: import("eslint").Linter.LegacyConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
14
- recommended: import("eslint").Linter.LegacyConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
15
- prettier: import("eslint").Linter.LegacyConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
16
- all: import("eslint").Linter.LegacyConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
17
- "flat/base": import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
18
- "flat/recommended": import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
19
- "flat/prettier": import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
20
- "flat/all": import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
21
- };
22
- rules: {
23
- [key: string]: import("eslint-plugin-svelte/lib/types").RuleModule;
24
- };
25
- processors: {
26
- ".svelte": typeof import("eslint-plugin-svelte/lib/processor");
27
- svelte: typeof import("eslint-plugin-svelte/lib/processor");
28
- };
29
- };
30
- readonly mocha: typeof import("eslint-plugin-mocha");
31
- readonly "@html-eslint": {
32
- configs: {
33
- recommended: typeof import("@html-eslint/eslint-plugin/types/configs/recommended");
34
- "flat/recommended": import("eslint").Linter.FlatConfig;
35
- rules: {
36
- "require-lang": import("../types").RuleModule;
37
- "require-img-alt": import("../types").RuleModule;
38
- "require-doctype": import("../types").RuleModule;
39
- "require-title": import("../types").RuleModule;
40
- "no-duplicate-id": import("../types").RuleModule;
41
- "no-inline-styles": import("../types").RuleModule;
42
- "no-multiple-h1": import("../types").RuleModule;
43
- "no-extra-spacing-attrs": import("../types").RuleModule;
44
- "no-extra-spacing-text": import("../types").RuleModule;
45
- "attrs-newline": import("../types").RuleModule;
46
- "element-newline": import("../types").RuleModule;
47
- "no-skip-heading-levels": import("../types").RuleModule;
48
- "require-li-container": import("../types").RuleModule;
49
- indent: import("../types").RuleModule;
50
- quotes: import("../types").RuleModule;
51
- "id-naming-convention": import("../types").RuleModule;
52
- "no-obsolete-tags": import("../types").RuleModule;
53
- "require-attrs": import("../types").RuleModule;
54
- "require-closing-tags": import("../types").RuleModule;
55
- "require-meta-description": import("../types").RuleModule;
56
- "require-frame-title": import("../types").RuleModule;
57
- "no-non-scalable-viewport": import("../types").RuleModule;
58
- "no-positive-tabindex": import("../types").RuleModule;
59
- "require-meta-viewport": import("../types").RuleModule;
60
- "require-meta-charset": import("../types").RuleModule;
61
- "no-target-blank": import("../types").RuleModule;
62
- "no-duplicate-attrs": import("../types").RuleModule;
63
- "no-abstract-roles": import("../types").RuleModule;
64
- "require-button-type": import("../types").RuleModule;
65
- "no-aria-hidden-body": import("../types").RuleModule;
66
- "no-multiple-empty-lines": import("../types").RuleModule;
67
- "no-accesskey-attrs": import("../types").RuleModule;
68
- "no-restricted-attrs": import("../types").RuleModule;
69
- "no-trailing-spaces": import("../types").RuleModule;
70
- "no-restricted-attr-values": import("../types").RuleModule;
71
- "no-script-style-type": import("../types").RuleModule;
72
- lowercase: import("../types").RuleModule;
73
- "require-open-graph-protocol": import("../types").RuleModule;
74
- "sort-attrs": import("../types").RuleModule;
75
- };
76
- };
77
- };
78
- readonly jsonc: {
79
- meta: typeof import("eslint-plugin-jsonc/meta");
80
- configs: {
81
- base: {
82
- plugins: string[];
83
- overrides: {
84
- files: string[];
85
- parser: string;
86
- rules: {
87
- strict: string;
88
- "no-unused-expressions": string;
89
- "no-unused-vars": string;
90
- };
91
- }[];
92
- };
93
- "auto-config": {
94
- extends: string[];
95
- rules: {
96
- "jsonc/auto": string;
97
- };
98
- };
99
- "recommended-with-json": {
100
- extends: string[];
101
- rules: {
102
- "jsonc/comma-dangle": string;
103
- "jsonc/no-bigint-literals": string;
104
- "jsonc/no-binary-expression": string;
105
- "jsonc/no-binary-numeric-literals": string;
106
- "jsonc/no-comments": string;
107
- "jsonc/no-dupe-keys": string;
108
- "jsonc/no-escape-sequence-in-identifier": string;
109
- "jsonc/no-floating-decimal": string;
110
- "jsonc/no-hexadecimal-numeric-literals": string;
111
- "jsonc/no-infinity": string;
112
- "jsonc/no-multi-str": string;
113
- "jsonc/no-nan": string;
114
- "jsonc/no-number-props": string;
115
- "jsonc/no-numeric-separators": string;
116
- "jsonc/no-octal-numeric-literals": string;
117
- "jsonc/no-octal": string;
118
- "jsonc/no-parenthesized": string;
119
- "jsonc/no-plus-sign": string;
120
- "jsonc/no-regexp-literals": string;
121
- "jsonc/no-sparse-arrays": string;
122
- "jsonc/no-template-literals": string;
123
- "jsonc/no-undefined-value": string;
124
- "jsonc/no-unicode-codepoint-escapes": string;
125
- "jsonc/no-useless-escape": string;
126
- "jsonc/quote-props": string;
127
- "jsonc/quotes": string;
128
- "jsonc/space-unary-ops": string;
129
- "jsonc/valid-json-number": string;
130
- "jsonc/vue-custom-block/no-parsing-error": string;
131
- };
132
- };
133
- "recommended-with-jsonc": {
134
- extends: string[];
135
- rules: {
136
- "jsonc/no-bigint-literals": string;
137
- "jsonc/no-binary-expression": string;
138
- "jsonc/no-binary-numeric-literals": string;
139
- "jsonc/no-dupe-keys": string;
140
- "jsonc/no-escape-sequence-in-identifier": string;
141
- "jsonc/no-floating-decimal": string;
142
- "jsonc/no-hexadecimal-numeric-literals": string;
143
- "jsonc/no-infinity": string;
144
- "jsonc/no-multi-str": string;
145
- "jsonc/no-nan": string;
146
- "jsonc/no-number-props": string;
147
- "jsonc/no-numeric-separators": string;
148
- "jsonc/no-octal-numeric-literals": string;
149
- "jsonc/no-octal": string;
150
- "jsonc/no-parenthesized": string;
151
- "jsonc/no-plus-sign": string;
152
- "jsonc/no-regexp-literals": string;
153
- "jsonc/no-sparse-arrays": string;
154
- "jsonc/no-template-literals": string;
155
- "jsonc/no-undefined-value": string;
156
- "jsonc/no-unicode-codepoint-escapes": string;
157
- "jsonc/no-useless-escape": string;
158
- "jsonc/quote-props": string;
159
- "jsonc/quotes": string;
160
- "jsonc/space-unary-ops": string;
161
- "jsonc/valid-json-number": string;
162
- "jsonc/vue-custom-block/no-parsing-error": string;
163
- };
164
- };
165
- "recommended-with-json5": {
166
- extends: string[];
167
- rules: {
168
- "jsonc/no-bigint-literals": string;
169
- "jsonc/no-binary-expression": string;
170
- "jsonc/no-binary-numeric-literals": string;
171
- "jsonc/no-dupe-keys": string;
172
- "jsonc/no-escape-sequence-in-identifier": string;
173
- "jsonc/no-number-props": string;
174
- "jsonc/no-numeric-separators": string;
175
- "jsonc/no-octal-numeric-literals": string;
176
- "jsonc/no-octal": string;
177
- "jsonc/no-parenthesized": string;
178
- "jsonc/no-regexp-literals": string;
179
- "jsonc/no-sparse-arrays": string;
180
- "jsonc/no-template-literals": string;
181
- "jsonc/no-undefined-value": string;
182
- "jsonc/no-unicode-codepoint-escapes": string;
183
- "jsonc/no-useless-escape": string;
184
- "jsonc/space-unary-ops": string;
185
- "jsonc/vue-custom-block/no-parsing-error": string;
186
- };
187
- };
188
- prettier: {
189
- extends: string[];
190
- rules: {
191
- "jsonc/array-bracket-newline": string;
192
- "jsonc/array-bracket-spacing": string;
193
- "jsonc/array-element-newline": string;
194
- "jsonc/comma-dangle": string;
195
- "jsonc/comma-style": string;
196
- "jsonc/indent": string;
197
- "jsonc/key-spacing": string;
198
- "jsonc/no-floating-decimal": string;
199
- "jsonc/object-curly-newline": string;
200
- "jsonc/object-curly-spacing": string;
201
- "jsonc/object-property-newline": string;
202
- "jsonc/quote-props": string;
203
- "jsonc/quotes": string;
204
- "jsonc/space-unary-ops": string;
205
- };
206
- };
207
- all: {
208
- extends: string[];
209
- rules: {
210
- [x: string]: string;
211
- };
212
- };
213
- "flat/base": ({
214
- plugins: {
215
- readonly jsonc: import("eslint").ESLint.Plugin;
216
- };
217
- files?: undefined;
218
- languageOptions?: undefined;
219
- rules?: undefined;
220
- } | {
221
- files: string[];
222
- languageOptions: {
223
- parser: typeof import("jsonc-eslint-parser");
224
- };
225
- rules: {
226
- strict: "off";
227
- "no-unused-expressions": "off";
228
- "no-unused-vars": "off";
229
- };
230
- plugins?: undefined;
231
- })[];
232
- "flat/recommended-with-json": ({
233
- plugins: {
234
- readonly jsonc: import("eslint").ESLint.Plugin;
235
- };
236
- files?: undefined;
237
- languageOptions?: undefined;
238
- rules?: undefined;
239
- } | {
240
- files: string[];
241
- languageOptions: {
242
- parser: typeof import("jsonc-eslint-parser");
243
- };
244
- rules: {
245
- strict: "off";
246
- "no-unused-expressions": "off";
247
- "no-unused-vars": "off";
248
- };
249
- plugins?: undefined;
250
- } | {
251
- rules: {
252
- "jsonc/comma-dangle": "error";
253
- "jsonc/no-bigint-literals": "error";
254
- "jsonc/no-binary-expression": "error";
255
- "jsonc/no-binary-numeric-literals": "error";
256
- "jsonc/no-comments": "error";
257
- "jsonc/no-dupe-keys": "error";
258
- "jsonc/no-escape-sequence-in-identifier": "error";
259
- "jsonc/no-floating-decimal": "error";
260
- "jsonc/no-hexadecimal-numeric-literals": "error";
261
- "jsonc/no-infinity": "error";
262
- "jsonc/no-multi-str": "error";
263
- "jsonc/no-nan": "error";
264
- "jsonc/no-number-props": "error";
265
- "jsonc/no-numeric-separators": "error";
266
- "jsonc/no-octal-numeric-literals": "error";
267
- "jsonc/no-octal": "error";
268
- "jsonc/no-parenthesized": "error";
269
- "jsonc/no-plus-sign": "error";
270
- "jsonc/no-regexp-literals": "error";
271
- "jsonc/no-sparse-arrays": "error";
272
- "jsonc/no-template-literals": "error";
273
- "jsonc/no-undefined-value": "error";
274
- "jsonc/no-unicode-codepoint-escapes": "error";
275
- "jsonc/no-useless-escape": "error";
276
- "jsonc/quote-props": "error";
277
- "jsonc/quotes": "error";
278
- "jsonc/space-unary-ops": "error";
279
- "jsonc/valid-json-number": "error";
280
- "jsonc/vue-custom-block/no-parsing-error": "error";
281
- };
282
- })[];
283
- "flat/recommended-with-jsonc": ({
284
- plugins: {
285
- readonly jsonc: import("eslint").ESLint.Plugin;
286
- };
287
- files?: undefined;
288
- languageOptions?: undefined;
289
- rules?: undefined;
290
- } | {
291
- files: string[];
292
- languageOptions: {
293
- parser: typeof import("jsonc-eslint-parser");
294
- };
295
- rules: {
296
- strict: "off";
297
- "no-unused-expressions": "off";
298
- "no-unused-vars": "off";
299
- };
300
- plugins?: undefined;
301
- } | {
302
- rules: {
303
- "jsonc/no-bigint-literals": "error";
304
- "jsonc/no-binary-expression": "error";
305
- "jsonc/no-binary-numeric-literals": "error";
306
- "jsonc/no-dupe-keys": "error";
307
- "jsonc/no-escape-sequence-in-identifier": "error";
308
- "jsonc/no-floating-decimal": "error";
309
- "jsonc/no-hexadecimal-numeric-literals": "error";
310
- "jsonc/no-infinity": "error";
311
- "jsonc/no-multi-str": "error";
312
- "jsonc/no-nan": "error";
313
- "jsonc/no-number-props": "error";
314
- "jsonc/no-numeric-separators": "error";
315
- "jsonc/no-octal-numeric-literals": "error";
316
- "jsonc/no-octal": "error";
317
- "jsonc/no-parenthesized": "error";
318
- "jsonc/no-plus-sign": "error";
319
- "jsonc/no-regexp-literals": "error";
320
- "jsonc/no-sparse-arrays": "error";
321
- "jsonc/no-template-literals": "error";
322
- "jsonc/no-undefined-value": "error";
323
- "jsonc/no-unicode-codepoint-escapes": "error";
324
- "jsonc/no-useless-escape": "error";
325
- "jsonc/quote-props": "error";
326
- "jsonc/quotes": "error";
327
- "jsonc/space-unary-ops": "error";
328
- "jsonc/valid-json-number": "error";
329
- "jsonc/vue-custom-block/no-parsing-error": "error";
330
- };
331
- })[];
332
- "flat/recommended-with-json5": ({
333
- plugins: {
334
- readonly jsonc: import("eslint").ESLint.Plugin;
335
- };
336
- files?: undefined;
337
- languageOptions?: undefined;
338
- rules?: undefined;
339
- } | {
340
- files: string[];
341
- languageOptions: {
342
- parser: typeof import("jsonc-eslint-parser");
343
- };
344
- rules: {
345
- strict: "off";
346
- "no-unused-expressions": "off";
347
- "no-unused-vars": "off";
348
- };
349
- plugins?: undefined;
350
- } | {
351
- rules: {
352
- "jsonc/no-bigint-literals": "error";
353
- "jsonc/no-binary-expression": "error";
354
- "jsonc/no-binary-numeric-literals": "error";
355
- "jsonc/no-dupe-keys": "error";
356
- "jsonc/no-escape-sequence-in-identifier": "error";
357
- "jsonc/no-number-props": "error";
358
- "jsonc/no-numeric-separators": "error";
359
- "jsonc/no-octal-numeric-literals": "error";
360
- "jsonc/no-octal": "error";
361
- "jsonc/no-parenthesized": "error";
362
- "jsonc/no-regexp-literals": "error";
363
- "jsonc/no-sparse-arrays": "error";
364
- "jsonc/no-template-literals": "error";
365
- "jsonc/no-undefined-value": "error";
366
- "jsonc/no-unicode-codepoint-escapes": "error";
367
- "jsonc/no-useless-escape": "error";
368
- "jsonc/space-unary-ops": "error";
369
- "jsonc/vue-custom-block/no-parsing-error": "error";
370
- };
371
- })[];
372
- "flat/prettier": ({
373
- plugins: {
374
- readonly jsonc: import("eslint").ESLint.Plugin;
375
- };
376
- files?: undefined;
377
- languageOptions?: undefined;
378
- rules?: undefined;
379
- } | {
380
- files: string[];
381
- languageOptions: {
382
- parser: typeof import("jsonc-eslint-parser");
383
- };
384
- rules: {
385
- strict: "off";
386
- "no-unused-expressions": "off";
387
- "no-unused-vars": "off";
388
- };
389
- plugins?: undefined;
390
- } | {
391
- rules: {
392
- "jsonc/array-bracket-newline": "off";
393
- "jsonc/array-bracket-spacing": "off";
394
- "jsonc/array-element-newline": "off";
395
- "jsonc/comma-dangle": "off";
396
- "jsonc/comma-style": "off";
397
- "jsonc/indent": "off";
398
- "jsonc/key-spacing": "off";
399
- "jsonc/no-floating-decimal": "off";
400
- "jsonc/object-curly-newline": "off";
401
- "jsonc/object-curly-spacing": "off";
402
- "jsonc/object-property-newline": "off";
403
- "jsonc/quote-props": "off";
404
- "jsonc/quotes": "off";
405
- "jsonc/space-unary-ops": "off";
406
- };
407
- })[];
408
- "flat/all": ({
409
- plugins: {
410
- readonly jsonc: import("eslint").ESLint.Plugin;
411
- };
412
- files?: undefined;
413
- languageOptions?: undefined;
414
- rules?: undefined;
415
- } | {
416
- files: string[];
417
- languageOptions: {
418
- parser: typeof import("jsonc-eslint-parser");
419
- };
420
- rules: {
421
- strict: "off";
422
- "no-unused-expressions": "off";
423
- "no-unused-vars": "off";
424
- };
425
- plugins?: undefined;
426
- } | {
427
- rules: {
428
- [x: string]: import("eslint").Linter.RuleEntry<any[]>;
429
- };
430
- })[];
431
- };
432
- rules: {
433
- [key: string]: import("eslint-plugin-jsonc/types").RuleModule;
434
- };
435
- parseForESLint: typeof import("jsonc-eslint-parser").parseForESLint;
436
- parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
437
- traverseNodes: typeof import("jsonc-eslint-parser").traverseNodes;
438
- getStaticJSONValue: typeof import("jsonc-eslint-parser").getStaticJSONValue;
439
- };
440
- readonly yml: {
441
- meta: typeof import("eslint-plugin-yml/lib/meta");
442
- configs: {
443
- base: {
444
- plugins: string[];
445
- overrides: {
446
- files: string[];
447
- parser: string;
448
- rules: {
449
- "no-irregular-whitespace": string;
450
- "no-unused-vars": string;
451
- "spaced-comment": string;
452
- };
453
- }[];
454
- };
455
- recommended: {
456
- extends: string[];
457
- rules: {
458
- "yml/no-empty-document": string;
459
- "yml/no-empty-key": string;
460
- "yml/no-empty-mapping-value": string;
461
- "yml/no-empty-sequence-entry": string;
462
- "yml/no-irregular-whitespace": string;
463
- "yml/no-tab-indent": string;
464
- "yml/vue-custom-block/no-parsing-error": string;
465
- };
466
- };
467
- standard: {
468
- extends: string[];
469
- rules: {
470
- "yml/block-mapping-question-indicator-newline": string;
471
- "yml/block-mapping": string;
472
- "yml/block-sequence-hyphen-indicator-newline": string;
473
- "yml/block-sequence": string;
474
- "yml/flow-mapping-curly-newline": string;
475
- "yml/flow-mapping-curly-spacing": string;
476
- "yml/flow-sequence-bracket-newline": string;
477
- "yml/flow-sequence-bracket-spacing": string;
478
- "yml/indent": string;
479
- "yml/key-spacing": string;
480
- "yml/no-empty-document": string;
481
- "yml/no-empty-key": string;
482
- "yml/no-empty-mapping-value": string;
483
- "yml/no-empty-sequence-entry": string;
484
- "yml/no-irregular-whitespace": string;
485
- "yml/no-tab-indent": string;
486
- "yml/plain-scalar": string;
487
- "yml/quotes": string;
488
- "yml/spaced-comment": string;
489
- "yml/vue-custom-block/no-parsing-error": string;
490
- };
491
- };
492
- prettier: {
493
- extends: string[];
494
- rules: {
495
- "yml/block-mapping-colon-indicator-newline": string;
496
- "yml/block-mapping-question-indicator-newline": string;
497
- "yml/block-sequence-hyphen-indicator-newline": string;
498
- "yml/flow-mapping-curly-newline": string;
499
- "yml/flow-mapping-curly-spacing": string;
500
- "yml/flow-sequence-bracket-newline": string;
501
- "yml/flow-sequence-bracket-spacing": string;
502
- "yml/indent": string;
503
- "yml/key-spacing": string;
504
- "yml/no-multiple-empty-lines": string;
505
- "yml/no-trailing-zeros": string;
506
- "yml/quotes": string;
507
- };
508
- };
509
- "flat/base": ({
510
- plugins: {
511
- readonly yml: import("eslint").ESLint.Plugin;
512
- };
513
- files?: undefined;
514
- languageOptions?: undefined;
515
- rules?: undefined;
516
- } | {
517
- files: string[];
518
- languageOptions: {
519
- parser: typeof import("yaml-eslint-parser");
520
- };
521
- rules: {
522
- "no-irregular-whitespace": "off";
523
- "no-unused-vars": "off";
524
- "spaced-comment": "off";
525
- };
526
- plugins?: undefined;
527
- })[];
528
- "flat/recommended": ({
529
- plugins: {
530
- readonly yml: import("eslint").ESLint.Plugin;
531
- };
532
- files?: undefined;
533
- languageOptions?: undefined;
534
- rules?: undefined;
535
- } | {
536
- files: string[];
537
- languageOptions: {
538
- parser: typeof import("yaml-eslint-parser");
539
- };
540
- rules: {
541
- "no-irregular-whitespace": "off";
542
- "no-unused-vars": "off";
543
- "spaced-comment": "off";
544
- };
545
- plugins?: undefined;
546
- } | {
547
- rules: {
548
- "yml/no-empty-document": "error";
549
- "yml/no-empty-key": "error";
550
- "yml/no-empty-mapping-value": "error";
551
- "yml/no-empty-sequence-entry": "error";
552
- "yml/no-irregular-whitespace": "error";
553
- "yml/no-tab-indent": "error";
554
- "yml/vue-custom-block/no-parsing-error": "error";
555
- };
556
- })[];
557
- "flat/standard": ({
558
- plugins: {
559
- readonly yml: import("eslint").ESLint.Plugin;
560
- };
561
- files?: undefined;
562
- languageOptions?: undefined;
563
- rules?: undefined;
564
- } | {
565
- files: string[];
566
- languageOptions: {
567
- parser: typeof import("yaml-eslint-parser");
568
- };
569
- rules: {
570
- "no-irregular-whitespace": "off";
571
- "no-unused-vars": "off";
572
- "spaced-comment": "off";
573
- };
574
- plugins?: undefined;
575
- } | {
576
- rules: {
577
- "yml/block-mapping-question-indicator-newline": "error";
578
- "yml/block-mapping": "error";
579
- "yml/block-sequence-hyphen-indicator-newline": "error";
580
- "yml/block-sequence": "error";
581
- "yml/flow-mapping-curly-newline": "error";
582
- "yml/flow-mapping-curly-spacing": "error";
583
- "yml/flow-sequence-bracket-newline": "error";
584
- "yml/flow-sequence-bracket-spacing": "error";
585
- "yml/indent": "error";
586
- "yml/key-spacing": "error";
587
- "yml/no-empty-document": "error";
588
- "yml/no-empty-key": "error";
589
- "yml/no-empty-mapping-value": "error";
590
- "yml/no-empty-sequence-entry": "error";
591
- "yml/no-irregular-whitespace": "error";
592
- "yml/no-tab-indent": "error";
593
- "yml/plain-scalar": "error";
594
- "yml/quotes": "error";
595
- "yml/spaced-comment": "error";
596
- "yml/vue-custom-block/no-parsing-error": "error";
597
- };
598
- })[];
599
- "flat/prettier": ({
600
- plugins: {
601
- readonly yml: import("eslint").ESLint.Plugin;
602
- };
603
- files?: undefined;
604
- languageOptions?: undefined;
605
- rules?: undefined;
606
- } | {
607
- files: string[];
608
- languageOptions: {
609
- parser: typeof import("yaml-eslint-parser");
610
- };
611
- rules: {
612
- "no-irregular-whitespace": "off";
613
- "no-unused-vars": "off";
614
- "spaced-comment": "off";
615
- };
616
- plugins?: undefined;
617
- } | {
618
- rules: {
619
- "yml/block-mapping-colon-indicator-newline": "off";
620
- "yml/block-mapping-question-indicator-newline": "off";
621
- "yml/block-sequence-hyphen-indicator-newline": "off";
622
- "yml/flow-mapping-curly-newline": "off";
623
- "yml/flow-mapping-curly-spacing": "off";
624
- "yml/flow-sequence-bracket-newline": "off";
625
- "yml/flow-sequence-bracket-spacing": "off";
626
- "yml/indent": "off";
627
- "yml/key-spacing": "off";
628
- "yml/no-multiple-empty-lines": "off";
629
- "yml/no-trailing-zeros": "off";
630
- "yml/quotes": "off";
631
- };
632
- })[];
633
- };
634
- rules: {
635
- [key: string]: import("eslint-plugin-yml/lib/types").RuleModule;
636
- };
637
- };
638
- };
639
- readonly parsers: {
640
- readonly ts: typeof import("@typescript-eslint/parser");
641
- readonly svelte: typeof import("svelte-eslint-parser");
642
- readonly html: typeof import("@html-eslint/parser");
643
- readonly jsonc: typeof import("jsonc-eslint-parser");
644
- readonly yml: typeof import("yaml-eslint-parser");
645
- };
646
- };
647
- export default _default;
648
- //# sourceMappingURL=imports.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../src/imports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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import plugins from "./plugins/index.js";
2
- import parsers from "./parsers/index.js";
3
- export default {
4
- plugins,
5
- parsers,
6
- };
7
- //# sourceMappingURL=imports.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"imports.js","sourceRoot":"","sources":["../src/imports.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,eAAe;IACb,OAAO;IACP,OAAO;CACC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/parsers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,oBAAoB,CAAC;;;;;;;;AAErC,wBAMW"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/parsers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAe;IACb,EAAE;IACF,MAAM;IACN,IAAI;IACJ,KAAK;IACL,GAAG;CACK,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,qBAAqB,CAAC;;;;;;mCAOgB;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,eAAe;IACb,YAAY,EAAE,SAAS;IACvB,oBAAoB,EAAE,iBAAoD;IAC1E,MAAM;IACN,KAAK;IACL,cAAc,EAAE,WAAW;IAC3B,KAAK;IACL,GAAG;CACK,CAAC"}
package/src/imports.ts DELETED
@@ -1,7 +0,0 @@
1
- import plugins from "./plugins";
2
- import parsers from "./parsers";
3
-
4
- export default {
5
- plugins,
6
- parsers,
7
- } as const;
File without changes