linted 18.1.1 → 18.1.2
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/dist/rules/index.d.ts +0 -6
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/json/enable_x.d.ts +0 -3
- package/dist/rules/json/enable_x.d.ts.map +1 -1
- package/dist/rules/json/enable_x.js +0 -3
- package/dist/rules/json/enable_x.js.map +1 -1
- package/dist/rules/json/index.d.ts +0 -3
- package/dist/rules/json/index.d.ts.map +1 -1
- package/dist/rules/jsonc/index.d.ts +0 -3
- package/dist/rules/jsonc/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/rules/json/enable_x.ts +0 -3
package/dist/rules/index.d.ts
CHANGED
|
@@ -3185,17 +3185,14 @@ declare const _default: {
|
|
|
3185
3185
|
}];
|
|
3186
3186
|
readonly "jsonc/array-element-newline": readonly ["error", {
|
|
3187
3187
|
readonly ArrayExpression: {
|
|
3188
|
-
readonly consistent: true;
|
|
3189
3188
|
readonly multiline: true;
|
|
3190
3189
|
readonly minItems: 4;
|
|
3191
3190
|
};
|
|
3192
3191
|
readonly ArrayPattern: {
|
|
3193
|
-
readonly consistent: true;
|
|
3194
3192
|
readonly multiline: true;
|
|
3195
3193
|
readonly minItems: 4;
|
|
3196
3194
|
};
|
|
3197
3195
|
readonly JSONArrayExpression: {
|
|
3198
|
-
readonly consistent: true;
|
|
3199
3196
|
readonly multiline: true;
|
|
3200
3197
|
readonly minItems: 4;
|
|
3201
3198
|
};
|
|
@@ -3276,17 +3273,14 @@ declare const _default: {
|
|
|
3276
3273
|
}];
|
|
3277
3274
|
readonly "jsonc/array-element-newline": readonly ["error", {
|
|
3278
3275
|
readonly ArrayExpression: {
|
|
3279
|
-
readonly consistent: true;
|
|
3280
3276
|
readonly multiline: true;
|
|
3281
3277
|
readonly minItems: 4;
|
|
3282
3278
|
};
|
|
3283
3279
|
readonly ArrayPattern: {
|
|
3284
|
-
readonly consistent: true;
|
|
3285
3280
|
readonly multiline: true;
|
|
3286
3281
|
readonly minItems: 4;
|
|
3287
3282
|
};
|
|
3288
3283
|
readonly JSONArrayExpression: {
|
|
3289
|
-
readonly consistent: true;
|
|
3290
3284
|
readonly multiline: true;
|
|
3291
3285
|
readonly minItems: 4;
|
|
3292
3286
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBASE"}
|
|
@@ -10,17 +10,14 @@ declare const _default: readonly ["enable-extend", {
|
|
|
10
10
|
}];
|
|
11
11
|
readonly "jsonc/array-element-newline": readonly ["error", {
|
|
12
12
|
readonly ArrayExpression: {
|
|
13
|
-
readonly consistent: true;
|
|
14
13
|
readonly multiline: true;
|
|
15
14
|
readonly minItems: 4;
|
|
16
15
|
};
|
|
17
16
|
readonly ArrayPattern: {
|
|
18
|
-
readonly consistent: true;
|
|
19
17
|
readonly multiline: true;
|
|
20
18
|
readonly minItems: 4;
|
|
21
19
|
};
|
|
22
20
|
readonly JSONArrayExpression: {
|
|
23
|
-
readonly consistent: true;
|
|
24
21
|
readonly multiline: true;
|
|
25
22
|
readonly minItems: 4;
|
|
26
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAiGW"}
|
|
@@ -23,17 +23,14 @@ export default [
|
|
|
23
23
|
ERROR,
|
|
24
24
|
{
|
|
25
25
|
ArrayExpression: {
|
|
26
|
-
consistent: true,
|
|
27
26
|
multiline: true,
|
|
28
27
|
minItems: 4,
|
|
29
28
|
},
|
|
30
29
|
ArrayPattern: {
|
|
31
|
-
consistent: true,
|
|
32
30
|
multiline: true,
|
|
33
31
|
minItems: 4,
|
|
34
32
|
},
|
|
35
33
|
JSONArrayExpression: {
|
|
36
|
-
consistent: true,
|
|
37
34
|
multiline: true,
|
|
38
35
|
minItems: 4,
|
|
39
36
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAExD,MACA,EAAE,KAAK,EAAE,GAAG,KAAK,EACjB,EACE,KAAK,EACL,MAAM,EACN,MAAM,EACN,IAAI,EACJ,MAAM,GACP,GAAG,KAAK,CAAC;AAEV,eAAe;IACb,QAAQ;IACR;QAEE,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,eAAe,EAAE;oBACf,
|
|
1
|
+
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAExD,MACA,EAAE,KAAK,EAAE,GAAG,KAAK,EACjB,EACE,KAAK,EACL,MAAM,EACN,MAAM,EACN,IAAI,EACJ,MAAM,GACP,GAAG,KAAK,CAAC;AAEV,eAAe;IACb,QAAQ;IACR;QAEE,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,eAAe,EAAE;oBACf,SAAS,EAAE,IAAI;oBACf,QAAQ,EAAE,CAAC;iBACZ;gBACD,YAAY,EAAE;oBACZ,SAAS,EAAE,IAAI;oBACf,QAAQ,EAAE,CAAC;iBACZ;gBACD,mBAAmB,EAAE;oBACnB,SAAS,EAAE,IAAI;oBACf,QAAQ,EAAE,CAAC;iBACZ;aACF;SACF;QACD,oBAAoB,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QACpC,mBAAmB,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;QAClC,cAAc,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;QAC1B,mBAAmB,EAAE;YACnB,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,2BAA2B,EAAE,KAAK;QAClC,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,WAAW,EAAE,IAAI;gBACjB,aAAa,EAAE,IAAI;gBACnB,WAAW,EAAE,IAAI;aAClB;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,uBAAuB,EAAE,KAAK;QAC9B,gBAAgB,EAAE,KAAK;QACvB,wBAAwB,EAAE,KAAK;QAC/B,yBAAyB,EAAE,KAAK;QAChC,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,4BAA4B,EAAE,IAAI;aACnC;SACF;QACD,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;QACpC,cAAc,EAAE;YACd,KAAK;YACL,MAAM;YACN;gBACE,WAAW,EAAE,KAAK;aACnB;SACF;QACD,uBAAuB,EAAE,KAAK;KAC/B;CACO,CAAC"}
|
|
@@ -10,17 +10,14 @@ declare const _default: (readonly ["enable-extend", {
|
|
|
10
10
|
}];
|
|
11
11
|
readonly "jsonc/array-element-newline": readonly ["error", {
|
|
12
12
|
readonly ArrayExpression: {
|
|
13
|
-
readonly consistent: true;
|
|
14
13
|
readonly multiline: true;
|
|
15
14
|
readonly minItems: 4;
|
|
16
15
|
};
|
|
17
16
|
readonly ArrayPattern: {
|
|
18
|
-
readonly consistent: true;
|
|
19
17
|
readonly multiline: true;
|
|
20
18
|
readonly minItems: 4;
|
|
21
19
|
};
|
|
22
20
|
readonly JSONArrayExpression: {
|
|
23
|
-
readonly consistent: true;
|
|
24
21
|
readonly multiline: true;
|
|
25
22
|
readonly minItems: 4;
|
|
26
23
|
};
|
|
@@ -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,wBAAkC"}
|
|
@@ -10,17 +10,14 @@ declare const _default: (readonly ["enable-extend", {
|
|
|
10
10
|
}];
|
|
11
11
|
readonly "jsonc/array-element-newline": readonly ["error", {
|
|
12
12
|
readonly ArrayExpression: {
|
|
13
|
-
readonly consistent: true;
|
|
14
13
|
readonly multiline: true;
|
|
15
14
|
readonly minItems: 4;
|
|
16
15
|
};
|
|
17
16
|
readonly ArrayPattern: {
|
|
18
|
-
readonly consistent: true;
|
|
19
17
|
readonly multiline: true;
|
|
20
18
|
readonly minItems: 4;
|
|
21
19
|
};
|
|
22
20
|
readonly JSONArrayExpression: {
|
|
23
|
-
readonly consistent: true;
|
|
24
21
|
readonly multiline: true;
|
|
25
22
|
readonly minItems: 4;
|
|
26
23
|
};
|
|
@@ -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,wBAAmC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_schemaVersion": "20.18.0",
|
|
3
3
|
"name": "linted",
|
|
4
|
-
"version": "18.1.
|
|
4
|
+
"version": "18.1.2",
|
|
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",
|
|
@@ -34,17 +34,14 @@ export default [
|
|
|
34
34
|
ERROR,
|
|
35
35
|
{
|
|
36
36
|
ArrayExpression: {
|
|
37
|
-
consistent: true,
|
|
38
37
|
multiline: true,
|
|
39
38
|
minItems: 4,
|
|
40
39
|
},
|
|
41
40
|
ArrayPattern: {
|
|
42
|
-
consistent: true,
|
|
43
41
|
multiline: true,
|
|
44
42
|
minItems: 4,
|
|
45
43
|
},
|
|
46
44
|
JSONArrayExpression: {
|
|
47
|
-
consistent: true,
|
|
48
45
|
multiline: true,
|
|
49
46
|
minItems: 4,
|
|
50
47
|
},
|