@eslinted/defaults 12.8.0 → 12.9.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/index.d.ts +0 -60
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +0 -60
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/css/enable.d.ts +0 -2
- package/dist/rules/scopes/css/enable.d.ts.map +1 -1
- package/dist/rules/scopes/css/enable.js +5 -3
- package/dist/rules/scopes/css/enable.js.map +1 -1
- package/dist/rules/scopes/css/index.d.ts +0 -2
- package/dist/rules/scopes/css/index.d.ts.map +1 -1
- package/dist/rules/scopes/enable.style.d.ts +0 -5
- package/dist/rules/scopes/enable.style.d.ts.map +1 -1
- package/dist/rules/scopes/enable.style.js +5 -5
- package/dist/rules/scopes/enable.style.js.map +1 -1
- package/dist/rules/scopes/html/index.d.ts +0 -13
- package/dist/rules/scopes/html/index.d.ts.map +1 -1
- package/dist/rules/scopes/html/plugin/index.d.ts +0 -13
- package/dist/rules/scopes/html/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/html/plugin/index.js +16 -14
- package/dist/rules/scopes/html/plugin/index.js.map +1 -1
- package/dist/rules/scopes/index.d.ts +0 -5
- 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 +5 -3
- 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 +4 -2
- 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 +7 -5
- package/dist/rules/scopes/json/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 +4 -2
- package/dist/rules/scopes/mocha/chai/expect.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 +11 -9
- 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/enable.d.ts +0 -3
- package/dist/rules/scopes/svelte/enable.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/enable.js +6 -4
- package/dist/rules/scopes/svelte/enable.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/enable.d.ts +0 -14
- package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
- package/dist/rules/scopes/ts/enable.js +17 -15
- package/dist/rules/scopes/ts/enable.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 +4 -2
- 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/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 -7
- package/dist/rules/scopes/yml/plugin/index.js.map +1 -1
- package/package.json +13 -8
- package/src/rules/scopes/css/enable.ts +3 -3
- package/src/rules/scopes/enable.style.ts +5 -5
- package/src/rules/scopes/html/plugin/index.ts +14 -14
- 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
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { ID,
|
|
1
|
+
import { ID,
|
|
2
|
+
// OFF,
|
|
3
|
+
ON, all, always, below, double, ignore, never, } from "../../_strings/index.js";
|
|
2
4
|
export const SvelteEnable = {
|
|
3
5
|
id: ID.Enable.Enable,
|
|
4
6
|
rules: {
|
|
@@ -92,7 +94,7 @@ export const SvelteEnable = {
|
|
|
92
94
|
allowReassign: false,
|
|
93
95
|
},
|
|
94
96
|
],
|
|
95
|
-
"svelte/no-unused-class-name": OFF /* incompatible: breaks if css class is located in another file; BUG: ESLint error if array empty */,
|
|
97
|
+
// "svelte/no-unused-class-name": OFF /* incompatible: breaks if css class is located in another file; BUG: ESLint error if array empty */,
|
|
96
98
|
"svelte/no-unused-props": [
|
|
97
99
|
ON,
|
|
98
100
|
{
|
|
@@ -215,7 +217,7 @@ export const SvelteEnable = {
|
|
|
215
217
|
},
|
|
216
218
|
],
|
|
217
219
|
"svelte/no-extra-reactive-curlies": ON,
|
|
218
|
-
"svelte/no-restricted-html-elements": OFF,
|
|
220
|
+
// "svelte/no-restricted-html-elements": OFF,
|
|
219
221
|
"svelte/no-spaces-around-equal-signs-in-attribute": ON,
|
|
220
222
|
"svelte/prefer-class-directive": [
|
|
221
223
|
ON,
|
|
@@ -242,7 +244,7 @@ export const SvelteEnable = {
|
|
|
242
244
|
prefer: always,
|
|
243
245
|
},
|
|
244
246
|
],
|
|
245
|
-
"svelte/sort-attributes": OFF /* INVESTIGATE: */,
|
|
247
|
+
// "svelte/sort-attributes": OFF /* INVESTIGATE: */,
|
|
246
248
|
"svelte/spaced-html-comment": [
|
|
247
249
|
ON,
|
|
248
250
|
always,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/svelte/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/svelte/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE;AACF,OAAO;AACP,EAAE,EACF,GAAG,EACH,MAAM,EACN,KAAK,EACL,MAAM,EACN,MAAM,EACN,KAAK,GACN,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM;IACpB,KAAK,EAAE;QACL,iBAAiB;QACjB,6EAA6E;QAC7E,+BAA+B,EAAE,EAAE;QACnC,4BAA4B,EAAE,EAAE;QAChC,+BAA+B,EAAE,EAAE;QACnC,8BAA8B,EAAE,EAAE;QAClC,iCAAiC,EAAE,EAAE;QACrC,+BAA+B,EAAE,EAAE;QACnC,gCAAgC,EAAE,EAAE;QACpC,oCAAoC,EAAE,EAAE;QACxC,gCAAgC,EAAE,EAAE;QACpC,6BAA6B,EAAE;YAC7B,EAAE;YACF;gBACE,KAAK,EAAE,IAAI;aACZ;SACF;QACD,8CAA8C,EAAE,EAAE;QAClD,uBAAuB,EAAE,EAAE;QAC3B,qCAAqC,EAAE,EAAE;QACzC,4CAA4C,EAAE;YAC5C,EAAE;YACF;gBACE,cAAc,EAAE,IAAI;aACrB;SACF;QACD,iCAAiC,EAAE,EAAE;QACrC,8CAA8C,EAAE,EAAE;QA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gBACE,UAAU,EAAE,KAAK;gBACjB,WAAW,EAAE,IAAI,CAAC,wCAAwC;gBAC1D,eAAe,EAAE,KAAK;gBACtB,kBAAkB,EAAE,KAAK;aAC1B;SACF;QACD,sCAAsC,EAAE,EAAE;QAC1C,aAAa;QAEb,mBAAmB;QACnB,oEAAoE;QACpE,0BAA0B,EAAE;YAC1B,EAAE;YACF;gBACE,6BAA6B,EAAE,IAAI;aACpC;SACF;QACD,eAAe,EAAE,EAAE;QACnB,aAAa;KACL;CACX,CAAC"}
|
|
@@ -73,7 +73,6 @@ declare const _default: ({
|
|
|
73
73
|
readonly additionalReactiveClasses: readonly [];
|
|
74
74
|
readonly allowReassign: false;
|
|
75
75
|
}];
|
|
76
|
-
readonly "svelte/no-unused-class-name": "off";
|
|
77
76
|
readonly "svelte/no-unused-props": readonly ["error", {
|
|
78
77
|
readonly checkImportedTypes: true;
|
|
79
78
|
readonly ignorePropertyPatterns: readonly [];
|
|
@@ -153,7 +152,6 @@ declare const _default: ({
|
|
|
153
152
|
};
|
|
154
153
|
}];
|
|
155
154
|
readonly "svelte/no-extra-reactive-curlies": "error";
|
|
156
|
-
readonly "svelte/no-restricted-html-elements": "off";
|
|
157
155
|
readonly "svelte/no-spaces-around-equal-signs-in-attribute": "error";
|
|
158
156
|
readonly "svelte/prefer-class-directive": readonly ["error", {
|
|
159
157
|
readonly prefer: "empty";
|
|
@@ -168,7 +166,6 @@ declare const _default: ({
|
|
|
168
166
|
readonly "svelte/shorthand-directive": readonly ["error", {
|
|
169
167
|
readonly prefer: "always";
|
|
170
168
|
}];
|
|
171
|
-
readonly "svelte/sort-attributes": "off";
|
|
172
169
|
readonly "svelte/spaced-html-comment": readonly ["error", "always"];
|
|
173
170
|
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": "error";
|
|
174
171
|
readonly "svelte/no-navigation-without-base": readonly ["error", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/svelte/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/svelte/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAKE"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export declare const TsEnable: {
|
|
2
2
|
id: "enable";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "@typescript-eslint/adjacent-overload-signatures": "off";
|
|
5
|
-
readonly "@typescript-eslint/array-type": "off";
|
|
6
4
|
readonly "@typescript-eslint/await-thenable": "error";
|
|
7
5
|
readonly "@typescript-eslint/ban-ts-comment": readonly ["error", {
|
|
8
6
|
readonly "ts-check": false;
|
|
@@ -22,7 +20,6 @@ export declare const TsEnable: {
|
|
|
22
20
|
readonly arrayLiteralTypeAssertions: "never";
|
|
23
21
|
readonly objectLiteralTypeAssertions: "never";
|
|
24
22
|
}];
|
|
25
|
-
readonly "@typescript-eslint/consistent-type-definitions": "off";
|
|
26
23
|
readonly "@typescript-eslint/consistent-type-exports": readonly ["error", {
|
|
27
24
|
readonly fixMixedExportsWithInlineTypeSpecifier: false;
|
|
28
25
|
}];
|
|
@@ -31,7 +28,6 @@ export declare const TsEnable: {
|
|
|
31
28
|
readonly fixStyle: "separate-type-imports";
|
|
32
29
|
readonly prefer: "type-imports";
|
|
33
30
|
}];
|
|
34
|
-
readonly "@typescript-eslint/explicit-function-return-type": "off";
|
|
35
31
|
readonly "@typescript-eslint/explicit-member-accessibility": readonly ["error", {
|
|
36
32
|
readonly accessibility: "explicit";
|
|
37
33
|
readonly ignoredMethodNames: readonly [];
|
|
@@ -43,7 +39,6 @@ export declare const TsEnable: {
|
|
|
43
39
|
readonly parameterProperties: "explicit";
|
|
44
40
|
};
|
|
45
41
|
}];
|
|
46
|
-
readonly "@typescript-eslint/explicit-module-boundary-types": "off";
|
|
47
42
|
readonly "@typescript-eslint/member-ordering": readonly ["error", {
|
|
48
43
|
readonly default: {
|
|
49
44
|
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"];
|
|
@@ -52,7 +47,6 @@ export declare const TsEnable: {
|
|
|
52
47
|
};
|
|
53
48
|
}];
|
|
54
49
|
readonly "@typescript-eslint/method-signature-style": readonly ["error", "property"];
|
|
55
|
-
readonly "@typescript-eslint/naming-convention": "off";
|
|
56
50
|
readonly "@typescript-eslint/no-array-delete": "error";
|
|
57
51
|
readonly "@typescript-eslint/no-base-to-string": readonly ["error", {
|
|
58
52
|
readonly checkUnknown: false;
|
|
@@ -64,7 +58,6 @@ export declare const TsEnable: {
|
|
|
64
58
|
readonly ignoreVoidOperator: true;
|
|
65
59
|
readonly ignoreVoidReturningFunctions: true;
|
|
66
60
|
}];
|
|
67
|
-
readonly "@typescript-eslint/no-deprecated": "off";
|
|
68
61
|
readonly "@typescript-eslint/no-duplicate-enum-values": "error";
|
|
69
62
|
readonly "@typescript-eslint/no-duplicate-type-constituents": readonly ["error", {
|
|
70
63
|
readonly ignoreIntersections: false;
|
|
@@ -120,12 +113,9 @@ export declare const TsEnable: {
|
|
|
120
113
|
readonly allow: readonly [];
|
|
121
114
|
}];
|
|
122
115
|
readonly "@typescript-eslint/no-mixed-enums": "error";
|
|
123
|
-
readonly "@typescript-eslint/no-namespace": "off";
|
|
124
116
|
readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
|
|
125
117
|
readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
|
|
126
|
-
readonly "@typescript-eslint/no-non-null-assertion": "off";
|
|
127
118
|
readonly "@typescript-eslint/no-redundant-type-constituents": "error";
|
|
128
|
-
readonly "@typescript-eslint/no-restricted-types": "off";
|
|
129
119
|
readonly "@typescript-eslint/no-require-imports": readonly ["error", {
|
|
130
120
|
readonly allow: readonly [];
|
|
131
121
|
}];
|
|
@@ -160,11 +150,9 @@ export declare const TsEnable: {
|
|
|
160
150
|
readonly "@typescript-eslint/no-unsafe-function-type": "error";
|
|
161
151
|
readonly "@typescript-eslint/no-unsafe-member-access": "error";
|
|
162
152
|
readonly "@typescript-eslint/no-unsafe-return": "error";
|
|
163
|
-
readonly "@typescript-eslint/no-unsafe-type-assertion": "off";
|
|
164
153
|
readonly "@typescript-eslint/no-unsafe-unary-minus": "error";
|
|
165
154
|
readonly "@typescript-eslint/no-useless-empty-export": "error";
|
|
166
155
|
readonly "@typescript-eslint/no-wrapper-object-types": "error";
|
|
167
|
-
readonly "@typescript-eslint/non-nullable-type-assertion-style": "off";
|
|
168
156
|
readonly "@typescript-eslint/parameter-properties": readonly ["error", {
|
|
169
157
|
readonly prefer: "parameter-property";
|
|
170
158
|
}];
|
|
@@ -205,7 +193,6 @@ export declare const TsEnable: {
|
|
|
205
193
|
readonly "@typescript-eslint/prefer-readonly": readonly ["error", {
|
|
206
194
|
readonly onlyInlineLambdas: false;
|
|
207
195
|
}];
|
|
208
|
-
readonly "@typescript-eslint/prefer-readonly-parameter-types": "off";
|
|
209
196
|
readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
|
|
210
197
|
readonly "@typescript-eslint/prefer-regexp-exec": "error";
|
|
211
198
|
readonly "@typescript-eslint/prefer-return-this-type": "error";
|
|
@@ -263,7 +250,6 @@ export declare const TsEnable: {
|
|
|
263
250
|
readonly path: "never"; /** always | never */
|
|
264
251
|
readonly types: "never"; /** always | never | prefer-import */
|
|
265
252
|
}];
|
|
266
|
-
readonly "@typescript-eslint/typedef": "off";
|
|
267
253
|
readonly "@typescript-eslint/unbound-method": readonly ["error", {
|
|
268
254
|
readonly ignoreStatic: false;
|
|
269
255
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/enable.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/enable.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAqiBF,qBAAqB;oCACpB,qBAAqB;qCACpB,qCAAqC;;;;;;;;;;CAkBzD,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { ID,
|
|
1
|
+
import { ID,
|
|
2
|
+
// OFF,
|
|
3
|
+
ON, never, explicit, } from "../../_strings/index.js";
|
|
2
4
|
export const TsEnable = {
|
|
3
5
|
id: ID.Enable.Enable,
|
|
4
6
|
rules: {
|
|
5
7
|
// DOC: https://typescript-eslint.io/rules/?=xextension-xdeprecated#rules
|
|
6
|
-
"@typescript-eslint/adjacent-overload-signatures": OFF,
|
|
7
|
-
"@typescript-eslint/array-type": OFF /* preference: ideally, I'd like to don't-care mutable arrays while requiring readonly [] syntax for immutable arrays, but there is no way to do that with the current rule options */,
|
|
8
|
+
// "@typescript-eslint/adjacent-overload-signatures": OFF,
|
|
9
|
+
// "@typescript-eslint/array-type": OFF /* preference: ideally, I'd like to don't-care mutable arrays while requiring readonly [] syntax for immutable arrays, but there is no way to do that with the current rule options */,
|
|
8
10
|
"@typescript-eslint/await-thenable": ON,
|
|
9
11
|
"@typescript-eslint/ban-ts-comment": [
|
|
10
12
|
ON,
|
|
@@ -39,7 +41,7 @@ export const TsEnable = {
|
|
|
39
41
|
objectLiteralTypeAssertions: never,
|
|
40
42
|
},
|
|
41
43
|
],
|
|
42
|
-
"@typescript-eslint/consistent-type-definitions": OFF,
|
|
44
|
+
// "@typescript-eslint/consistent-type-definitions": OFF,
|
|
43
45
|
"@typescript-eslint/consistent-type-exports": [
|
|
44
46
|
ON,
|
|
45
47
|
{
|
|
@@ -54,7 +56,7 @@ export const TsEnable = {
|
|
|
54
56
|
prefer: "type-imports",
|
|
55
57
|
},
|
|
56
58
|
],
|
|
57
|
-
"@typescript-eslint/explicit-function-return-type": OFF,
|
|
59
|
+
// "@typescript-eslint/explicit-function-return-type": OFF,
|
|
58
60
|
"@typescript-eslint/explicit-member-accessibility": [
|
|
59
61
|
ON,
|
|
60
62
|
{
|
|
@@ -69,7 +71,7 @@ export const TsEnable = {
|
|
|
69
71
|
},
|
|
70
72
|
},
|
|
71
73
|
],
|
|
72
|
-
"@typescript-eslint/explicit-module-boundary-types": OFF,
|
|
74
|
+
// "@typescript-eslint/explicit-module-boundary-types": OFF,
|
|
73
75
|
"@typescript-eslint/member-ordering": [
|
|
74
76
|
ON,
|
|
75
77
|
{
|
|
@@ -210,7 +212,7 @@ export const TsEnable = {
|
|
|
210
212
|
ON,
|
|
211
213
|
"property",
|
|
212
214
|
],
|
|
213
|
-
"@typescript-eslint/naming-convention": OFF,
|
|
215
|
+
// "@typescript-eslint/naming-convention": OFF,
|
|
214
216
|
"@typescript-eslint/no-array-delete": ON,
|
|
215
217
|
"@typescript-eslint/no-base-to-string": [
|
|
216
218
|
ON,
|
|
@@ -233,7 +235,7 @@ export const TsEnable = {
|
|
|
233
235
|
ignoreVoidReturningFunctions: true,
|
|
234
236
|
},
|
|
235
237
|
],
|
|
236
|
-
"@typescript-eslint/no-deprecated": OFF /* incompatible: Cannot be used with jsDocParsingMode: "none" */,
|
|
238
|
+
// "@typescript-eslint/no-deprecated": OFF /* incompatible: Cannot be used with jsDocParsingMode: "none" */,
|
|
237
239
|
"@typescript-eslint/no-duplicate-enum-values": ON,
|
|
238
240
|
"@typescript-eslint/no-duplicate-type-constituents": [
|
|
239
241
|
ON,
|
|
@@ -320,12 +322,12 @@ export const TsEnable = {
|
|
|
320
322
|
},
|
|
321
323
|
],
|
|
322
324
|
"@typescript-eslint/no-mixed-enums": ON,
|
|
323
|
-
"@typescript-eslint/no-namespace": OFF,
|
|
325
|
+
// "@typescript-eslint/no-namespace": OFF,
|
|
324
326
|
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": ON,
|
|
325
327
|
"@typescript-eslint/no-non-null-asserted-optional-chain": ON,
|
|
326
|
-
"@typescript-eslint/no-non-null-assertion": OFF /* preference */,
|
|
328
|
+
// "@typescript-eslint/no-non-null-assertion": OFF /* preference */,
|
|
327
329
|
"@typescript-eslint/no-redundant-type-constituents": ON,
|
|
328
|
-
"@typescript-eslint/no-restricted-types": OFF /* preference - no shared custom types across all projects that I wish to ban */,
|
|
330
|
+
// "@typescript-eslint/no-restricted-types": OFF /* preference - no shared custom types across all projects that I wish to ban */,
|
|
329
331
|
"@typescript-eslint/no-require-imports": [
|
|
330
332
|
ON,
|
|
331
333
|
{
|
|
@@ -375,11 +377,11 @@ export const TsEnable = {
|
|
|
375
377
|
"@typescript-eslint/no-unsafe-function-type": ON,
|
|
376
378
|
"@typescript-eslint/no-unsafe-member-access": ON,
|
|
377
379
|
"@typescript-eslint/no-unsafe-return": ON,
|
|
378
|
-
"@typescript-eslint/no-unsafe-type-assertion": OFF,
|
|
380
|
+
// "@typescript-eslint/no-unsafe-type-assertion": OFF,
|
|
379
381
|
"@typescript-eslint/no-unsafe-unary-minus": ON,
|
|
380
382
|
"@typescript-eslint/no-useless-empty-export": ON,
|
|
381
383
|
"@typescript-eslint/no-wrapper-object-types": ON,
|
|
382
|
-
"@typescript-eslint/non-nullable-type-assertion-style": OFF /* preference */,
|
|
384
|
+
// "@typescript-eslint/non-nullable-type-assertion-style": OFF /* preference */,
|
|
383
385
|
"@typescript-eslint/parameter-properties": [
|
|
384
386
|
ON,
|
|
385
387
|
{
|
|
@@ -435,7 +437,7 @@ export const TsEnable = {
|
|
|
435
437
|
onlyInlineLambdas: false,
|
|
436
438
|
},
|
|
437
439
|
],
|
|
438
|
-
"@typescript-eslint/prefer-readonly-parameter-types": OFF /* preference - WAY too restrictive */,
|
|
440
|
+
// "@typescript-eslint/prefer-readonly-parameter-types": OFF /* preference - WAY too restrictive */,
|
|
439
441
|
"@typescript-eslint/prefer-reduce-type-parameter": ON,
|
|
440
442
|
"@typescript-eslint/prefer-regexp-exec": ON,
|
|
441
443
|
"@typescript-eslint/prefer-return-this-type": ON,
|
|
@@ -520,7 +522,7 @@ export const TsEnable = {
|
|
|
520
522
|
types: never /** always | never | prefer-import */,
|
|
521
523
|
},
|
|
522
524
|
],
|
|
523
|
-
"@typescript-eslint/typedef": OFF /* tsconfig: { noImplicitAny, strictPropertyInitialization } */,
|
|
525
|
+
// "@typescript-eslint/typedef": OFF /* tsconfig: { noImplicitAny, strictPropertyInitialization } */,
|
|
524
526
|
"@typescript-eslint/unbound-method": [
|
|
525
527
|
ON,
|
|
526
528
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE;AACF,OAAO;AACP,EAAE,EACF,KAAK,EACL,QAAQ,GACT,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM;IACpB,KAAK,EAAE;QACL,yEAAyE;QACzE,0DAA0D;QAC1D,+NAA+N;QAC/N,mCAAmC,EAAE,EAAE;QACvC,mCAAmC,EAAE;YACnC,EAAE;YACF;gBACE,UAAU,EAAE,KAAK;gBACjB,iBAAiB,EAAE;oBACjB,iBAAiB,EAAE,uBAAuB;iBAC3C;gBACD,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,wBAAwB,EAAE,EAAE;aAC7B;SACF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 @@ export declare const TsEnableExtension: {
|
|
|
8
8
|
readonly allowIndexSignaturePropertyAccess: true;
|
|
9
9
|
}];
|
|
10
10
|
readonly "@typescript-eslint/no-implied-eval": "error";
|
|
11
|
-
readonly "@typescript-eslint/no-restricted-imports": "off";
|
|
12
11
|
readonly "@typescript-eslint/no-unused-vars": readonly ["error", {
|
|
13
12
|
readonly vars: "all";
|
|
14
13
|
readonly args: "all";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/ts/extension/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/ts/extension/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+E7B,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { ID,
|
|
1
|
+
import { ID,
|
|
2
|
+
// OFF,
|
|
3
|
+
ON, all, } from "../../../_strings/index.js";
|
|
2
4
|
export const TsEnableExtension = {
|
|
3
5
|
id: ID.Enable.Extension,
|
|
4
6
|
rules: {
|
|
@@ -26,7 +28,7 @@ export const TsEnableExtension = {
|
|
|
26
28
|
// "@typescript-eslint/no-loop-func": OFF /* ESLint now supports TS */,
|
|
27
29
|
// "@typescript-eslint/no-magic-numbers": OFF /* preference, although ESLint now supports TS */,
|
|
28
30
|
// "@typescript-eslint/no-redeclare": OFF /* tsc (let, const, -var) */,
|
|
29
|
-
"@typescript-eslint/no-restricted-imports": OFF /* preference */,
|
|
31
|
+
// "@typescript-eslint/no-restricted-imports": OFF /* preference */,
|
|
30
32
|
// "@typescript-eslint/no-shadow": OFF /* ESLint now supports TS (was: investigate) */,
|
|
31
33
|
// "@typescript-eslint/no-unused-expressions": OFF /* ESLint now supports TS (preference -- eslint:OFF) */,
|
|
32
34
|
"@typescript-eslint/no-unused-vars": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/ts/extension/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/ts/extension/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE;AACF,OAAO;AACP,EAAE,EACF,GAAG,GACJ,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS;IACvB,KAAK,EAAE;QACL,wEAAwE;QACxE,4GAA4G;QAC5G,4EAA4E;QAC5E,6EAA6E;QAC7E,iCAAiC,EAAE;YACjC,EAAE;YACF;gBACE,aAAa,EAAE,IAAI;gBAEnB,UAAU;gBACV,+BAA+B,EAAE,IAAI;gBACrC,iCAAiC,EAAE,IAAI;gBACvC,iCAAiC,EAAE,IAAI;aACxC;SACF;QACD,4EAA4E;QAC5E,0FAA0F;QAC1F,+EAA+E;QAC/E,8FAA8F;QAC9F,4EAA4E;QAC5E,oCAAoC,EAAE,EAAE;QACxC,oHAAoH;QACpH,uEAAuE;QACvE,gGAAgG;QAChG,uEAAuE;QACvE,oEAAoE;QACpE,uFAAuF;QACvF,2GAA2G;QAC3G,mCAAmC,EAAE;YACnC,EAAE;YACF;gBACE,IAAI,EAAE,GAAG;gBACT,IAAI,EAAE,GAAG;gBACT,YAAY,EAAE,GAAG;gBACjB,kBAAkB,EAAE,KAAK;gBACzB,8BAA8B,EAAE,KAAK;gBACrC,uBAAuB,EAAE,IAAI;aAC9B;SACF;QACD,+EAA+E;QAC/E,iFAAiF;QACjF,qCAAqC,EAAE;YACrC,EAAE;YACF;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,KAAK;gBACvB,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,yCAAyC,EAAE;YACzC,EAAE;YACF;gBACE,kBAAkB,EAAE;oBAClB,KAAK,EAAE,IAAI;oBACX,MAAM,EAAE,IAAI;iBACb;gBACD,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK;oBACZ,MAAM,EAAE,KAAK;iBACd;aACF;YACD;gBACE,2BAA2B,EAAE,KAAK;gBAClC,uCAAuC,EAAE,KAAK;aAC/C;SACF;QACD,iDAAiD,EAAE;YACjD,EAAE;YACF;gBACE,gBAAgB,EAAE,KAAK;gBACvB,gBAAgB,EAAE,KAAK;gBACvB,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACD,kCAAkC,EAAE,EAAE;KAC9B;CACX,CAAC"}
|
|
@@ -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"}
|
|
@@ -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,4 +1,6 @@
|
|
|
1
|
-
import { ID,
|
|
1
|
+
import { ID,
|
|
2
|
+
// OFF,
|
|
3
|
+
ON, always, double, ignore, never, } from "../../../_strings/index.js";
|
|
2
4
|
export const YmlEnablePlugin = {
|
|
3
5
|
id: ID.Enable.Plugin.Plugin,
|
|
4
6
|
rules: {
|
|
@@ -33,7 +35,7 @@ export const YmlEnablePlugin = {
|
|
|
33
35
|
multiline: always /* @default always | never | ignore */,
|
|
34
36
|
},
|
|
35
37
|
],
|
|
36
|
-
"yml/file-extension": OFF,
|
|
38
|
+
// "yml/file-extension": OFF,
|
|
37
39
|
"yml/indent": [
|
|
38
40
|
ON,
|
|
39
41
|
2,
|
|
@@ -43,10 +45,10 @@ export const YmlEnablePlugin = {
|
|
|
43
45
|
indicatorValueIndent: 2 /* @default: number option */,
|
|
44
46
|
},
|
|
45
47
|
],
|
|
46
|
-
"yml/key-name-casing": OFF,
|
|
47
|
-
"yml/no-empty-document": OFF,
|
|
48
|
+
// "yml/key-name-casing": OFF,
|
|
49
|
+
// "yml/no-empty-document": OFF,
|
|
48
50
|
"yml/no-empty-key": ON,
|
|
49
|
-
"yml/no-empty-mapping-value": OFF /* PREFERENCE: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
|
|
51
|
+
// "yml/no-empty-mapping-value": OFF /* PREFERENCE: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
|
|
50
52
|
"yml/no-empty-sequence-entry": ON,
|
|
51
53
|
"yml/no-tab-indent": ON,
|
|
52
54
|
"yml/no-trailing-zeros": ON,
|
|
@@ -72,8 +74,8 @@ export const YmlEnablePlugin = {
|
|
|
72
74
|
},
|
|
73
75
|
],
|
|
74
76
|
"yml/require-string-key": ON,
|
|
75
|
-
"yml/sort-keys": OFF,
|
|
76
|
-
"yml/sort-sequence-values": OFF,
|
|
77
|
+
// "yml/sort-keys": OFF,
|
|
78
|
+
// "yml/sort-sequence-values": OFF,
|
|
77
79
|
"yml/vue-custom-block/no-parsing-error": ON,
|
|
78
80
|
},
|
|
79
81
|
};
|
|
@@ -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;AACF,OAAO;AACP,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;QACL,uEAAuE;QACvE,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,CAAC,sCAAsC;gBACzD,SAAS,EAAE,MAAM,CAAC,sCAAsC;aACzD;SACF;QACD,6CAA6C,EAAE;YAC7C,EAAE;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