@eslinted/defaults 10.26.5 → 10.26.6

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.
@@ -1476,10 +1476,7 @@ export declare const rules: {
1476
1476
  } | {
1477
1477
  id: string;
1478
1478
  rules: {
1479
- readonly "jsonc/array-bracket-newline": readonly ["error", {
1480
- readonly multiline: true;
1481
- readonly minItems: 1;
1482
- }];
1479
+ readonly "jsonc/array-bracket-newline": "off";
1483
1480
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
1484
1481
  readonly singleValue: false;
1485
1482
  readonly objectsInArrays: false;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUjB,CAAC"}
@@ -1,10 +1,7 @@
1
1
  export declare const JsonEnableExtension: {
2
2
  id: string;
3
3
  rules: {
4
- readonly "jsonc/array-bracket-newline": readonly ["error", {
5
- readonly multiline: true;
6
- readonly minItems: 1;
7
- }];
4
+ readonly "jsonc/array-bracket-newline": "off";
8
5
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
9
6
  readonly singleValue: false;
10
7
  readonly objectsInArrays: false;
@@ -1 +1 @@
1
- {"version":3,"file":"enable-ext.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/enable-ext.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuF/B,CAAC"}
1
+ {"version":3,"file":"enable-ext.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/enable-ext.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiF/B,CAAC"}
@@ -1,15 +1,9 @@
1
- import { ID, ON, always, consistent, double, last, never, strict, } from "../../strings/index.js";
1
+ import { ID, ON, OFF, always, consistent, double, last, never, strict, } from "../../strings/index.js";
2
2
  export const JsonEnableExtension = {
3
3
  id: ID.EnableExtension,
4
4
  rules: {
5
5
  // DOC: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#extension-rules
6
- "jsonc/array-bracket-newline": [
7
- ON,
8
- {
9
- multiline: true,
10
- minItems: 1,
11
- },
12
- ], /* @OVERRIDE: BUG: the spec says: `requires line breaks if the number of elements is at least the given integer. If this is 0, this condition will act the same as the option "always". If this is null (the default), this condition is disabled`. However, when null, the jsonc plugin actually errors when there are linebreaks with a single item | (was: MUST match @stylistic/array-bracket-newline) */
6
+ "jsonc/array-bracket-newline": OFF /* @OVERRIDE: BIGGER BUG: i mean this basically just doesn't work, even with multiple lines it will still fail| BUG: the spec says: `requires line breaks if the number of elements is at least the given integer. If this is 0, this condition will act the same as the option "always". If this is null (the default), this condition is disabled`. However, when null, the jsonc plugin actually errors when there are linebreaks with a single item | (was: MUST match @stylistic/array-bracket-newline) */,
13
7
  "jsonc/array-bracket-spacing": [
14
8
  ON,
15
9
  never,
@@ -1 +1 @@
1
- {"version":3,"file":"enable-ext.js","sourceRoot":"","sources":["../../../../src/rules/scopes/json/enable-ext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,MAAM,EACN,UAAU,EACV,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,GACP,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GA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;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF,CAAC,gDAAgD;QAClD,+BAA+B,EAAE;YAC/B,EAAE;YACF;gBACE,4BAA4B,EAAE,IAAI;aACnC;SACF,CAAC,mDAAmD;QACrD,mBAAmB,EAAE;YACnB,EAAE;YACF,MAAM;SACP;QACD,cAAc,EAAE;YACd,EAAE;YACF,MAAM;YACN;gBACE,WAAW,EAAE,KAAK;aACnB;SACF;QACD,uBAAuB,EAAE,EAAE;KACnB;CACX,CAAC"}
1
+ {"version":3,"file":"enable-ext.js","sourceRoot":"","sources":["../../../../src/rules/scopes/json/enable-ext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,GAAG,EACH,MAAM,EACN,UAAU,EACV,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,GACP,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,EAAE,EAAE,EAAE,CAAC,eAAe;IACtB,KAAK,EAAE;QACP,8EAA8E;QAC5E,6BAA6B,EAAE,GAAG,CAAC,+eAA+e;QAClhB,6BAA6B,EAAE;YAC7B,EAAE;YACF,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF,CAAC,iDAAiD;QACnD,6BAA6B,EAAE;YAC7B,EAAE;YACF,UAAU;SACX;QACD,oBAAoB,EAAE,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,6CAA6C;QAC/E,mBAAmB,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC;QAC/B,cAAc,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACvB,mBAAmB,EAAE;YACnB,EAAE;YACF;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF,CAAC,uCAAuC;QACzC,oBAAoB,EAAE,EAAE;QACxB,2BAA2B,EAAE,EAAE;QAC/B,+BAA+B,EAAE;YAC/B,EAAE;YACF;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,EAAE;QACxB,uBAAuB,EAAE,EAAE;QAC3B,gBAAgB,EAAE,EAAE;QACpB,wBAAwB,EAAE,EAAE;QAC5B,yBAAyB,EAAE,EAAE;QAC7B,4BAA4B,EAAE;YAC5B,EAAE;YACF;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF,CAAC,wDAAwD;QAC1D,4BAA4B,EAAE;YAC5B,EAAE;YACF,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF,CAAC,gDAAgD;QAClD,+BAA+B,EAAE;YAC/B,EAAE;YACF;gBACE,4BAA4B,EAAE,IAAI;aACnC;SACF,CAAC,mDAAmD;QACrD,mBAAmB,EAAE;YACnB,EAAE;YACF,MAAM;SACP;QACD,cAAc,EAAE;YACd,EAAE;YACF,MAAM;YACN;gBACE,WAAW,EAAE,KAAK;aACnB;SACF;QACD,uBAAuB,EAAE,EAAE;KACnB;CACX,CAAC"}
@@ -28,10 +28,7 @@ declare const _default: ({
28
28
  } | {
29
29
  id: string;
30
30
  rules: {
31
- readonly "jsonc/array-bracket-newline": readonly ["error", {
32
- readonly multiline: true;
33
- readonly minItems: 1;
34
- }];
31
+ readonly "jsonc/array-bracket-newline": "off";
35
32
  readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
36
33
  readonly singleValue: false;
37
34
  readonly objectsInArrays: false;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "@eslinted/defaults",
6
- "version": "10.26.5",
6
+ "version": "10.26.6",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "private": false,
9
9
  "engineStrict": true,
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  ID,
3
3
  ON,
4
+ OFF,
4
5
  always,
5
6
  consistent,
6
7
  double,
@@ -13,13 +14,7 @@ export const JsonEnableExtension = {
13
14
  id: ID.EnableExtension,
14
15
  rules: {
15
16
  // DOC: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#extension-rules
16
- "jsonc/array-bracket-newline": [
17
- ON,
18
- {
19
- multiline: true,
20
- minItems: 1,
21
- },
22
- ], /* @OVERRIDE: BUG: the spec says: `requires line breaks if the number of elements is at least the given integer. If this is 0, this condition will act the same as the option "always". If this is null (the default), this condition is disabled`. However, when null, the jsonc plugin actually errors when there are linebreaks with a single item | (was: MUST match @stylistic/array-bracket-newline) */
17
+ "jsonc/array-bracket-newline": OFF /* @OVERRIDE: BIGGER BUG: i mean this basically just doesn't work, even with multiple lines it will still fail| BUG: the spec says: `requires line breaks if the number of elements is at least the given integer. If this is 0, this condition will act the same as the option "always". If this is null (the default), this condition is disabled`. However, when null, the jsonc plugin actually errors when there are linebreaks with a single item | (was: MUST match @stylistic/array-bracket-newline) */,
23
18
  "jsonc/array-bracket-spacing": [
24
19
  ON,
25
20
  never,