linted 18.1.2 → 18.1.3-rc.1

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.
@@ -3174,29 +3174,13 @@ declare const _default: {
3174
3174
  }];
3175
3175
  }])[];
3176
3176
  json: (readonly ["enable-extend", {
3177
- readonly "jsonc/array-bracket-newline": readonly ["error", {
3178
- readonly multiline: true;
3179
- readonly minItems: null;
3180
- }];
3177
+ readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
3181
3178
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
3182
3179
  readonly singleValue: false;
3183
3180
  readonly objectsInArrays: false;
3184
3181
  readonly arraysInArrays: false;
3185
3182
  }];
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
- }];
3183
+ readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
3200
3184
  readonly "jsonc/comma-dangle": readonly ["error", "never"];
3201
3185
  readonly "jsonc/comma-style": readonly ["error", "last"];
3202
3186
  readonly "jsonc/indent": readonly ["error", 2];
@@ -3262,29 +3246,13 @@ declare const _default: {
3262
3246
  readonly "jsonc/vue-custom-block/no-parsing-error": "error";
3263
3247
  }])[];
3264
3248
  jsonc: (readonly ["enable-extend", {
3265
- readonly "jsonc/array-bracket-newline": readonly ["error", {
3266
- readonly multiline: true;
3267
- readonly minItems: null;
3268
- }];
3249
+ readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
3269
3250
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
3270
3251
  readonly singleValue: false;
3271
3252
  readonly objectsInArrays: false;
3272
3253
  readonly arraysInArrays: false;
3273
3254
  }];
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
- }];
3255
+ readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
3288
3256
  readonly "jsonc/comma-dangle": readonly ["error", "never"];
3289
3257
  readonly "jsonc/comma-style": readonly ["error", "last"];
3290
3258
  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"}
@@ -1,27 +1,11 @@
1
1
  declare const _default: readonly ["enable-extend", {
2
- readonly "jsonc/array-bracket-newline": readonly ["error", {
3
- readonly multiline: true;
4
- readonly minItems: null;
5
- }];
2
+ readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
6
3
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
7
4
  readonly singleValue: false;
8
5
  readonly objectsInArrays: false;
9
6
  readonly arraysInArrays: false;
10
7
  }];
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
- }];
8
+ readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
25
9
  readonly "jsonc/comma-dangle": readonly ["error", "never"];
26
10
  readonly "jsonc/comma-style": readonly ["error", "last"];
27
11
  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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBAiFW"}
@@ -1,14 +1,11 @@
1
1
  import { enable_x, level, state } from "../../_strings/index.js";
2
- const { ERROR } = level, { Never, Always, Strict, Last, Double, } = state;
2
+ const { ERROR } = level, { Always, Consistent, Double, Last, Never, Strict, } = state;
3
3
  export default [
4
4
  enable_x,
5
5
  {
6
6
  "jsonc/array-bracket-newline": [
7
7
  ERROR,
8
- {
9
- multiline: true,
10
- minItems: null,
11
- },
8
+ Consistent,
12
9
  ],
13
10
  "jsonc/array-bracket-spacing": [
14
11
  ERROR,
@@ -21,20 +18,7 @@ export default [
21
18
  ],
22
19
  "jsonc/array-element-newline": [
23
20
  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
- },
21
+ Consistent,
38
22
  ],
39
23
  "jsonc/comma-dangle": [ERROR, Never],
40
24
  "jsonc/comma-style": [ERROR, Last],
@@ -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,SAAS,EAAE,IAAI;oBACf,QAAQ,EAAE,CAAC;iBACZ;gBACD,YAAY,EAAE;oBACZ,SAAS,EAAE,IAAI;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"}
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,MAAM,EACN,UAAU,EACV,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,GACP,GAAG,KAAK,CAAC;AAEV,eAAe;IACb,QAAQ;IACR;QAEE,6BAA6B,EAAE;YAC7B,KAAK;YACL,UAAU;SACX;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,UAAU;SACX;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"}
@@ -1,27 +1,11 @@
1
1
  declare const _default: (readonly ["enable-extend", {
2
- readonly "jsonc/array-bracket-newline": readonly ["error", {
3
- readonly multiline: true;
4
- readonly minItems: null;
5
- }];
2
+ readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
6
3
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
7
4
  readonly singleValue: false;
8
5
  readonly objectsInArrays: false;
9
6
  readonly arraysInArrays: false;
10
7
  }];
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
- }];
8
+ readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
25
9
  readonly "jsonc/comma-dangle": readonly ["error", "never"];
26
10
  readonly "jsonc/comma-style": readonly ["error", "last"];
27
11
  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"}
@@ -1,27 +1,11 @@
1
1
  declare const _default: (readonly ["enable-extend", {
2
- readonly "jsonc/array-bracket-newline": readonly ["error", {
3
- readonly multiline: true;
4
- readonly minItems: null;
5
- }];
2
+ readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
6
3
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
7
4
  readonly singleValue: false;
8
5
  readonly objectsInArrays: false;
9
6
  readonly arraysInArrays: false;
10
7
  }];
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
- }];
8
+ readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
25
9
  readonly "jsonc/comma-dangle": readonly ["error", "never"];
26
10
  readonly "jsonc/comma-style": readonly ["error", "last"];
27
11
  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.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",
@@ -3,11 +3,12 @@ import { enable_x, level, state } from "../../_strings";
3
3
  const
4
4
  { ERROR } = level,
5
5
  {
6
- Never,
7
6
  Always,
8
- Strict,
9
- Last,
7
+ Consistent,
10
8
  Double,
9
+ Last,
10
+ Never,
11
+ Strict,
11
12
  } = state;
12
13
 
13
14
  export default [
@@ -16,11 +17,8 @@ export default [
16
17
  // https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#extension-rules
17
18
  "jsonc/array-bracket-newline": [
18
19
  ERROR,
19
- {
20
- multiline: true,
21
- minItems: null,
22
- },
23
- ] /* MUST match ../js/stylistic.ts */,
20
+ Consistent,
21
+ ] /* DO NOT CHANGE */,
24
22
  "jsonc/array-bracket-spacing": [
25
23
  ERROR,
26
24
  Never,
@@ -32,21 +30,8 @@ export default [
32
30
  ] /* MUST match ../js/stylistic.ts */,
33
31
  "jsonc/array-element-newline": [
34
32
  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
+ Consistent,
34
+ ],
50
35
  "jsonc/comma-dangle": [ERROR, Never] /* trailing commas are NOT allowed in JSON */,
51
36
  "jsonc/comma-style": [ERROR, Last],
52
37
  "jsonc/indent": [ERROR, 2],