@eslinted/defaults 12.8.1 → 12.10.0
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/ignores/global.js +0 -2
- package/dist/ignores/global.js.map +1 -1
- package/dist/index.d.ts +60 -572
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +60 -385
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/css/enable.d.ts +2 -9
- package/dist/rules/scopes/css/enable.d.ts.map +1 -1
- package/dist/rules/scopes/css/enable.js +3 -17
- package/dist/rules/scopes/css/enable.js.map +1 -1
- package/dist/rules/scopes/css/index.d.ts +2 -9
- package/dist/rules/scopes/css/index.d.ts.map +1 -1
- package/dist/rules/scopes/enable.d.ts +35 -184
- package/dist/rules/scopes/enable.d.ts.map +1 -1
- package/dist/rules/scopes/enable.js +68 -326
- package/dist/rules/scopes/enable.js.map +1 -1
- package/dist/rules/scopes/enable.style.d.ts +18 -121
- package/dist/rules/scopes/enable.style.d.ts.map +1 -1
- package/dist/rules/scopes/enable.style.js +31 -204
- package/dist/rules/scopes/enable.style.js.map +1 -1
- package/dist/rules/scopes/html/index.d.ts +5 -31
- package/dist/rules/scopes/html/index.d.ts.map +1 -1
- package/dist/rules/scopes/html/plugin/index.d.ts +5 -31
- package/dist/rules/scopes/html/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/html/plugin/index.js +7 -61
- package/dist/rules/scopes/html/plugin/index.js.map +1 -1
- package/dist/rules/scopes/index.d.ts +53 -305
- package/dist/rules/scopes/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/enable.d.ts +0 -2
- package/dist/rules/scopes/json/enable.d.ts.map +1 -1
- package/dist/rules/scopes/json/enable.js +2 -5
- package/dist/rules/scopes/json/enable.js.map +1 -1
- package/dist/rules/scopes/json/index.d.ts +0 -7
- package/dist/rules/scopes/json/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.d.ts +0 -1
- package/dist/rules/scopes/json/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.js +7 -10
- package/dist/rules/scopes/json/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/json/plugin/index.d.ts +0 -4
- package/dist/rules/scopes/json/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/index.js +2 -7
- package/dist/rules/scopes/json/plugin/index.js.map +1 -1
- package/dist/rules/scopes/jsonc/plugin/index.js +1 -2
- package/dist/rules/scopes/jsonc/plugin/index.js.map +1 -1
- package/dist/rules/scopes/jsoncc/plugin/index.js +1 -2
- package/dist/rules/scopes/jsoncc/plugin/index.js.map +1 -1
- package/dist/rules/scopes/mocha/chai/expect.d.ts +0 -1
- package/dist/rules/scopes/mocha/chai/expect.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/chai/expect.js +1 -3
- package/dist/rules/scopes/mocha/chai/expect.js.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.js +1 -2
- package/dist/rules/scopes/mocha/chai/index.js.map +1 -1
- package/dist/rules/scopes/mocha/disable.js +2 -3
- package/dist/rules/scopes/mocha/disable.js.map +1 -1
- package/dist/rules/scopes/mocha/enable.d.ts +0 -8
- package/dist/rules/scopes/mocha/enable.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/enable.js +2 -11
- package/dist/rules/scopes/mocha/enable.js.map +1 -1
- package/dist/rules/scopes/mocha/index.d.ts +0 -9
- package/dist/rules/scopes/mocha/index.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/disable.js +6 -9
- package/dist/rules/scopes/svelte/disable.js.map +1 -1
- package/dist/rules/scopes/svelte/enable.d.ts +0 -3
- package/dist/rules/scopes/svelte/enable.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/enable.js +14 -35
- package/dist/rules/scopes/svelte/enable.js.map +1 -1
- package/dist/rules/scopes/svelte/extension/disable.js +2 -3
- package/dist/rules/scopes/svelte/extension/disable.js.map +1 -1
- package/dist/rules/scopes/svelte/extension/index.js +2 -3
- package/dist/rules/scopes/svelte/extension/index.js.map +1 -1
- package/dist/rules/scopes/svelte/index.d.ts +0 -3
- package/dist/rules/scopes/svelte/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/disable.js +4 -5
- package/dist/rules/scopes/ts/disable.js.map +1 -1
- package/dist/rules/scopes/ts/enable.d.ts +3 -17
- package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
- package/dist/rules/scopes/ts/enable.js +11 -35
- package/dist/rules/scopes/ts/enable.js.map +1 -1
- package/dist/rules/scopes/ts/extension/disable.js +1 -18
- package/dist/rules/scopes/ts/extension/disable.js.map +1 -1
- package/dist/rules/scopes/ts/extension/index.d.ts +0 -1
- package/dist/rules/scopes/ts/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/extension/index.js +1 -20
- package/dist/rules/scopes/ts/extension/index.js.map +1 -1
- package/dist/rules/scopes/ts/index.d.ts +0 -15
- package/dist/rules/scopes/ts/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/index.d.ts +0 -6
- package/dist/rules/scopes/yml/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.js +8 -9
- package/dist/rules/scopes/yml/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.d.ts +0 -6
- package/dist/rules/scopes/yml/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.js +9 -26
- package/dist/rules/scopes/yml/plugin/index.js.map +1 -1
- package/dist/settings/registry/manifests/css.js +1 -3
- package/dist/settings/registry/manifests/css.js.map +1 -1
- package/dist/settings/registry/manifests/html.js +1 -2
- package/dist/settings/registry/manifests/html.js.map +1 -1
- package/dist/settings/registry/manifests/js.js +2 -6
- package/dist/settings/registry/manifests/js.js.map +1 -1
- package/dist/settings/registry/manifests/json.js +2 -2
- package/dist/settings/registry/manifests/json.js.map +1 -1
- package/dist/settings/registry/manifests/jsonc.js +2 -6
- package/dist/settings/registry/manifests/jsonc.js.map +1 -1
- package/dist/settings/registry/manifests/jsoncc.js +2 -6
- package/dist/settings/registry/manifests/jsoncc.js.map +1 -1
- package/dist/settings/registry/manifests/mocha.js +2 -6
- package/dist/settings/registry/manifests/mocha.js.map +1 -1
- package/dist/settings/registry/manifests/ts.js +7 -20
- package/dist/settings/registry/manifests/ts.js.map +1 -1
- package/dist/settings/registry/manifests/yml.js +1 -4
- package/dist/settings/registry/manifests/yml.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/scopes/css/enable.ts +5 -16
- package/src/rules/scopes/enable.style.ts +56 -182
- package/src/rules/scopes/enable.ts +141 -316
- package/src/rules/scopes/html/plugin/index.ts +32 -54
- package/src/rules/scopes/json/enable.ts +3 -3
- package/src/rules/scopes/json/plugin/extension.ts +2 -2
- package/src/rules/scopes/json/plugin/index.ts +5 -5
- package/src/rules/scopes/mocha/chai/expect.ts +2 -2
- package/src/rules/scopes/mocha/enable.ts +9 -9
- package/src/rules/scopes/svelte/enable.ts +4 -4
- package/src/rules/scopes/ts/enable.ts +15 -15
- package/src/rules/scopes/ts/extension/index.ts +2 -2
- package/src/rules/scopes/yml/plugin/index.ts +7 -7
- package/tsconfig.json +2 -2
|
@@ -36,8 +36,6 @@ declare const _default: ({
|
|
|
36
36
|
} | {
|
|
37
37
|
id: "enable";
|
|
38
38
|
rules: {
|
|
39
|
-
readonly "@typescript-eslint/adjacent-overload-signatures": "off";
|
|
40
|
-
readonly "@typescript-eslint/array-type": "off";
|
|
41
39
|
readonly "@typescript-eslint/await-thenable": "error";
|
|
42
40
|
readonly "@typescript-eslint/ban-ts-comment": readonly ["error", {
|
|
43
41
|
readonly "ts-check": false;
|
|
@@ -57,7 +55,6 @@ declare const _default: ({
|
|
|
57
55
|
readonly arrayLiteralTypeAssertions: "never";
|
|
58
56
|
readonly objectLiteralTypeAssertions: "never";
|
|
59
57
|
}];
|
|
60
|
-
readonly "@typescript-eslint/consistent-type-definitions": "off";
|
|
61
58
|
readonly "@typescript-eslint/consistent-type-exports": readonly ["error", {
|
|
62
59
|
readonly fixMixedExportsWithInlineTypeSpecifier: false;
|
|
63
60
|
}];
|
|
@@ -66,7 +63,6 @@ declare const _default: ({
|
|
|
66
63
|
readonly fixStyle: "separate-type-imports";
|
|
67
64
|
readonly prefer: "type-imports";
|
|
68
65
|
}];
|
|
69
|
-
readonly "@typescript-eslint/explicit-function-return-type": "off";
|
|
70
66
|
readonly "@typescript-eslint/explicit-member-accessibility": readonly ["error", {
|
|
71
67
|
readonly accessibility: "explicit";
|
|
72
68
|
readonly ignoredMethodNames: readonly [];
|
|
@@ -78,7 +74,6 @@ declare const _default: ({
|
|
|
78
74
|
readonly parameterProperties: "explicit";
|
|
79
75
|
};
|
|
80
76
|
}];
|
|
81
|
-
readonly "@typescript-eslint/explicit-module-boundary-types": "off";
|
|
82
77
|
readonly "@typescript-eslint/member-ordering": readonly ["error", {
|
|
83
78
|
readonly default: {
|
|
84
79
|
readonly memberTypes: readonly ["signature", "call-signature", "public-static-field", "protected-static-field", "private-static-field", "#private-static-field", "public-decorated-field", "protected-decorated-field", "private-decorated-field", "public-instance-field", "protected-instance-field", "private-instance-field", "#private-instance-field", "public-abstract-field", "protected-abstract-field", "public-field", "protected-field", "private-field", "#private-field", "static-field", "instance-field", "abstract-field", "decorated-field", "field", "static-initialization", "public-constructor", "protected-constructor", "private-constructor", "constructor", "public-static-accessor", "protected-static-accessor", "private-static-accessor", "#private-static-accessor", "public-decorated-accessor", "protected-decorated-accessor", "private-decorated-accessor", "public-instance-accessor", "protected-instance-accessor", "private-instance-accessor", "#private-instance-accessor", "public-abstract-accessor", "protected-abstract-accessor", "public-accessor", "protected-accessor", "private-accessor", "#private-accessor", "static-accessor", "instance-accessor", "abstract-accessor", "decorated-accessor", "accessor", "public-static-get", "protected-static-get", "private-static-get", "#private-static-get", "public-decorated-get", "protected-decorated-get", "private-decorated-get", "public-instance-get", "protected-instance-get", "private-instance-get", "#private-instance-get", "public-abstract-get", "protected-abstract-get", "public-get", "protected-get", "private-get", "#private-get", "static-get", "instance-get", "abstract-get", "decorated-get", "get", "public-static-set", "protected-static-set", "private-static-set", "#private-static-set", "public-decorated-set", "protected-decorated-set", "private-decorated-set", "public-instance-set", "protected-instance-set", "private-instance-set", "#private-instance-set", "public-abstract-set", "protected-abstract-set", "public-set", "protected-set", "private-set", "#private-set", "static-set", "instance-set", "abstract-set", "decorated-set", "set", "public-static-method", "protected-static-method", "private-static-method", "#private-static-method", "public-decorated-method", "protected-decorated-method", "private-decorated-method", "public-instance-method", "protected-instance-method", "private-instance-method", "#private-instance-method", "public-abstract-method", "protected-abstract-method", "public-method", "protected-method", "private-method", "#private-method", "static-method", "instance-method", "abstract-method", "decorated-method", "method"];
|
|
@@ -87,7 +82,6 @@ declare const _default: ({
|
|
|
87
82
|
};
|
|
88
83
|
}];
|
|
89
84
|
readonly "@typescript-eslint/method-signature-style": readonly ["error", "property"];
|
|
90
|
-
readonly "@typescript-eslint/naming-convention": "off";
|
|
91
85
|
readonly "@typescript-eslint/no-array-delete": "error";
|
|
92
86
|
readonly "@typescript-eslint/no-base-to-string": readonly ["error", {
|
|
93
87
|
readonly checkUnknown: false;
|
|
@@ -99,7 +93,6 @@ declare const _default: ({
|
|
|
99
93
|
readonly ignoreVoidOperator: true;
|
|
100
94
|
readonly ignoreVoidReturningFunctions: true;
|
|
101
95
|
}];
|
|
102
|
-
readonly "@typescript-eslint/no-deprecated": "off";
|
|
103
96
|
readonly "@typescript-eslint/no-duplicate-enum-values": "error";
|
|
104
97
|
readonly "@typescript-eslint/no-duplicate-type-constituents": readonly ["error", {
|
|
105
98
|
readonly ignoreIntersections: false;
|
|
@@ -155,12 +148,9 @@ declare const _default: ({
|
|
|
155
148
|
readonly allow: readonly [];
|
|
156
149
|
}];
|
|
157
150
|
readonly "@typescript-eslint/no-mixed-enums": "error";
|
|
158
|
-
readonly "@typescript-eslint/no-namespace": "off";
|
|
159
151
|
readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
|
|
160
152
|
readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
|
|
161
|
-
readonly "@typescript-eslint/no-non-null-assertion": "off";
|
|
162
153
|
readonly "@typescript-eslint/no-redundant-type-constituents": "error";
|
|
163
|
-
readonly "@typescript-eslint/no-restricted-types": "off";
|
|
164
154
|
readonly "@typescript-eslint/no-require-imports": readonly ["error", {
|
|
165
155
|
readonly allow: readonly [];
|
|
166
156
|
}];
|
|
@@ -195,11 +185,9 @@ declare const _default: ({
|
|
|
195
185
|
readonly "@typescript-eslint/no-unsafe-function-type": "error";
|
|
196
186
|
readonly "@typescript-eslint/no-unsafe-member-access": "error";
|
|
197
187
|
readonly "@typescript-eslint/no-unsafe-return": "error";
|
|
198
|
-
readonly "@typescript-eslint/no-unsafe-type-assertion": "off";
|
|
199
188
|
readonly "@typescript-eslint/no-unsafe-unary-minus": "error";
|
|
200
189
|
readonly "@typescript-eslint/no-useless-empty-export": "error";
|
|
201
190
|
readonly "@typescript-eslint/no-wrapper-object-types": "error";
|
|
202
|
-
readonly "@typescript-eslint/non-nullable-type-assertion-style": "off";
|
|
203
191
|
readonly "@typescript-eslint/parameter-properties": readonly ["error", {
|
|
204
192
|
readonly prefer: "parameter-property";
|
|
205
193
|
}];
|
|
@@ -240,7 +228,6 @@ declare const _default: ({
|
|
|
240
228
|
readonly "@typescript-eslint/prefer-readonly": readonly ["error", {
|
|
241
229
|
readonly onlyInlineLambdas: false;
|
|
242
230
|
}];
|
|
243
|
-
readonly "@typescript-eslint/prefer-readonly-parameter-types": "off";
|
|
244
231
|
readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
|
|
245
232
|
readonly "@typescript-eslint/prefer-regexp-exec": "error";
|
|
246
233
|
readonly "@typescript-eslint/prefer-return-this-type": "error";
|
|
@@ -298,7 +285,6 @@ declare const _default: ({
|
|
|
298
285
|
readonly path: "never";
|
|
299
286
|
readonly types: "never";
|
|
300
287
|
}];
|
|
301
|
-
readonly "@typescript-eslint/typedef": "off";
|
|
302
288
|
readonly "@typescript-eslint/unbound-method": readonly ["error", {
|
|
303
289
|
readonly ignoreStatic: false;
|
|
304
290
|
}];
|
|
@@ -317,7 +303,6 @@ declare const _default: ({
|
|
|
317
303
|
readonly allowIndexSignaturePropertyAccess: true;
|
|
318
304
|
}];
|
|
319
305
|
readonly "@typescript-eslint/no-implied-eval": "error";
|
|
320
|
-
readonly "@typescript-eslint/no-restricted-imports": "off";
|
|
321
306
|
readonly "@typescript-eslint/no-unused-vars": readonly ["error", {
|
|
322
307
|
readonly vars: "all";
|
|
323
308
|
readonly args: "all";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAKE"}
|
|
@@ -15,16 +15,12 @@ declare const _default: ({
|
|
|
15
15
|
readonly singleline: "ignore";
|
|
16
16
|
readonly multiline: "always";
|
|
17
17
|
}];
|
|
18
|
-
readonly "yml/file-extension": "off";
|
|
19
18
|
readonly "yml/indent": readonly ["error", 2, {
|
|
20
19
|
readonly alignMultilineFlowScalars: true;
|
|
21
20
|
readonly indentBlockSequences: true;
|
|
22
21
|
readonly indicatorValueIndent: 2;
|
|
23
22
|
}];
|
|
24
|
-
readonly "yml/key-name-casing": "off";
|
|
25
|
-
readonly "yml/no-empty-document": "off";
|
|
26
23
|
readonly "yml/no-empty-key": "error";
|
|
27
|
-
readonly "yml/no-empty-mapping-value": "off";
|
|
28
24
|
readonly "yml/no-empty-sequence-entry": "error";
|
|
29
25
|
readonly "yml/no-tab-indent": "error";
|
|
30
26
|
readonly "yml/no-trailing-zeros": "error";
|
|
@@ -34,8 +30,6 @@ declare const _default: ({
|
|
|
34
30
|
readonly avoidEscape: true;
|
|
35
31
|
}];
|
|
36
32
|
readonly "yml/require-string-key": "error";
|
|
37
|
-
readonly "yml/sort-keys": "off";
|
|
38
|
-
readonly "yml/sort-sequence-values": "off";
|
|
39
33
|
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
|
40
34
|
};
|
|
41
35
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/yml/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/yml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
|
@@ -2,7 +2,6 @@ import { ID, ON, never, always, strict, } from "../../../_strings/index.js";
|
|
|
2
2
|
export const YmlEnablePluginExtension = {
|
|
3
3
|
id: ID.Enable.Plugin.Extension,
|
|
4
4
|
rules: {
|
|
5
|
-
// DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#extension-rules
|
|
6
5
|
"yml/flow-mapping-curly-newline": [
|
|
7
6
|
ON,
|
|
8
7
|
{
|
|
@@ -10,7 +9,7 @@ export const YmlEnablePluginExtension = {
|
|
|
10
9
|
multiline: true,
|
|
11
10
|
minProperties: 2,
|
|
12
11
|
},
|
|
13
|
-
]
|
|
12
|
+
],
|
|
14
13
|
"yml/flow-mapping-curly-spacing": [
|
|
15
14
|
ON,
|
|
16
15
|
always,
|
|
@@ -18,14 +17,14 @@ export const YmlEnablePluginExtension = {
|
|
|
18
17
|
arraysInObjects: true,
|
|
19
18
|
objectsInObjects: true,
|
|
20
19
|
},
|
|
21
|
-
]
|
|
20
|
+
],
|
|
22
21
|
"yml/flow-sequence-bracket-newline": [
|
|
23
22
|
ON,
|
|
24
23
|
{
|
|
25
24
|
multiline: true,
|
|
26
25
|
minItems: null,
|
|
27
26
|
},
|
|
28
|
-
]
|
|
27
|
+
],
|
|
29
28
|
"yml/flow-sequence-bracket-spacing": [
|
|
30
29
|
ON,
|
|
31
30
|
never,
|
|
@@ -34,7 +33,7 @@ export const YmlEnablePluginExtension = {
|
|
|
34
33
|
objectsInArrays: false,
|
|
35
34
|
arraysInArrays: false,
|
|
36
35
|
},
|
|
37
|
-
]
|
|
36
|
+
],
|
|
38
37
|
"yml/key-spacing": [
|
|
39
38
|
ON,
|
|
40
39
|
{
|
|
@@ -42,7 +41,7 @@ export const YmlEnablePluginExtension = {
|
|
|
42
41
|
afterColon: true,
|
|
43
42
|
mode: strict,
|
|
44
43
|
},
|
|
45
|
-
]
|
|
44
|
+
],
|
|
46
45
|
"yml/no-irregular-whitespace": [
|
|
47
46
|
ON,
|
|
48
47
|
{
|
|
@@ -55,9 +54,9 @@ export const YmlEnablePluginExtension = {
|
|
|
55
54
|
{
|
|
56
55
|
max: 1,
|
|
57
56
|
maxBOF: 0,
|
|
58
|
-
maxEOF: 0
|
|
57
|
+
maxEOF: 0,
|
|
59
58
|
},
|
|
60
|
-
]
|
|
59
|
+
],
|
|
61
60
|
"yml/spaced-comment": [
|
|
62
61
|
ON,
|
|
63
62
|
always,
|
|
@@ -76,7 +75,7 @@ export const YmlEnablePluginExtension = {
|
|
|
76
75
|
"endregion",
|
|
77
76
|
],
|
|
78
77
|
},
|
|
79
|
-
]
|
|
78
|
+
],
|
|
80
79
|
},
|
|
81
80
|
};
|
|
82
81
|
//# sourceMappingURL=extension.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/yml/plugin/extension.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS;IAC9B,KAAK,EAAE;
|
|
1
|
+
{"version":3,"file":"extension.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/yml/plugin/extension.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS;IAC9B,KAAK,EAAE;QAEL,gCAAgC,EAAE;YAChC,EAAE;YACF;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,gCAAgC,EAAE;YAChC,EAAE;YACF,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,EAAE;YACnC,EAAE;YACF;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,mCAAmC,EAAE;YACnC,EAAE;YACF,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,iBAAiB,EAAE;YACjB,EAAE;YACF;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,6BAA6B,EAAE;YAC7B,EAAE;YACF;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,6BAA6B,EAAE;YAC7B,EAAE;YACF;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE;YACpB,EAAE;YACF,MAAM;YACN;gBACE,UAAU,EAAE,CAAC,GAAG,CAAC;gBACjB,OAAO,EAAE;oBACP,GAAG;oBACH,GAAG;oBACH,GAAG;oBACH,IAAI;oBACJ,KAAK;oBACL,MAAM;oBACN,OAAO;oBACP,QAAQ;oBACR,QAAQ;oBACR,WAAW;iBACZ;aACF;SACF;KACO;CACX,CAAC"}
|
|
@@ -15,16 +15,12 @@ export declare const YmlEnablePlugin: {
|
|
|
15
15
|
readonly singleline: "ignore";
|
|
16
16
|
readonly multiline: "always";
|
|
17
17
|
}];
|
|
18
|
-
readonly "yml/file-extension": "off";
|
|
19
18
|
readonly "yml/indent": readonly ["error", 2, {
|
|
20
19
|
readonly alignMultilineFlowScalars: true;
|
|
21
20
|
readonly indentBlockSequences: true;
|
|
22
21
|
readonly indicatorValueIndent: 2;
|
|
23
22
|
}];
|
|
24
|
-
readonly "yml/key-name-casing": "off";
|
|
25
|
-
readonly "yml/no-empty-document": "off";
|
|
26
23
|
readonly "yml/no-empty-key": "error";
|
|
27
|
-
readonly "yml/no-empty-mapping-value": "off";
|
|
28
24
|
readonly "yml/no-empty-sequence-entry": "error";
|
|
29
25
|
readonly "yml/no-tab-indent": "error";
|
|
30
26
|
readonly "yml/no-trailing-zeros": "error";
|
|
@@ -34,8 +30,6 @@ export declare const YmlEnablePlugin: {
|
|
|
34
30
|
readonly avoidEscape: true;
|
|
35
31
|
}];
|
|
36
32
|
readonly "yml/require-string-key": "error";
|
|
37
|
-
readonly "yml/sort-keys": "off";
|
|
38
|
-
readonly "yml/sort-sequence-values": "off";
|
|
39
33
|
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
|
40
34
|
};
|
|
41
35
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/yml/plugin/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/yml/plugin/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6E3B,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ID,
|
|
1
|
+
import { ID, ON, always, double, ignore, never, } from "../../../_strings/index.js";
|
|
2
2
|
export const YmlEnablePlugin = {
|
|
3
3
|
id: ID.Enable.Plugin.Plugin,
|
|
4
4
|
rules: {
|
|
5
|
-
// DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#yaml-rules
|
|
6
5
|
"yml/block-mapping-colon-indicator-newline": [
|
|
7
6
|
ON,
|
|
8
7
|
never,
|
|
@@ -14,55 +13,41 @@ export const YmlEnablePlugin = {
|
|
|
14
13
|
"yml/block-mapping": [
|
|
15
14
|
ON,
|
|
16
15
|
{
|
|
17
|
-
singleline: ignore
|
|
18
|
-
multiline: always
|
|
16
|
+
singleline: ignore,
|
|
17
|
+
multiline: always,
|
|
19
18
|
},
|
|
20
19
|
],
|
|
21
20
|
"yml/block-sequence-hyphen-indicator-newline": [
|
|
22
21
|
ON,
|
|
23
22
|
never,
|
|
24
23
|
{
|
|
25
|
-
nestedHyphen: always
|
|
26
|
-
blockMapping: never
|
|
24
|
+
nestedHyphen: always,
|
|
25
|
+
blockMapping: never,
|
|
27
26
|
},
|
|
28
27
|
],
|
|
29
28
|
"yml/block-sequence": [
|
|
30
29
|
ON,
|
|
31
30
|
{
|
|
32
|
-
singleline: ignore
|
|
33
|
-
multiline: always
|
|
31
|
+
singleline: ignore,
|
|
32
|
+
multiline: always,
|
|
34
33
|
},
|
|
35
34
|
],
|
|
36
|
-
"yml/file-extension": OFF,
|
|
37
35
|
"yml/indent": [
|
|
38
36
|
ON,
|
|
39
37
|
2,
|
|
40
38
|
{
|
|
41
|
-
alignMultilineFlowScalars: true
|
|
39
|
+
alignMultilineFlowScalars: true,
|
|
42
40
|
indentBlockSequences: true,
|
|
43
|
-
indicatorValueIndent: 2
|
|
41
|
+
indicatorValueIndent: 2,
|
|
44
42
|
},
|
|
45
43
|
],
|
|
46
|
-
"yml/key-name-casing": OFF,
|
|
47
|
-
"yml/no-empty-document": OFF,
|
|
48
44
|
"yml/no-empty-key": ON,
|
|
49
|
-
"yml/no-empty-mapping-value": OFF /* PREFERENCE: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
|
|
50
45
|
"yml/no-empty-sequence-entry": ON,
|
|
51
46
|
"yml/no-tab-indent": ON,
|
|
52
47
|
"yml/no-trailing-zeros": ON,
|
|
53
48
|
"yml/plain-scalar": [
|
|
54
49
|
ON,
|
|
55
50
|
always,
|
|
56
|
-
/*
|
|
57
|
-
{
|
|
58
|
-
ignorePatterns: [
|
|
59
|
-
"[\\v\\f\\u0085\\u00a0\\u1680\\u180e\\u2000-\\u200b\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]" // @default
|
|
60
|
-
],
|
|
61
|
-
overrides: {
|
|
62
|
-
[key]: null | "always" | "never",
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
*/
|
|
66
51
|
],
|
|
67
52
|
"yml/quotes": [
|
|
68
53
|
ON,
|
|
@@ -72,8 +57,6 @@ export const YmlEnablePlugin = {
|
|
|
72
57
|
},
|
|
73
58
|
],
|
|
74
59
|
"yml/require-string-key": ON,
|
|
75
|
-
"yml/sort-keys": OFF,
|
|
76
|
-
"yml/sort-sequence-values": OFF,
|
|
77
60
|
"yml/vue-custom-block/no-parsing-error": ON,
|
|
78
61
|
},
|
|
79
62
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/yml/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/yml/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,EACF,MAAM,EACN,MAAM,EACN,MAAM,EACN,KAAK,GACN,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM;IAC3B,KAAK,EAAE;QAEL,2CAA2C,EAAE;YAC3C,EAAE;YACF,KAAK;SACN;QACD,8CAA8C,EAAE;YAC9C,EAAE;YACF,KAAK;SACN;QACD,mBAAmB,EAAE;YACnB,EAAE;YACF;gBACE,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,6CAA6C,EAAE;YAC7C,EAAE;YACF,KAAK;YACL;gBACE,YAAY,EAAE,MAAM;gBACpB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,oBAAoB,EAAE;YACpB,EAAE;YACF;gBACE,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,MAAM;aAClB;SACF;QAED,YAAY,EAAE;YACZ,EAAE;YACF,CAAC;YACD;gBACE,yBAAyB,EAAE,IAAI;gBAC/B,oBAAoB,EAAE,IAAI;gBAC1B,oBAAoB,EAAE,CAAC;aACxB;SACF;QAGD,kBAAkB,EAAE,EAAE;QAEtB,6BAA6B,EAAE,EAAE;QACjC,mBAAmB,EAAE,EAAE;QACvB,uBAAuB,EAAE,EAAE;QAC3B,kBAAkB,EAAE;YAClB,EAAE;YACF,MAAM;SAWP;QACD,YAAY,EAAE;YACZ,EAAE;YACF;gBACE,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wBAAwB,EAAE,EAAE;QAG5B,uCAAuC,EAAE,EAAE;KACnC;CACX,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export const css = {
|
|
2
2
|
languageOptions: {
|
|
3
|
-
|
|
4
|
-
tolerant: false /* @default: true | DOC: https://github.com/eslint/css?tab=readme-ov-file#tolerant-mode */,
|
|
5
|
-
// customSyntax: {} /* DOC: Tailwind: https://github.com/eslint/css?tab=readme-ov-file#configuring-tailwind-syntax | DOC: https://github.com/eslint/css?tab=readme-ov-file#configuring-custom-syntax */,
|
|
3
|
+
tolerant: false,
|
|
6
4
|
},
|
|
7
5
|
parserOptions: {},
|
|
8
6
|
language: "css/css",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/css.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,eAAe,EAAE;
|
|
1
|
+
{"version":3,"file":"css.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/css.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,eAAe,EAAE;QAEf,QAAQ,EAAE,KAAK;KAEhB;IACD,aAAa,EAAE,EAAE;IACjB,QAAQ,EAAE,SAAS;CACpB,CAAC"}
|
|
@@ -3,8 +3,7 @@ export const html = {
|
|
|
3
3
|
parser: "html",
|
|
4
4
|
},
|
|
5
5
|
parserOptions: {
|
|
6
|
-
|
|
7
|
-
frontmatter: true /* @default: false | DOC: https://html-eslint.org/docs/integrating-template-engine#skip-frontmatter */,
|
|
6
|
+
frontmatter: true,
|
|
8
7
|
},
|
|
9
8
|
language: "@html-eslint/html",
|
|
10
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/html.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,eAAe,EAAE;QACf,MAAM,EAAE,MAAe;KACxB;IACD,aAAa,EAAE;
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/html.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,eAAe,EAAE;QACf,MAAM,EAAE,MAAe;KACxB;IACD,aAAa,EAAE;QAEb,WAAW,EAAE,IAAI;KAClB;IACD,QAAQ,EAAE,mBAAmB;CAC9B,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
export const js = {
|
|
2
|
-
languageOptions: {
|
|
3
|
-
|
|
4
|
-
},
|
|
5
|
-
parserOptions: {
|
|
6
|
-
// DOC: https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options
|
|
7
|
-
},
|
|
2
|
+
languageOptions: {},
|
|
3
|
+
parserOptions: {},
|
|
8
4
|
};
|
|
9
5
|
//# sourceMappingURL=js.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"js.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/js.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,eAAe,EAAE
|
|
1
|
+
{"version":3,"file":"js.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/js.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,eAAe,EAAE,EAEhB;IACD,aAAa,EAAE,EAEd;CACF,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const json = {
|
|
2
2
|
languageOptions: {
|
|
3
|
-
allowTrailingCommas: true
|
|
3
|
+
allowTrailingCommas: true,
|
|
4
4
|
},
|
|
5
5
|
parserOptions: {},
|
|
6
|
-
language: "json/jsonc"
|
|
6
|
+
language: "json/jsonc",
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/json.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,eAAe,EAAE;QACf,mBAAmB,EAAE,IAAI
|
|
1
|
+
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/json.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,eAAe,EAAE;QACf,mBAAmB,EAAE,IAAI;KAC1B;IACD,aAAa,EAAE,EAAE;IACjB,QAAQ,EAAE,YAAY;CACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/jsonc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE
|
|
1
|
+
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/jsonc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE,EAEhB;IACD,aAAa,EAAE,EAEd;IACD,QAAQ,EAAE,YAAY;CACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsoncc.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/jsoncc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,eAAe,EAAE
|
|
1
|
+
{"version":3,"file":"jsoncc.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/jsoncc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,eAAe,EAAE,EAEhB;IACD,aAAa,EAAE,EAEd;IACD,QAAQ,EAAE,YAAY;CACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/mocha.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE
|
|
1
|
+
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/mocha.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE,EAEhB;IACD,aAAa,EAAE,EAEd;CACF,CAAC"}
|
|
@@ -3,28 +3,15 @@ export const ts = {
|
|
|
3
3
|
parser: "ts",
|
|
4
4
|
},
|
|
5
5
|
parserOptions: {
|
|
6
|
-
// DOC: https://typescript-eslint.io/packages/parser/#configuration
|
|
7
|
-
// INFO: `parserOptions.projectService` is the modern replacement for the deprecated `parserOptions.project`:
|
|
8
|
-
// - https://typescript-eslint.io/blog/project-service/
|
|
9
|
-
// - https://typescript-eslint.io/getting-started/typed-linting/
|
|
10
|
-
// - https://typescript-eslint.io/troubleshooting/typed-linting/
|
|
11
|
-
// disallowAutomaticSingleRunInference: false /* @default: false */,
|
|
12
|
-
// cacheLifetime: { glob: 30 } /* { glob: "Infinity" (never) | number | @default: 30 seconds } */,
|
|
13
6
|
ecmaFeatures: {
|
|
14
|
-
|
|
15
|
-
globalReturn: true /* @default: false */,
|
|
7
|
+
globalReturn: true,
|
|
16
8
|
},
|
|
17
|
-
ecmaVersion: 2023
|
|
18
|
-
emitDecoratorMetadata: false
|
|
19
|
-
experimentalDecorators: false
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
// jsxFragmentName: null /* string | @default: null | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
|
24
|
-
// jsxPragma: "React" /* null | string (e.g. "preact") | @default: "React" | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
|
25
|
-
// lib: ["es2018"] /* string[] | @default: ["es2018"] | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
|
26
|
-
projectService: true /* ProjectServiceOptions (DOC: https://typescript-eslint.io/packages/parser/#projectserviceoptions) | true | @default: false */,
|
|
27
|
-
warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default: true */,
|
|
9
|
+
ecmaVersion: 2023,
|
|
10
|
+
emitDecoratorMetadata: false,
|
|
11
|
+
experimentalDecorators: false,
|
|
12
|
+
isolatedDeclarations: false,
|
|
13
|
+
projectService: true,
|
|
14
|
+
warnOnUnsupportedTypeScriptVersion: false,
|
|
28
15
|
},
|
|
29
16
|
};
|
|
30
17
|
//# sourceMappingURL=ts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/ts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,eAAe,EAAE;QACf,MAAM,EAAE,IAAa;KACtB;IACD,aAAa,EAAE;
|
|
1
|
+
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/ts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,eAAe,EAAE;QACf,MAAM,EAAE,IAAa;KACtB;IACD,aAAa,EAAE;QASb,YAAY,EAAE;YAEZ,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EAAE,IAAI;QACjB,qBAAqB,EAAE,KAAK;QAC5B,sBAAsB,EAAE,KAAK;QAE7B,oBAAoB,EAAE,KAAK;QAK3B,cAAc,EAAE,IAAI;QACpB,kCAAkC,EAAE,KAAK;KAC1C;CACF,CAAC"}
|
|
@@ -2,9 +2,6 @@ export const yml = {
|
|
|
2
2
|
languageOptions: {
|
|
3
3
|
parser: "yml",
|
|
4
4
|
},
|
|
5
|
-
parserOptions: {
|
|
6
|
-
// DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#advanced-configuration
|
|
7
|
-
// defaultYAMLVersion: "1.2" /* "1.1" | @default: "1.2" | DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#parseroptionsdefaultyamlversion */,
|
|
8
|
-
},
|
|
5
|
+
parserOptions: {},
|
|
9
6
|
};
|
|
10
7
|
//# sourceMappingURL=yml.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/yml.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,eAAe,EAAE;QACf,MAAM,EAAE,KAAc;KACvB;IACD,aAAa,EAAE
|
|
1
|
+
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/yml.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,eAAe,EAAE;QACf,MAAM,EAAE,KAAc;KACvB;IACD,aAAa,EAAE,EAGd;CACF,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": "12.
|
|
6
|
+
"version": "12.10.0",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
8
8
|
"private": false,
|
|
9
9
|
"engineStrict": true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID,
|
|
3
|
-
OFF,
|
|
3
|
+
// OFF,
|
|
4
4
|
ON,
|
|
5
5
|
} from "../../_strings";
|
|
6
6
|
|
|
@@ -14,14 +14,8 @@ export const CssEnable = {
|
|
|
14
14
|
"css/no-invalid-at-rule-placement": ON,
|
|
15
15
|
"css/no-invalid-at-rules": ON,
|
|
16
16
|
"css/no-invalid-named-grid-areas": ON,
|
|
17
|
-
"css/no-invalid-properties": OFF /* BUG: disabled with PREJUDICE (see commit: https://github.com/jimmy-zhening-luo/linted-defaults/commit/702e6632328813e84df92cade730469661ee85db) */,
|
|
18
|
-
"css/prefer-logical-properties":
|
|
19
|
-
ON,
|
|
20
|
-
{
|
|
21
|
-
allowProperties: [],
|
|
22
|
-
allowUnits: [],
|
|
23
|
-
},
|
|
24
|
-
],
|
|
17
|
+
// "css/no-invalid-properties": OFF /* BUG: disabled with PREJUDICE (see commit: https://github.com/jimmy-zhening-luo/linted-defaults/commit/702e6632328813e84df92cade730469661ee85db) */,
|
|
18
|
+
"css/prefer-logical-properties": ON,
|
|
25
19
|
"css/relative-font-units": [
|
|
26
20
|
ON,
|
|
27
21
|
{
|
|
@@ -31,12 +25,7 @@ export const CssEnable = {
|
|
|
31
25
|
],
|
|
32
26
|
},
|
|
33
27
|
],
|
|
34
|
-
"css/use-baseline":
|
|
35
|
-
|
|
36
|
-
{
|
|
37
|
-
available: "widely" /* 2023 | number (year) | `newly` | @default `widely` */,
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
"css/use-layers": OFF, /* not recommended by docs: https://github.com/eslint/css?tab=readme-ov-file#rules; also BUG: ESLint config inspector: css/use-layers: Invalid rule has no description [INVALID] */
|
|
28
|
+
"css/use-baseline": ON,
|
|
29
|
+
// "css/use-layers": OFF, /* not recommended by docs: https://github.com/eslint/css?tab=readme-ov-file#rules; also BUG: ESLint config inspector: css/use-layers: Invalid rule has no description [INVALID] */
|
|
41
30
|
} as const,
|
|
42
31
|
};
|