@eslinted/defaults 19.0.3 → 19.0.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/dist/index.d.ts +0 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +0 -10
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/yml/extend.d.ts +0 -8
- package/dist/rules/yml/extend.d.ts.map +1 -1
- package/dist/rules/yml/extend.js +0 -8
- package/dist/rules/yml/extend.js.map +1 -1
- package/dist/rules/yml/index.d.ts +0 -10
- package/dist/rules/yml/index.d.ts.map +1 -1
- package/dist/rules/yml/yml.d.ts +0 -2
- package/dist/rules/yml/yml.d.ts.map +1 -1
- package/dist/rules/yml/yml.js +0 -2
- package/dist/rules/yml/yml.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/yml/extend.ts +2 -8
- package/src/rules/yml/yml.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1093,8 +1093,6 @@ declare const _default: {
|
|
|
1093
1093
|
readonly "yml/no-empty-key": import("./rules/state.js").State.WARN;
|
|
1094
1094
|
readonly "yml/no-empty-sequence-entry": import("./rules/state.js").State.WARN;
|
|
1095
1095
|
readonly "yml/no-tab-indent": import("./rules/state.js").State.WARN;
|
|
1096
|
-
readonly "yml/no-trailing-zeros": import("./rules/state.js").State.WARN;
|
|
1097
|
-
readonly "yml/quotes": import("./rules/state.js").State.WARN;
|
|
1098
1096
|
readonly "yml/require-string-key": import("./rules/state.js").State.WARN;
|
|
1099
1097
|
};
|
|
1100
1098
|
} | {
|
|
@@ -1107,15 +1105,7 @@ declare const _default: {
|
|
|
1107
1105
|
readonly minProperties: 2;
|
|
1108
1106
|
}
|
|
1109
1107
|
];
|
|
1110
|
-
readonly "yml/flow-mapping-curly-spacing": readonly [
|
|
1111
|
-
import("./rules/state.js").State.WARN,
|
|
1112
|
-
"never",
|
|
1113
|
-
{
|
|
1114
|
-
readonly objectsInObjects: true;
|
|
1115
|
-
}
|
|
1116
|
-
];
|
|
1117
1108
|
readonly "yml/flow-sequence-bracket-newline": import("./rules/state.js").State.WARN;
|
|
1118
|
-
readonly "yml/flow-sequence-bracket-spacing": import("./rules/state.js").State.WARN;
|
|
1119
1109
|
readonly "yml/key-spacing": import("./rules/state.js").State.WARN;
|
|
1120
1110
|
readonly "yml/no-irregular-whitespace": import("./rules/state.js").State.ON;
|
|
1121
1111
|
readonly "yml/no-multiple-empty-lines": readonly [
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
|
package/dist/rules/index.d.ts
CHANGED
|
@@ -1076,8 +1076,6 @@ declare const _default: {
|
|
|
1076
1076
|
readonly "yml/no-empty-key": import("./state.js").State.WARN;
|
|
1077
1077
|
readonly "yml/no-empty-sequence-entry": import("./state.js").State.WARN;
|
|
1078
1078
|
readonly "yml/no-tab-indent": import("./state.js").State.WARN;
|
|
1079
|
-
readonly "yml/no-trailing-zeros": import("./state.js").State.WARN;
|
|
1080
|
-
readonly "yml/quotes": import("./state.js").State.WARN;
|
|
1081
1079
|
readonly "yml/require-string-key": import("./state.js").State.WARN;
|
|
1082
1080
|
};
|
|
1083
1081
|
} | {
|
|
@@ -1090,15 +1088,7 @@ declare const _default: {
|
|
|
1090
1088
|
readonly minProperties: 2;
|
|
1091
1089
|
}
|
|
1092
1090
|
];
|
|
1093
|
-
readonly "yml/flow-mapping-curly-spacing": readonly [
|
|
1094
|
-
import("./state.js").State.WARN,
|
|
1095
|
-
"never",
|
|
1096
|
-
{
|
|
1097
|
-
readonly objectsInObjects: true;
|
|
1098
|
-
}
|
|
1099
|
-
];
|
|
1100
1091
|
readonly "yml/flow-sequence-bracket-newline": import("./state.js").State.WARN;
|
|
1101
|
-
readonly "yml/flow-sequence-bracket-spacing": import("./state.js").State.WARN;
|
|
1102
1092
|
readonly "yml/key-spacing": import("./state.js").State.WARN;
|
|
1103
1093
|
readonly "yml/no-irregular-whitespace": import("./state.js").State.ON;
|
|
1104
1094
|
readonly "yml/no-multiple-empty-lines": readonly [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}
|
|
@@ -9,15 +9,7 @@ declare const _default: {
|
|
|
9
9
|
readonly minProperties: 2;
|
|
10
10
|
}
|
|
11
11
|
];
|
|
12
|
-
readonly "yml/flow-mapping-curly-spacing": readonly [
|
|
13
|
-
State.WARN,
|
|
14
|
-
"never",
|
|
15
|
-
{
|
|
16
|
-
readonly objectsInObjects: true;
|
|
17
|
-
}
|
|
18
|
-
];
|
|
19
12
|
readonly "yml/flow-sequence-bracket-newline": State.WARN;
|
|
20
|
-
readonly "yml/flow-sequence-bracket-spacing": State.WARN;
|
|
21
13
|
readonly "yml/key-spacing": State.WARN;
|
|
22
14
|
readonly "yml/no-irregular-whitespace": State.ON;
|
|
23
15
|
readonly "yml/no-multiple-empty-lines": readonly [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBAyCE"}
|
package/dist/rules/yml/extend.js
CHANGED
|
@@ -8,15 +8,7 @@ export default {
|
|
|
8
8
|
minProperties: 2,
|
|
9
9
|
},
|
|
10
10
|
],
|
|
11
|
-
"yml/flow-mapping-curly-spacing": [
|
|
12
|
-
1,
|
|
13
|
-
"never",
|
|
14
|
-
{
|
|
15
|
-
objectsInObjects: true,
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
11
|
"yml/flow-sequence-bracket-newline": 1,
|
|
19
|
-
"yml/flow-sequence-bracket-spacing": 1,
|
|
20
12
|
"yml/key-spacing": 1,
|
|
21
13
|
"yml/no-irregular-whitespace": 2,
|
|
22
14
|
"yml/no-multiple-empty-lines": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,gCAAgC,EAAE;;YAEhC;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;
|
|
1
|
+
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,gCAAgC,EAAE;;YAEhC;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QAED,mCAAmC,GAAY;QAE/C,iBAAiB,GAAY;QAC7B,6BAA6B,GAAU;QACvC,6BAA6B,EAAE;;YAE7B;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE;;YAEpB,QAAQ;YACR;gBACE,UAAU,EAAE,CAAC,GAAG,CAAC;gBACjB,OAAO,EAAE;oBACP,GAAG;oBACH,GAAG;oBACH,IAAI;oBACJ,KAAK;oBACL,MAAM;oBACN,OAAO;oBACP,QAAQ;oBACR,WAAW;iBACZ;aACF;SACF;KACO;CACX,CAAC"}
|
|
@@ -9,8 +9,6 @@ declare const _default: ({
|
|
|
9
9
|
readonly "yml/no-empty-key": import("../state.js").State.WARN;
|
|
10
10
|
readonly "yml/no-empty-sequence-entry": import("../state.js").State.WARN;
|
|
11
11
|
readonly "yml/no-tab-indent": import("../state.js").State.WARN;
|
|
12
|
-
readonly "yml/no-trailing-zeros": import("../state.js").State.WARN;
|
|
13
|
-
readonly "yml/quotes": import("../state.js").State.WARN;
|
|
14
12
|
readonly "yml/require-string-key": import("../state.js").State.WARN;
|
|
15
13
|
};
|
|
16
14
|
} | {
|
|
@@ -23,15 +21,7 @@ declare const _default: ({
|
|
|
23
21
|
readonly minProperties: 2;
|
|
24
22
|
}
|
|
25
23
|
];
|
|
26
|
-
readonly "yml/flow-mapping-curly-spacing": readonly [
|
|
27
|
-
import("../state.js").State.WARN,
|
|
28
|
-
"never",
|
|
29
|
-
{
|
|
30
|
-
readonly objectsInObjects: true;
|
|
31
|
-
}
|
|
32
|
-
];
|
|
33
24
|
readonly "yml/flow-sequence-bracket-newline": import("../state.js").State.WARN;
|
|
34
|
-
readonly "yml/flow-sequence-bracket-spacing": import("../state.js").State.WARN;
|
|
35
25
|
readonly "yml/key-spacing": import("../state.js").State.WARN;
|
|
36
26
|
readonly "yml/no-irregular-whitespace": import("../state.js").State.ON;
|
|
37
27
|
readonly "yml/no-multiple-empty-lines": readonly [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
package/dist/rules/yml/yml.d.ts
CHANGED
|
@@ -10,8 +10,6 @@ declare const _default: {
|
|
|
10
10
|
readonly "yml/no-empty-key": State.WARN;
|
|
11
11
|
readonly "yml/no-empty-sequence-entry": State.WARN;
|
|
12
12
|
readonly "yml/no-tab-indent": State.WARN;
|
|
13
|
-
readonly "yml/no-trailing-zeros": State.WARN;
|
|
14
|
-
readonly "yml/quotes": State.WARN;
|
|
15
13
|
readonly "yml/require-string-key": State.WARN;
|
|
16
14
|
};
|
|
17
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;AAGjC,wBAuBE"}
|
package/dist/rules/yml/yml.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,2CAA2C,GAAY;QACvD,8CAA8C,GAAY;QAC1D,mBAAmB,GAAY;QAC/B,6CAA6C,GAAY;QACzD,oBAAoB,GAAY;QAEhC,YAAY,GAAY;QAGxB,kBAAkB,GAAY;QAE9B,6BAA6B,GAAY;QACzC,mBAAmB,GAAY;
|
|
1
|
+
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,2CAA2C,GAAY;QACvD,8CAA8C,GAAY;QAC1D,mBAAmB,GAAY;QAC/B,6CAA6C,GAAY;QACzD,oBAAoB,GAAY;QAEhC,YAAY,GAAY;QAGxB,kBAAkB,GAAY;QAE9B,6BAA6B,GAAY;QACzC,mBAAmB,GAAY;QAI/B,wBAAwB,GAAY;KAI5B;CACX,CAAC"}
|
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": "19.0.
|
|
6
|
+
"version": "19.0.4",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
8
8
|
"description": "Default scopes for `linted`",
|
|
9
9
|
"keywords": [],
|
package/src/rules/yml/extend.ts
CHANGED
|
@@ -11,15 +11,9 @@ export default {
|
|
|
11
11
|
minProperties: 2,
|
|
12
12
|
},
|
|
13
13
|
] /* MUST match jsonc/object-curly-newline */,
|
|
14
|
-
"yml/flow-mapping-curly-spacing":
|
|
15
|
-
State.WARN,
|
|
16
|
-
"never",
|
|
17
|
-
{
|
|
18
|
-
objectsInObjects: true,
|
|
19
|
-
},
|
|
20
|
-
] /* @OVERRIDE jsonc/object-curly-spacing */,
|
|
14
|
+
// "yml/flow-mapping-curly-spacing": State.OFF,
|
|
21
15
|
"yml/flow-sequence-bracket-newline": State.WARN /* @OVERRIDE jsonc/array-bracket-newline */,
|
|
22
|
-
"yml/flow-sequence-bracket-spacing": State.
|
|
16
|
+
// "yml/flow-sequence-bracket-spacing": State.OFF,
|
|
23
17
|
"yml/key-spacing": State.WARN /* MUST match jsonc/key-spacing */,
|
|
24
18
|
"yml/no-irregular-whitespace": State.ON,
|
|
25
19
|
"yml/no-multiple-empty-lines": [
|
package/src/rules/yml/yml.ts
CHANGED
|
@@ -16,9 +16,9 @@ export default {
|
|
|
16
16
|
// "yml/no-empty-mapping-value": State.OFF /* @preference: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
|
|
17
17
|
"yml/no-empty-sequence-entry": State.WARN,
|
|
18
18
|
"yml/no-tab-indent": State.WARN,
|
|
19
|
-
"yml/no-trailing-zeros": State.
|
|
19
|
+
// "yml/no-trailing-zeros": State.OFF,
|
|
20
20
|
// "yml/plain-scalar": State.OFF /* @CONFLICT: breaks any holdovers from YAML 1.1 or non-YAML 1.2 core implementers */,
|
|
21
|
-
"yml/quotes": State.
|
|
21
|
+
// "yml/quotes": State.OFF,
|
|
22
22
|
"yml/require-string-key": State.WARN,
|
|
23
23
|
// "yml/sort-keys": State.OFF,
|
|
24
24
|
// "yml/sort-sequence-values": State.OFF,
|