linted 18.1.2 → 18.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.
@@ -3183,20 +3183,7 @@ declare const _default: {
3183
3183
  readonly objectsInArrays: false;
3184
3184
  readonly arraysInArrays: false;
3185
3185
  }];
3186
- readonly "jsonc/array-element-newline": readonly ["error", {
3187
- readonly ArrayExpression: {
3188
- readonly multiline: true;
3189
- readonly minItems: 4;
3190
- };
3191
- readonly ArrayPattern: {
3192
- readonly multiline: true;
3193
- readonly minItems: 4;
3194
- };
3195
- readonly JSONArrayExpression: {
3196
- readonly multiline: true;
3197
- readonly minItems: 4;
3198
- };
3199
- }];
3186
+ readonly "jsonc/array-element-newline": "off";
3200
3187
  readonly "jsonc/comma-dangle": readonly ["error", "never"];
3201
3188
  readonly "jsonc/comma-style": readonly ["error", "last"];
3202
3189
  readonly "jsonc/indent": readonly ["error", 2];
@@ -3271,20 +3258,7 @@ declare const _default: {
3271
3258
  readonly objectsInArrays: false;
3272
3259
  readonly arraysInArrays: false;
3273
3260
  }];
3274
- readonly "jsonc/array-element-newline": readonly ["error", {
3275
- readonly ArrayExpression: {
3276
- readonly multiline: true;
3277
- readonly minItems: 4;
3278
- };
3279
- readonly ArrayPattern: {
3280
- readonly multiline: true;
3281
- readonly minItems: 4;
3282
- };
3283
- readonly JSONArrayExpression: {
3284
- readonly multiline: true;
3285
- readonly minItems: 4;
3286
- };
3287
- }];
3261
+ readonly "jsonc/array-element-newline": "off";
3288
3262
  readonly "jsonc/comma-dangle": readonly ["error", "never"];
3289
3263
  readonly "jsonc/comma-style": readonly ["error", "last"];
3290
3264
  readonly "jsonc/indent": readonly ["error", 2];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBASE"}
@@ -8,20 +8,7 @@ declare const _default: readonly ["enable-extend", {
8
8
  readonly objectsInArrays: false;
9
9
  readonly arraysInArrays: false;
10
10
  }];
11
- readonly "jsonc/array-element-newline": readonly ["error", {
12
- readonly ArrayExpression: {
13
- readonly multiline: true;
14
- readonly minItems: 4;
15
- };
16
- readonly ArrayPattern: {
17
- readonly multiline: true;
18
- readonly minItems: 4;
19
- };
20
- readonly JSONArrayExpression: {
21
- readonly multiline: true;
22
- readonly minItems: 4;
23
- };
24
- }];
11
+ readonly "jsonc/array-element-newline": "off";
25
12
  readonly "jsonc/comma-dangle": readonly ["error", "never"];
26
13
  readonly "jsonc/comma-style": readonly ["error", "last"];
27
14
  readonly "jsonc/indent": readonly ["error", 2];
@@ -1 +1 @@
1
- {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAiGW"}
1
+ {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAiFW"}
@@ -1,5 +1,5 @@
1
1
  import { enable_x, level, state } from "../../_strings/index.js";
2
- const { ERROR } = level, { Never, Always, Strict, Last, Double, } = state;
2
+ const { ERROR, OFF } = level, { Never, Always, Strict, Last, Double, } = state;
3
3
  export default [
4
4
  enable_x,
5
5
  {
@@ -19,23 +19,7 @@ export default [
19
19
  arraysInArrays: false,
20
20
  },
21
21
  ],
22
- "jsonc/array-element-newline": [
23
- ERROR,
24
- {
25
- ArrayExpression: {
26
- multiline: true,
27
- minItems: 4,
28
- },
29
- ArrayPattern: {
30
- multiline: true,
31
- minItems: 4,
32
- },
33
- JSONArrayExpression: {
34
- multiline: true,
35
- minItems: 4,
36
- },
37
- },
38
- ],
22
+ "jsonc/array-element-newline": OFF,
39
23
  "jsonc/comma-dangle": [ERROR, Never],
40
24
  "jsonc/comma-style": [ERROR, Last],
41
25
  "jsonc/indent": [ERROR, 2],
@@ -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,CA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I;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"}
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,EAAE,GAAG,KAAK,EACtB,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,GAAG;QAClC,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"}
@@ -8,20 +8,7 @@ declare const _default: (readonly ["enable-extend", {
8
8
  readonly objectsInArrays: false;
9
9
  readonly arraysInArrays: false;
10
10
  }];
11
- readonly "jsonc/array-element-newline": readonly ["error", {
12
- readonly ArrayExpression: {
13
- readonly multiline: true;
14
- readonly minItems: 4;
15
- };
16
- readonly ArrayPattern: {
17
- readonly multiline: true;
18
- readonly minItems: 4;
19
- };
20
- readonly JSONArrayExpression: {
21
- readonly multiline: true;
22
- readonly minItems: 4;
23
- };
24
- }];
11
+ readonly "jsonc/array-element-newline": "off";
25
12
  readonly "jsonc/comma-dangle": readonly ["error", "never"];
26
13
  readonly "jsonc/comma-style": readonly ["error", "last"];
27
14
  readonly "jsonc/indent": readonly ["error", 2];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAAkC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAAkC"}
@@ -8,20 +8,7 @@ declare const _default: (readonly ["enable-extend", {
8
8
  readonly objectsInArrays: false;
9
9
  readonly arraysInArrays: false;
10
10
  }];
11
- readonly "jsonc/array-element-newline": readonly ["error", {
12
- readonly ArrayExpression: {
13
- readonly multiline: true;
14
- readonly minItems: 4;
15
- };
16
- readonly ArrayPattern: {
17
- readonly multiline: true;
18
- readonly minItems: 4;
19
- };
20
- readonly JSONArrayExpression: {
21
- readonly multiline: true;
22
- readonly minItems: 4;
23
- };
24
- }];
11
+ readonly "jsonc/array-element-newline": "off";
25
12
  readonly "jsonc/comma-dangle": readonly ["error", "never"];
26
13
  readonly "jsonc/comma-style": readonly ["error", "last"];
27
14
  readonly "jsonc/indent": readonly ["error", 2];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAAmC"}
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.2",
4
+ "version": "18.1.3-rc.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",
@@ -1,7 +1,7 @@
1
1
  import { enable_x, level, state } from "../../_strings";
2
2
 
3
3
  const
4
- { ERROR } = level,
4
+ { ERROR, OFF } = level,
5
5
  {
6
6
  Never,
7
7
  Always,
@@ -30,23 +30,7 @@ export default [
30
30
  arraysInArrays: false,
31
31
  },
32
32
  ] /* MUST match ../js/stylistic.ts */,
33
- "jsonc/array-element-newline": [
34
- ERROR,
35
- {
36
- ArrayExpression: {
37
- multiline: true,
38
- minItems: 4,
39
- },
40
- ArrayPattern: {
41
- multiline: true,
42
- minItems: 4,
43
- },
44
- JSONArrayExpression: {
45
- multiline: true,
46
- minItems: 4,
47
- },
48
- },
49
- ] /* MUST match (+JSONArrayExpression)../js/stylistic.ts */,
33
+ "jsonc/array-element-newline": OFF,
50
34
  "jsonc/comma-dangle": [ERROR, Never] /* trailing commas are NOT allowed in JSON */,
51
35
  "jsonc/comma-style": [ERROR, Last],
52
36
  "jsonc/indent": [ERROR, 2],