@eslinted/defaults 10.26.3 → 10.26.4
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.
- package/.github/workflows/RELEASE.yml +2 -2
- package/.github/workflows/rc.yml +2 -2
- package/dist/rules/index.d.ts +1 -1
- package/dist/rules/scopes/json/enable-ext.d.ts +1 -1
- package/dist/rules/scopes/json/enable-ext.js +2 -2
- package/dist/rules/scopes/json/enable-ext.js.map +1 -1
- package/dist/rules/scopes/json/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/rules/scopes/json/enable-ext.ts +2 -2
package/.github/workflows/rc.yml
CHANGED
package/dist/rules/index.d.ts
CHANGED
|
@@ -1478,7 +1478,7 @@ export declare const rules: {
|
|
|
1478
1478
|
rules: {
|
|
1479
1479
|
readonly "jsonc/array-bracket-newline": readonly ["error", {
|
|
1480
1480
|
readonly multiline: true;
|
|
1481
|
-
readonly minItems:
|
|
1481
|
+
readonly minItems: 1;
|
|
1482
1482
|
}];
|
|
1483
1483
|
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
|
1484
1484
|
readonly singleValue: false;
|
|
@@ -3,7 +3,7 @@ export declare const JsonEnableExtension: {
|
|
|
3
3
|
rules: {
|
|
4
4
|
readonly "jsonc/array-bracket-newline": readonly ["error", {
|
|
5
5
|
readonly multiline: true;
|
|
6
|
-
readonly minItems:
|
|
6
|
+
readonly minItems: 1;
|
|
7
7
|
}];
|
|
8
8
|
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
|
9
9
|
readonly singleValue: false;
|
|
@@ -7,9 +7,9 @@ export const JsonEnableExtension = {
|
|
|
7
7
|
ON,
|
|
8
8
|
{
|
|
9
9
|
multiline: true,
|
|
10
|
-
minItems:
|
|
10
|
+
minItems: 1,
|
|
11
11
|
},
|
|
12
|
-
] /* MUST match @stylistic/array-bracket-newline
|
|
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) */
|
|
13
13
|
"jsonc/array-bracket-spacing": [
|
|
14
14
|
ON,
|
|
15
15
|
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,GAAG;IACjC,EAAE,EAAE,EAAE,CAAC,eAAe;IACtB,KAAK,EAAE;QACP,8EAA8E;QAC5E,6BAA6B,EAAE;YAC7B,EAAE;YACF;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,
|
|
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,GAAG;IACjC,EAAE,EAAE,EAAE,CAAC,eAAe;IACtB,KAAK,EAAE;QACP,8EAA8E;QAC5E,6BAA6B,EAAE;YAC7B,EAAE;YACF;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,CAAC;aACZ;SACF,EAAE,6YAA6Y;QAChZ,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;S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
|
30
30
|
rules: {
|
|
31
31
|
readonly "jsonc/array-bracket-newline": readonly ["error", {
|
|
32
32
|
readonly multiline: true;
|
|
33
|
-
readonly minItems:
|
|
33
|
+
readonly minItems: 1;
|
|
34
34
|
}];
|
|
35
35
|
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
|
36
36
|
readonly singleValue: false;
|
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.
|
|
6
|
+
"version": "10.26.4",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
8
8
|
"private": false,
|
|
9
9
|
"engineStrict": true,
|
|
@@ -17,9 +17,9 @@ export const JsonEnableExtension = {
|
|
|
17
17
|
ON,
|
|
18
18
|
{
|
|
19
19
|
multiline: true,
|
|
20
|
-
minItems:
|
|
20
|
+
minItems: 1,
|
|
21
21
|
},
|
|
22
|
-
] /* MUST match @stylistic/array-bracket-newline
|
|
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) */
|
|
23
23
|
"jsonc/array-bracket-spacing": [
|
|
24
24
|
ON,
|
|
25
25
|
never,
|