linted 21.0.0-rc.7 → 21.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/imports/index.d.ts +363 -1
- package/dist/imports/index.d.ts.map +1 -1
- package/dist/imports/parsers.d.ts +2 -0
- package/dist/imports/parsers.d.ts.map +1 -1
- package/dist/imports/parsers.js +2 -0
- package/dist/imports/parsers.js.map +1 -1
- package/dist/imports/plugins.d.ts +362 -2
- package/dist/imports/plugins.d.ts.map +1 -1
- package/dist/imports/plugins.js +2 -2
- package/dist/imports/plugins.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/rules/index.d.ts +122 -1509
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/js/enable.d.ts.map +1 -1
- package/dist/rules/js/enable.js +37 -11
- package/dist/rules/js/enable.js.map +1 -1
- package/dist/rules/js/index.d.ts.map +1 -1
- package/dist/rules/js/index.js +4 -1
- package/dist/rules/js/index.js.map +1 -1
- package/dist/rules/js/stylistic.d.ts.map +1 -1
- package/dist/rules/js/stylistic.js +73 -20
- package/dist/rules/js/stylistic.js.map +1 -1
- package/dist/rules/json/enable.d.ts +23 -2
- package/dist/rules/json/enable.d.ts.map +1 -1
- package/dist/rules/json/enable.js +24 -4
- package/dist/rules/json/enable.js.map +1 -1
- package/dist/rules/json/enable_x.d.ts +50 -0
- package/dist/rules/json/enable_x.d.ts.map +1 -0
- package/dist/rules/json/enable_x.js +80 -0
- package/dist/rules/json/enable_x.js.map +1 -0
- package/dist/rules/json/index.d.ts +52 -747
- package/dist/rules/json/index.d.ts.map +1 -1
- package/dist/rules/json/index.js +2 -2
- package/dist/rules/json/index.js.map +1 -1
- package/dist/rules/jsonc/index.d.ts +77 -3
- package/dist/rules/jsonc/index.d.ts.map +1 -1
- package/dist/rules/jsonc/index.js +5 -1
- package/dist/rules/jsonc/index.js.map +1 -1
- package/dist/rules/jsonc/override.d.ts +6 -0
- package/dist/rules/jsonc/override.d.ts.map +1 -0
- package/dist/rules/jsonc/override.js +12 -0
- package/dist/rules/jsonc/override.js.map +1 -0
- package/dist/rules/mocha/disable.d.ts.map +1 -1
- package/dist/rules/mocha/disable.js +1 -1
- package/dist/rules/mocha/disable.js.map +1 -1
- package/dist/rules/mocha/index.d.ts.map +1 -1
- package/dist/rules/mocha/index.js +4 -2
- package/dist/rules/mocha/index.js.map +1 -1
- package/dist/rules/svelte/disable.d.ts.map +1 -1
- package/dist/rules/svelte/disable.js +1 -1
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/enable.d.ts.map +1 -1
- package/dist/rules/svelte/enable.js +5 -3
- package/dist/rules/svelte/enable.js.map +1 -1
- package/dist/rules/svelte/enable_x.d.ts.map +1 -1
- package/dist/rules/svelte/enable_x.js +1 -2
- package/dist/rules/svelte/enable_x.js.map +1 -1
- package/dist/rules/ts/disable.d.ts.map +1 -1
- package/dist/rules/ts/disable.js +1 -1
- package/dist/rules/ts/disable.js.map +1 -1
- package/dist/rules/ts/disable_x.d.ts.map +1 -1
- package/dist/rules/ts/disable_x.js +1 -1
- package/dist/rules/ts/disable_x.js.map +1 -1
- package/dist/rules/ts/enable.d.ts.map +1 -1
- package/dist/rules/ts/enable.js +21 -7
- package/dist/rules/ts/enable.js.map +1 -1
- package/dist/rules/ts/enable_x.d.ts.map +1 -1
- package/dist/rules/ts/enable_x.js +1 -2
- package/dist/rules/ts/enable_x.js.map +1 -1
- package/dist/rules/yml/enable.d.ts.map +1 -1
- package/dist/rules/yml/enable.js +13 -5
- package/dist/rules/yml/enable.js.map +1 -1
- package/dist/rules/yml/enable_x.d.ts.map +1 -1
- package/dist/rules/yml/enable_x.js +5 -3
- package/dist/rules/yml/enable_x.js.map +1 -1
- package/dist/rules/yml/index.d.ts.map +1 -1
- package/dist/rules/yml/index.js +4 -1
- package/dist/rules/yml/index.js.map +1 -1
- package/package.json +4 -3
- package/src/imports/parsers.ts +2 -0
- package/src/imports/plugins.ts +2 -2
- package/src/index.ts +8 -2
- package/src/rules/html/enable.ts +1 -1
- package/src/rules/js/enable.ts +41 -15
- package/src/rules/js/index.ts +4 -1
- package/src/rules/js/stylistic.ts +77 -24
- package/src/rules/json/enable.ts +29 -6
- package/src/rules/json/enable_x.ts +91 -0
- package/src/rules/json/index.ts +2 -2
- package/src/rules/jsonc/index.ts +5 -1
- package/src/rules/jsonc/override.ts +18 -0
- package/src/rules/mocha/disable.ts +4 -1
- package/src/rules/mocha/index.ts +4 -2
- package/src/rules/svelte/disable.ts +4 -1
- package/src/rules/svelte/enable.ts +9 -7
- package/src/rules/svelte/enable_x.ts +7 -5
- package/src/rules/ts/disable.ts +4 -1
- package/src/rules/ts/disable_x.ts +4 -1
- package/src/rules/ts/enable.ts +27 -10
- package/src/rules/ts/enable_x.ts +7 -5
- package/src/rules/yml/enable.ts +20 -8
- package/src/rules/yml/enable_x.ts +11 -6
- package/src/rules/yml/index.ts +4 -1
- package/dist/rules/mocha/base.d.ts +0 -37
- package/dist/rules/mocha/base.d.ts.map +0 -1
- package/dist/rules/mocha/base.js +0 -7
- package/dist/rules/mocha/base.js.map +0 -1
- package/dist/rules/mochaJs/index.d.ts +0 -800
- package/dist/rules/mochaJs/index.d.ts.map +0 -1
- package/dist/rules/mochaJs/index.js +0 -7
- package/dist/rules/mochaJs/index.js.map +0 -1
- package/src/rules/mocha/base.ts +0 -7
- package/src/rules/mochaJs/index.ts +0 -7
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
package/dist/rules/json/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,QAAQ;IACR,MAAM;CACP,CAAC"}
|
@@ -1,3 +1,77 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
declare const _default: (readonly ["enable-extend", {
|
2
|
+
readonly "jsonc/array-bracket-newline": "off";
|
3
|
+
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
4
|
+
readonly singleValue: false;
|
5
|
+
readonly objectsInArrays: false;
|
6
|
+
readonly arraysInArrays: false;
|
7
|
+
}];
|
8
|
+
readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
|
9
|
+
readonly "jsonc/comma-dangle": readonly ["error", "never"];
|
10
|
+
readonly "jsonc/comma-style": readonly ["error", "last"];
|
11
|
+
readonly "jsonc/indent": readonly ["error", 2];
|
12
|
+
readonly "jsonc/key-spacing": readonly ["error", {
|
13
|
+
readonly beforeColon: false;
|
14
|
+
readonly afterColon: true;
|
15
|
+
readonly mode: "strict";
|
16
|
+
}];
|
17
|
+
readonly "jsonc/no-dupe-keys": "error";
|
18
|
+
readonly "jsonc/no-floating-decimal": "error";
|
19
|
+
readonly "jsonc/no-irregular-whitespace": readonly ["error", {
|
20
|
+
readonly skipStrings: true;
|
21
|
+
readonly skipComments: true;
|
22
|
+
readonly skipRegExps: true;
|
23
|
+
readonly skipTemplates: true;
|
24
|
+
readonly skipJSXText: true;
|
25
|
+
}];
|
26
|
+
readonly "jsonc/no-multi-str": "error";
|
27
|
+
readonly "jsonc/no-octal-escape": "error";
|
28
|
+
readonly "jsonc/no-octal": "error";
|
29
|
+
readonly "jsonc/no-sparse-arrays": "error";
|
30
|
+
readonly "jsonc/no-useless-escape": "error";
|
31
|
+
readonly "jsonc/object-curly-newline": readonly ["error", {
|
32
|
+
readonly consistent: true;
|
33
|
+
readonly multiline: true;
|
34
|
+
readonly minProperties: 4;
|
35
|
+
}];
|
36
|
+
readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
|
37
|
+
readonly arraysInObjects: true;
|
38
|
+
readonly objectsInObjects: true;
|
39
|
+
}];
|
40
|
+
readonly "jsonc/object-property-newline": readonly ["error", {
|
41
|
+
readonly allowAllPropertiesOnSameLine: true;
|
42
|
+
}];
|
43
|
+
readonly "jsonc/quote-props": readonly ["error", "always"];
|
44
|
+
readonly "jsonc/quotes": readonly ["error", "double", {
|
45
|
+
readonly avoidEscape: false;
|
46
|
+
}];
|
47
|
+
readonly "jsonc/space-unary-ops": "error";
|
48
|
+
}] | readonly ["enable", {
|
49
|
+
readonly "jsonc/auto": "off";
|
50
|
+
readonly "jsonc/key-name-casing": "off";
|
51
|
+
readonly "jsonc/no-bigint-literals": "error";
|
52
|
+
readonly "jsonc/no-binary-expression": "error";
|
53
|
+
readonly "jsonc/no-binary-numeric-literals": "error";
|
54
|
+
readonly "jsonc/no-comments": "error";
|
55
|
+
readonly "jsonc/no-escape-sequence-in-identifier": "error";
|
56
|
+
readonly "jsonc/no-hexadecimal-numeric-literals": "error";
|
57
|
+
readonly "jsonc/no-infinity": "error";
|
58
|
+
readonly "jsonc/no-nan": "error";
|
59
|
+
readonly "jsonc/no-number-props": "error";
|
60
|
+
readonly "jsonc/no-numeric-separators": "error";
|
61
|
+
readonly "jsonc/no-octal-numeric-literals": "error";
|
62
|
+
readonly "jsonc/no-parenthesized": "error";
|
63
|
+
readonly "jsonc/no-plus-sign": "error";
|
64
|
+
readonly "jsonc/no-regexp-literals": "error";
|
65
|
+
readonly "jsonc/no-template-literals": "error";
|
66
|
+
readonly "jsonc/no-undefined-value": "error";
|
67
|
+
readonly "jsonc/no-unicode-codepoint-escapes": "error";
|
68
|
+
readonly "jsonc/sort-array-values": "off";
|
69
|
+
readonly "jsonc/sort-keys": "off";
|
70
|
+
readonly "jsonc/valid-json-number": "error";
|
71
|
+
readonly "jsonc/vue-custom-block/no-parsing-error": "error";
|
72
|
+
}] | readonly ["override", {
|
73
|
+
readonly "jsonc/no-comments": "off";
|
74
|
+
readonly "jsonc/comma-dangle": readonly ["error", "always-multiline"];
|
75
|
+
}])[];
|
76
|
+
export default _default;
|
77
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,eAAe;IACb,GAAG,IAAI;IACP,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"override.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":";;;;AAOA,wBAUW"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"override.js","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,GAAG,EACH,eAAe,GAChB,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,mBAAmB,EAAE,GAAG;QACxB,oBAAoB,EAAE;YACpB,KAAK;YACL,eAAe;SAChB;KACF;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/disable.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/disable.ts"],"names":[],"mappings":";;;AAKA,wBAKW"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/mocha/disable.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/mocha/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,OAAO;IACP;QACE,uBAAuB,EAAE,GAAG;KAC7B;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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appings":"AAAA,OAAO,EAAE,MAAM,OAAO,CAAC;AACvB,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,OAAO,CAAC;AACvB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,GAAG,EAAE;IACL,OAAO;IACP,MAAM;CACP,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":";;;AAKA,wBAMW"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,OAAO;IACP;QAEE,uBAAuB,EAAE,GAAG;KAC7B;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBA4NW"}
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { enable,
|
2
|
-
const { ERROR, OFF } = level, { Ignore, Never, Always, Below, Double, } = state;
|
1
|
+
import { enable, ERROR, OFF, Ignore, Never, Always, Below, Double, } from "../../_strings/index.js";
|
3
2
|
export default [
|
4
3
|
enable,
|
5
4
|
{
|
@@ -177,7 +176,10 @@ export default [
|
|
177
176
|
},
|
178
177
|
],
|
179
178
|
"svelte/sort-attributes": OFF,
|
180
|
-
"svelte/spaced-html-comment": [
|
179
|
+
"svelte/spaced-html-comment": [
|
180
|
+
ERROR,
|
181
|
+
Always,
|
182
|
+
],
|
181
183
|
"svelte/no-goto-without-base": ERROR,
|
182
184
|
"svelte/comment-directive": [
|
183
185
|
ERROR,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/svelte/enable.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/svelte/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,MAAM,EACN,KAAK,EACL,MAAM,EACN,KAAK,EACL,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAGE,+BAA+B,EAAE,KAAK;QACtC,4BAA4B,EAAE,KAAK;QACnC,+BAA+B,EAAE,KAAK;QACtC,8BAA8B,EAAE,KAAK;QACrC,iCAAiC,EAAE,KAAK;QACxC,+BAA+B,EAAE,KAAK;QACtC,6BAA6B,EAAE,KAAK;QACpC,qDAAqD,EAAE,KAAK;QAC5D,gCAAgC,EAAE,KAAK;QACvC,oCAAoC,EAAE,KAAK;QAC3C,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,KAAK,EAAE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B,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;aACf;SACF;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;aACf;SACF;QACD,wBAAwB,EAAE,GAAG;QAC7B,4BAA4B,EAAE;YAC5B,KAAK;YACL,MAAM;SACP;QAMD,6BAA6B,EAAE,KAAK;QAMpC,0BAA0B,EAAE;YAC1B,KAAK;YACL;gBACE,6BAA6B,EAAE,IAAI;aACpC;SACF;QACD,eAAe,EAAE,KAAK;KAIvB;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/enable_x.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/enable_x.ts"],"names":[],"mappings":";;;;;;AAQA,wBAaW"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/svelte/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/svelte/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,GAAG,EACH,KAAK,EACL,IAAI,GACL,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,8BAA8B,EAAE;YAC9B,KAAK;YACL,IAAI;YACJ;gBACE,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,2BAA2B,EAAE,GAAG;KACjC;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAKA,wBAmBW"}
|
package/dist/rules/ts/disable.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,OAAO;IACP;QAEE,mBAAmB,EAAE,GAAG;QACxB,iBAAiB,EAAE,GAAG;QACtB,cAAc,EAAE,GAAG;QACnB,uBAAuB,EAAE,GAAG;QAC5B,cAAc,EAAE,GAAG;QACnB,gBAAgB,EAAE,GAAG;QACrB,cAAc,EAAE,GAAG;QACnB,kBAAkB,EAAE,GAAG;QACvB,sBAAsB,EAAE,GAAG;QAC3B,UAAU,EAAE,GAAG;QACf,gBAAgB,EAAE,GAAG;QACrB,oBAAoB,EAAE,GAAG;QACzB,mBAAmB,EAAE,GAAG;QACxB,cAAc,EAAE,GAAG;KACpB;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"disable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBA6BW"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable_x.js","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"disable_x.js","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,SAAS;IACT;QAEE,wBAAwB,EAAE,GAAG;QAC7B,mBAAmB,EAAE,GAAG;QACxB,oBAAoB,EAAE,GAAG;QACzB,cAAc,EAAE,GAAG;QACnB,mBAAmB,EAAE,GAAG;QACxB,YAAY,EAAE,GAAG;QACjB,sBAAsB,EAAE,GAAG;QAC3B,uBAAuB,EAAE,GAAG;QAC5B,mBAAmB,EAAE,GAAG;QACxB,iBAAiB,EAAE,GAAG;QACtB,iBAAiB,EAAE,GAAG;QACtB,cAAc,EAAE,GAAG;QACnB,kBAAkB,EAAE,GAAG;QACvB,cAAc,EAAE,GAAG;QACnB,uBAAuB,EAAE,GAAG;QAC5B,WAAW,EAAE,GAAG;QAChB,kBAAkB,EAAE,GAAG;QACvB,uBAAuB,EAAE,GAAG;QAC5B,gBAAgB,EAAE,GAAG;QACrB,sBAAsB,EAAE,GAAG;QAC3B,wBAAwB,EAAE,GAAG;QAC7B,sBAAsB,EAAE,GAAG;QAC3B,8BAA8B,EAAE,GAAG;QACnC,eAAe,EAAE,GAAG;KACrB;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBA+iBW"}
|
package/dist/rules/ts/enable.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
import { enable,
|
2
|
-
const { ERROR, OFF } = level, { Never, Explicit } = state;
|
1
|
+
import { enable, ERROR, OFF, Never, Explicit, } from "../../_strings/index.js";
|
3
2
|
export default [
|
4
3
|
enable,
|
5
4
|
{
|
@@ -25,9 +24,18 @@ export default [
|
|
25
24
|
},
|
26
25
|
],
|
27
26
|
"@typescript-eslint/ban-tslint-comment": ERROR,
|
28
|
-
"@typescript-eslint/class-literal-property-style": [
|
29
|
-
|
30
|
-
|
27
|
+
"@typescript-eslint/class-literal-property-style": [
|
28
|
+
ERROR,
|
29
|
+
"fields",
|
30
|
+
],
|
31
|
+
"@typescript-eslint/consistent-generic-constructors": [
|
32
|
+
ERROR,
|
33
|
+
"constructor",
|
34
|
+
],
|
35
|
+
"@typescript-eslint/consistent-indexed-object-style": [
|
36
|
+
ERROR,
|
37
|
+
"record",
|
38
|
+
],
|
31
39
|
"@typescript-eslint/consistent-type-assertions": [
|
32
40
|
ERROR,
|
33
41
|
{
|
@@ -194,7 +202,10 @@ export default [
|
|
194
202
|
},
|
195
203
|
},
|
196
204
|
],
|
197
|
-
"@typescript-eslint/method-signature-style": [
|
205
|
+
"@typescript-eslint/method-signature-style": [
|
206
|
+
ERROR,
|
207
|
+
"property",
|
208
|
+
],
|
198
209
|
"@typescript-eslint/naming-convention": OFF,
|
199
210
|
"@typescript-eslint/no-array-delete": ERROR,
|
200
211
|
"@typescript-eslint/no-base-to-string": [
|
@@ -455,7 +466,10 @@ export default [
|
|
455
466
|
allowRegExp: false,
|
456
467
|
},
|
457
468
|
],
|
458
|
-
"@typescript-eslint/return-await": [
|
469
|
+
"@typescript-eslint/return-await": [
|
470
|
+
ERROR,
|
471
|
+
"in-try-catch",
|
472
|
+
],
|
459
473
|
"@typescript-eslint/strict-boolean-expressions": [
|
460
474
|
ERROR,
|
461
475
|
{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,QAAQ,GACT,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,iDAAiD,EAAE,GAAG;QACtD,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,OAAO;aAClB;SACF;QACD,mCAAmC,EAAE,KAAK;QAC1C,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,iBAAiB,EAAE;oBACjB,iBAAiB,EAAE,aAAa;iBACjC;gBACD,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,wBAAwB,EAAE,EAAE;aAC7B;SACF;QACD,uCAAuC,EAAE,KAAK;QAC9C,iDAAiD,EAAE;YACjD,KAAK;YACL,QAAQ;SACT;QACD,oDAAoD,EAAE;YACpD,KAAK;YACL,aAAa;SACd;QACD,oDAAoD,EAAE;YACpD,KAAK;YACL,QAAQ;SACT;QACD,+CAA+C,EAAE;YAC/C,KAAK;YACL;gBACE,cAAc,EAAE,IAAI;gBACpB,2BAA2B,EAAE,KAAK;aACnC;SACF;QACD,gDAAgD,EAAE,GAAG;QACrD,4CAA4C,EAAE;YAC5C,KAA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,mCAAmC,EAAE,KAAK;gBAC1C,kCAAkC,EAAE,IAAI;gBACxC,yBAAyB,EAAE,IAAI;aAChC;SACF;QACD,2CAA2C,EAAE;YAC3C,KAAK;YACL;gBACE,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;aACb;SACF;QACD,4BAA4B,EAAE,GAAG;QACjC,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,YAAY,EAAE,KAAK;aACpB;SACF;QACD,uCAAuC,EAAE;YACvC,KAAK;YACL;gBACE,gCAAgC,EAAE,KAAK;aACxC;SACF;QACD,2DAA2D,EAAE,KAAK;KACnE;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBA4GW"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/ts/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/ts/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,GAAG,EACH,MAAM,EACN,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,2CAA2C,EAAE,GAAG;QAChD,sCAAsC,EAAE,GAAG;QAC3C,uCAAuC,EAAE,KAAK;QAC9C,iCAAiC,EAAE;YACjC,KA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AAE,KAAK;gBACvB,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,yCAAyC,EAAE;YACzC,KAAK;YACL;gBACE,kBAAkB,EAAE;oBAClB,KAAK,EAAE,IAAI;oBACX,MAAM,EAAE,IAAI;iBACb;gBACD,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK;oBACZ,MAAM,EAAE,KAAK;iBACd;aACF;YACD;gBACE,2BAA2B,EAAE,KAAK;gBAClC,uCAAuC,EAAE,KAAK;aAC/C;SACF;QACD,iDAAiD,EAAE;YACjD,KAAK;YACL;gBACE,gBAAgB,EAAE,KAAK;aACxB;SACF;QACD,kCAAkC,EAAE,KAAK;KAC1C;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAkEW"}
|
package/dist/rules/yml/enable.js
CHANGED
@@ -1,10 +1,15 @@
|
|
1
|
-
import { enable,
|
2
|
-
const { ERROR, OFF } = level, { Never, Always, Double } = state;
|
1
|
+
import { enable, ERROR, OFF, Never, Always, Double, } from "../../_strings/index.js";
|
3
2
|
export default [
|
4
3
|
enable,
|
5
4
|
{
|
6
|
-
"yml/block-mapping-colon-indicator-newline": [
|
7
|
-
|
5
|
+
"yml/block-mapping-colon-indicator-newline": [
|
6
|
+
ERROR,
|
7
|
+
Never,
|
8
|
+
],
|
9
|
+
"yml/block-mapping-question-indicator-newline": [
|
10
|
+
ERROR,
|
11
|
+
Never,
|
12
|
+
],
|
8
13
|
"yml/block-mapping": [
|
9
14
|
ERROR,
|
10
15
|
{
|
@@ -43,7 +48,10 @@ export default [
|
|
43
48
|
"yml/no-empty-sequence-entry": ERROR,
|
44
49
|
"yml/no-tab-indent": ERROR,
|
45
50
|
"yml/no-trailing-zeros": ERROR,
|
46
|
-
"yml/plain-scalar": [
|
51
|
+
"yml/plain-scalar": [
|
52
|
+
ERROR,
|
53
|
+
Always,
|
54
|
+
],
|
47
55
|
"yml/quotes": [
|
48
56
|
ERROR,
|
49
57
|
{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,2CAA2C,EAAE;YAC3C,KAAK;YACL,KAAK;SACN;QACD,8CAA8C,EAAE;YAC9C,KAAK;YACL,KAAK;SACN;QACD,mBAAmB,EAAE;YACnB,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,6CAA6C,EAAE;YAC7C,KAAK;YACL,KAAK;YACL;gBACE,YAAY,EAAE,MAAM;gBACpB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL;gBACE,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,oBAAoB,EAAE,GAAG;QACzB,YAAY,EAAE;YACZ,KAAK;YACL,CAAC;YACD;gBACE,oBAAoB,EAAE,IAAI;gBAC1B,oBAAoB,EAAE,CAAC;aACxB;SACF;QACD,qBAAqB,EAAE,GAAG;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,KAAK;QACzB,4BAA4B,EAAE,KAAK;QACnC,6BAA6B,EAAE,KAAK;QACpC,mBAAmB,EAAE,KAAK;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE;YAClB,KAAK;YACL,MAAM;SACP;QACD,YAAY,EAAE;YACZ,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wBAAwB,EAAE,KAAK;QAC/B,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,GAAG;QAC/B,uCAAuC,EAAE,KAAK;KAC/C;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAgEW"}
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { enable_x,
|
2
|
-
const { ERROR } = level, { Never, Always, Strict } = state;
|
1
|
+
import { enable_x, ERROR, Never, Always, Strict, } from "../../_strings/index.js";
|
3
2
|
export default [
|
4
3
|
enable_x,
|
5
4
|
{
|
@@ -58,7 +57,10 @@ export default [
|
|
58
57
|
maxBOF: 0,
|
59
58
|
},
|
60
59
|
],
|
61
|
-
"yml/spaced-comment": [
|
60
|
+
"yml/spaced-comment": [
|
61
|
+
ERROR,
|
62
|
+
Always,
|
63
|
+
],
|
62
64
|
},
|
63
65
|
];
|
64
66
|
//# sourceMappingURL=enable_x.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,gCAAgC,EAAE;YAChC,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,gCAAgC,EAAE;YAChC,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,iBAAiB,EAAE;YACjB,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,MAAM;SACP;KACF;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
package/dist/rules/yml/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,QAAQ;IACR,MAAM;CACP,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_schemaVersion": "22.11.0",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "21.0.0
|
4
|
+
"version": "21.0.0",
|
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",
|
@@ -62,16 +62,17 @@
|
|
62
62
|
}
|
63
63
|
},
|
64
64
|
"dependencies": {
|
65
|
-
"@
|
66
|
-
"@eslinted/core": "11.0.0-rc.0",
|
65
|
+
"@eslinted/core": "11.0.0",
|
67
66
|
"@html-eslint/eslint-plugin": "0.27.0",
|
68
67
|
"@html-eslint/parser": "0.27.0",
|
69
68
|
"@stylistic/eslint-plugin": "2.10.1",
|
70
69
|
"@typescript-eslint/eslint-plugin": "8.13.0",
|
71
70
|
"@typescript-eslint/parser": "8.13.0",
|
71
|
+
"eslint-plugin-jsonc": "2.17.0",
|
72
72
|
"eslint-plugin-mocha": "10.5.0",
|
73
73
|
"eslint-plugin-svelte": "2.46.0",
|
74
74
|
"eslint-plugin-yml": "1.15.0",
|
75
|
+
"jsonc-eslint-parser": "2.4.0",
|
75
76
|
"svelte": "^5.1.12",
|
76
77
|
"svelte-eslint-parser": "0.43.0",
|
77
78
|
"yaml-eslint-parser": "1.2.3"
|
package/src/imports/parsers.ts
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
import ts from "@typescript-eslint/parser";
|
2
2
|
import svelte from "svelte-eslint-parser";
|
3
3
|
import html from "@html-eslint/parser";
|
4
|
+
import jsonc from "jsonc-eslint-parser";
|
4
5
|
import yml from "yaml-eslint-parser";
|
5
6
|
|
6
7
|
export default {
|
7
8
|
ts,
|
8
9
|
svelte,
|
9
10
|
html,
|
11
|
+
jsonc,
|
10
12
|
yml,
|
11
13
|
} as const;
|
package/src/imports/plugins.ts
CHANGED
@@ -3,7 +3,7 @@ import typescript_eslint from "@typescript-eslint/eslint-plugin";
|
|
3
3
|
import svelte from "eslint-plugin-svelte";
|
4
4
|
import mocha from "eslint-plugin-mocha";
|
5
5
|
import html_eslint from "@html-eslint/eslint-plugin";
|
6
|
-
import
|
6
|
+
import jsonc from "eslint-plugin-jsonc";
|
7
7
|
import yml from "eslint-plugin-yml";
|
8
8
|
|
9
9
|
export default {
|
@@ -12,6 +12,6 @@ export default {
|
|
12
12
|
svelte,
|
13
13
|
mocha,
|
14
14
|
"@html-eslint": html_eslint,
|
15
|
-
|
15
|
+
jsonc,
|
16
16
|
yml,
|
17
17
|
} as const;
|