@eslinted/defaults 10.26.1 → 10.26.2
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/dist/rules/index.d.ts +4 -1
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/enable-ext.d.ts +4 -1
- package/dist/rules/scopes/json/enable-ext.d.ts.map +1 -1
- package/dist/rules/scopes/json/enable-ext.js +8 -2
- package/dist/rules/scopes/json/enable-ext.js.map +1 -1
- package/dist/rules/scopes/json/index.d.ts +4 -1
- package/dist/rules/scopes/json/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/rules/scopes/json/enable-ext.ts +7 -2
package/dist/rules/index.d.ts
CHANGED
|
@@ -1476,7 +1476,10 @@ export declare const rules: {
|
|
|
1476
1476
|
} | {
|
|
1477
1477
|
id: string;
|
|
1478
1478
|
rules: {
|
|
1479
|
-
readonly "jsonc/array-bracket-newline": "
|
|
1479
|
+
readonly "jsonc/array-bracket-newline": readonly ["error", {
|
|
1480
|
+
readonly multiline: true;
|
|
1481
|
+
readonly minItems: null;
|
|
1482
|
+
}];
|
|
1480
1483
|
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
|
1481
1484
|
readonly singleValue: false;
|
|
1482
1485
|
readonly objectsInArrays: false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK
|
|
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,7 +1,10 @@
|
|
|
1
1
|
export declare const JsonEnableExtension: {
|
|
2
2
|
id: string;
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "jsonc/array-bracket-newline": "
|
|
4
|
+
readonly "jsonc/array-bracket-newline": readonly ["error", {
|
|
5
|
+
readonly multiline: true;
|
|
6
|
+
readonly minItems: null;
|
|
7
|
+
}];
|
|
5
8
|
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
|
6
9
|
readonly singleValue: false;
|
|
7
10
|
readonly objectsInArrays: false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable-ext.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/enable-ext.ts"],"names":[],"mappings":"
|
|
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,9 +1,15 @@
|
|
|
1
|
-
import { ID, ON,
|
|
1
|
+
import { ID, ON, 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":
|
|
6
|
+
"jsonc/array-bracket-newline": [
|
|
7
|
+
ON,
|
|
8
|
+
{
|
|
9
|
+
multiline: true,
|
|
10
|
+
minItems: null,
|
|
11
|
+
},
|
|
12
|
+
] /* MUST match @stylistic/array-bracket-newline */,
|
|
7
13
|
"jsonc/array-bracket-spacing": [
|
|
8
14
|
ON,
|
|
9
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,
|
|
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,IAAI;aACf;SACF,CAAC,iDAAiD;QACnD,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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: ({
|
|
|
28
28
|
} | {
|
|
29
29
|
id: string;
|
|
30
30
|
rules: {
|
|
31
|
-
readonly "jsonc/array-bracket-newline": "
|
|
31
|
+
readonly "jsonc/array-bracket-newline": readonly ["error", {
|
|
32
|
+
readonly multiline: true;
|
|
33
|
+
readonly minItems: null;
|
|
34
|
+
}];
|
|
32
35
|
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
|
33
36
|
readonly singleValue: false;
|
|
34
37
|
readonly objectsInArrays: false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/index.ts"],"names":[],"mappings":"
|
|
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.
|
|
6
|
+
"version": "10.26.2",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
8
8
|
"private": false,
|
|
9
9
|
"engineStrict": true,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID,
|
|
3
3
|
ON,
|
|
4
|
-
OFF,
|
|
5
4
|
always,
|
|
6
5
|
consistent,
|
|
7
6
|
double,
|
|
@@ -14,7 +13,13 @@ export const JsonEnableExtension = {
|
|
|
14
13
|
id: ID.EnableExtension,
|
|
15
14
|
rules: {
|
|
16
15
|
// DOC: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#extension-rules
|
|
17
|
-
"jsonc/array-bracket-newline":
|
|
16
|
+
"jsonc/array-bracket-newline": [
|
|
17
|
+
ON,
|
|
18
|
+
{
|
|
19
|
+
multiline: true,
|
|
20
|
+
minItems: null,
|
|
21
|
+
},
|
|
22
|
+
] /* MUST match @stylistic/array-bracket-newline */,
|
|
18
23
|
"jsonc/array-bracket-spacing": [
|
|
19
24
|
ON,
|
|
20
25
|
never,
|