linted 18.1.3 → 18.1.4

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": "error";
3177
+ readonly "jsonc/array-bracket-newline": "off";
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": "error";
3249
+ readonly "jsonc/array-bracket-newline": "off";
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": "error";
2
+ readonly "jsonc/array-bracket-newline": "off";
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,wBA8EW"}
1
+ {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,wBA8EW"}
@@ -1,9 +1,9 @@
1
1
  import { enable_x, level, state } from "../../_strings/index.js";
2
- const { ERROR } = level, { Always, Consistent, Double, Last, Never, Strict, } = state;
2
+ const { ERROR, OFF, } = level, { Always, Consistent, Double, Last, Never, Strict, } = state;
3
3
  export default [
4
4
  enable_x,
5
5
  {
6
- "jsonc/array-bracket-newline": ERROR,
6
+ "jsonc/array-bracket-newline": OFF,
7
7
  "jsonc/array-bracket-spacing": [
8
8
  ERROR,
9
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,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
+ {"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,EACE,KAAK,EACL,GAAG,GACJ,GAAG,KAAK,EACT,EACE,MAAM,EACN,UAAU,EACV,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,GACP,GAAG,KAAK,CAAC;AAEV,eAAe;IACb,QAAQ;IACR;QAEE,6BAA6B,EAAE,GAAG;QAClC,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": "error";
2
+ readonly "jsonc/array-bracket-newline": "off";
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": "error";
2
+ readonly "jsonc/array-bracket-newline": "off";
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",
4
+ "version": "18.1.4",
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,10 @@
1
1
  import { enable_x, level, state } from "../../_strings";
2
2
 
3
3
  const
4
- { ERROR } = level,
4
+ {
5
+ ERROR,
6
+ OFF,
7
+ } = level,
5
8
  {
6
9
  Always,
7
10
  Consistent,
@@ -15,7 +18,7 @@ export default [
15
18
  enable_x,
16
19
  {
17
20
  // https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#extension-rules
18
- "jsonc/array-bracket-newline": ERROR /* DO NOT CHANGE */,
21
+ "jsonc/array-bracket-newline": OFF /* DO NOT CHANGE */,
19
22
  "jsonc/array-bracket-spacing": [
20
23
  ERROR,
21
24
  Never,