linted 18.1.3-rc.1 → 18.1.3-rc.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3174,7 +3174,7 @@ declare const _default: {
3174
3174
  }];
3175
3175
  }])[];
3176
3176
  json: (readonly ["enable-extend", {
3177
- readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
3177
+ readonly "jsonc/array-bracket-newline": "error";
3178
3178
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
3179
3179
  readonly singleValue: false;
3180
3180
  readonly objectsInArrays: false;
@@ -3246,7 +3246,7 @@ declare const _default: {
3246
3246
  readonly "jsonc/vue-custom-block/no-parsing-error": "error";
3247
3247
  }])[];
3248
3248
  jsonc: (readonly ["enable-extend", {
3249
- readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
3249
+ readonly "jsonc/array-bracket-newline": "error";
3250
3250
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
3251
3251
  readonly singleValue: false;
3252
3252
  readonly objectsInArrays: false;
@@ -1,5 +1,5 @@
1
1
  declare const _default: readonly ["enable-extend", {
2
- readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
2
+ readonly "jsonc/array-bracket-newline": "error";
3
3
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
4
4
  readonly singleValue: false;
5
5
  readonly objectsInArrays: false;
@@ -1 +1 @@
1
- {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBAiFW"}
1
+ {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBA8EW"}
@@ -3,10 +3,7 @@ const { ERROR } = level, { Always, Consistent, Double, Last, Never, Strict, } =
3
3
  export default [
4
4
  enable_x,
5
5
  {
6
- "jsonc/array-bracket-newline": [
7
- ERROR,
8
- Consistent,
9
- ],
6
+ "jsonc/array-bracket-newline": ERROR,
10
7
  "jsonc/array-bracket-spacing": [
11
8
  ERROR,
12
9
  Never,
@@ -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,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
+ {"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,KAAK;QACpC,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,5 +1,5 @@
1
1
  declare const _default: (readonly ["enable-extend", {
2
- readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
2
+ readonly "jsonc/array-bracket-newline": "error";
3
3
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
4
4
  readonly singleValue: false;
5
5
  readonly objectsInArrays: false;
@@ -1,5 +1,5 @@
1
1
  declare const _default: (readonly ["enable-extend", {
2
- readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
2
+ readonly "jsonc/array-bracket-newline": "error";
3
3
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
4
4
  readonly singleValue: false;
5
5
  readonly objectsInArrays: false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "20.18.0",
3
3
  "name": "linted",
4
- "version": "18.1.3-rc.1",
4
+ "version": "18.1.3-rc.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",
@@ -15,10 +15,7 @@ export default [
15
15
  enable_x,
16
16
  {
17
17
  // https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#extension-rules
18
- "jsonc/array-bracket-newline": [
19
- ERROR,
20
- Consistent,
21
- ] /* DO NOT CHANGE */,
18
+ "jsonc/array-bracket-newline": ERROR /* DO NOT CHANGE */,
22
19
  "jsonc/array-bracket-spacing": [
23
20
  ERROR,
24
21
  Never,