linted 16.12.2-rc.2 → 16.12.2
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/RELEASE.yml +35 -35
- package/.github/workflows/rc.yml +35 -35
- package/LICENSE +21 -21
- package/README.md +390 -390
- package/SECURITY.md +9 -9
- package/dist/imports/plugins.d.ts.map +1 -1
- package/dist/imports.d.ts.map +1 -1
- package/eslint.config.js +3 -3
- package/package.json +99 -99
- package/src/files/html.ts +1 -1
- package/src/files/js.ts +1 -1
- package/src/files/json.ts +1 -1
- package/src/files/jsonc.ts +4 -4
- package/src/files/md.ts +1 -1
- package/src/files/mocha.ts +1 -1
- package/src/files/svelte.ts +1 -1
- package/src/files/ts.ts +5 -5
- package/src/files/yml.ts +5 -5
- package/src/files.ts +22 -22
- package/src/imports/parsers.ts +15 -15
- package/src/imports/plugins.ts +19 -19
- package/src/imports.ts +8 -8
- package/src/index.ts +36 -36
- package/src/rules/_strings/id.ts +18 -18
- package/src/rules/_strings/level.ts +6 -6
- package/src/rules/_strings/state.ts +56 -56
- package/src/rules/_strings.ts +6 -6
- package/src/rules/html/enable.ts +16 -16
- package/src/rules/html/enable_recommended.ts +9 -9
- package/src/rules/html.ts +4 -4
- package/src/rules/js/enable.ts +524 -524
- package/src/rules/js/enable_stylistic.ts +608 -608
- package/src/rules/js.ts +4 -4
- package/src/rules/json/enable.ts +33 -33
- package/src/rules/json/enable_x.ts +89 -89
- package/src/rules/json.ts +4 -4
- package/src/rules/jsonc/override.ts +16 -16
- package/src/rules/jsonc.ts +4 -4
- package/src/rules/md/enable.ts +15 -15
- package/src/rules/md.ts +3 -3
- package/src/rules/mocha/enable.ts +3 -3
- package/src/rules/mocha/enable_recommended.ts +9 -9
- package/src/rules/mocha.ts +4 -4
- package/src/rules/svelte/disable.ts +9 -9
- package/src/rules/svelte/disable_js.ts +11 -11
- package/src/rules/svelte/disable_ts.ts +9 -9
- package/src/rules/svelte/enable.ts +228 -228
- package/src/rules/svelte/enable_x.ts +20 -20
- package/src/rules/svelte.ts +15 -15
- package/src/rules/ts/disable.ts +22 -22
- package/src/rules/ts/disable_x.ts +32 -32
- package/src/rules/ts/enable.ts +549 -549
- package/src/rules/ts/enable_x.ts +115 -115
- package/src/rules/ts.ts +13 -13
- package/src/rules/yml/enable.ts +64 -64
- package/src/rules/yml/enable_x.ts +68 -68
- package/src/rules/yml.ts +4 -4
- package/src/rules.ts +22 -22
- package/tsconfig.json +161 -161
- package/types/markdownlint/index.d.ts +3 -3
- package/types/markdownlint/parser.d.ts +9 -9
- package/types/mocha/index.d.ts +8 -8
- package/dist/rules/_html.d.ts +0 -8
- package/dist/rules/_html.d.ts.map +0 -1
- package/dist/rules/_html.js +0 -4
- package/dist/rules/_html.js.map +0 -1
- package/dist/rules/_js.d.ts +0 -765
- package/dist/rules/_js.d.ts.map +0 -1
- package/dist/rules/_js.js +0 -4
- package/dist/rules/_js.js.map +0 -1
- package/dist/rules/_json.d.ts +0 -74
- package/dist/rules/_json.d.ts.map +0 -1
- package/dist/rules/_json.js +0 -4
- package/dist/rules/_json.js.map +0 -1
- package/dist/rules/_jsonc.d.ts +0 -77
- package/dist/rules/_jsonc.d.ts.map +0 -1
- package/dist/rules/_jsonc.js +0 -4
- package/dist/rules/_jsonc.js.map +0 -1
- package/dist/rules/_md.d.ts +0 -7
- package/dist/rules/_md.d.ts.map +0 -1
- package/dist/rules/_md.js +0 -3
- package/dist/rules/_md.js.map +0 -1
- package/dist/rules/_mocha.d.ts +0 -8
- package/dist/rules/_mocha.d.ts.map +0 -1
- package/dist/rules/_mocha.js +0 -4
- package/dist/rules/_mocha.js.map +0 -1
- package/dist/rules/_svelte.d.ts +0 -1269
- package/dist/rules/_svelte.d.ts.map +0 -1
- package/dist/rules/_svelte.js +0 -15
- package/dist/rules/_svelte.js.map +0 -1
- package/dist/rules/_ts.d.ts +0 -1133
- package/dist/rules/_ts.d.ts.map +0 -1
- package/dist/rules/_ts.js +0 -13
- package/dist/rules/_ts.js.map +0 -1
- package/dist/rules/_yml.d.ts +0 -73
- package/dist/rules/_yml.d.ts.map +0 -1
- package/dist/rules/_yml.js +0 -4
- package/dist/rules/_yml.js.map +0 -1
- package/dist/rules/html/_enable.d.ts +0 -8
- package/dist/rules/html/_enable.d.ts.map +0 -1
- package/dist/rules/html/_enable.js +0 -10
- package/dist/rules/html/_enable.js.map +0 -1
- package/dist/rules/html/_recommended.d.ts +0 -3
- package/dist/rules/html/_recommended.d.ts.map +0 -1
- package/dist/rules/html/_recommended.js +0 -5
- package/dist/rules/html/_recommended.js.map +0 -1
- package/dist/rules/js/_enable.d.ts +0 -348
- package/dist/rules/js/_enable.d.ts.map +0 -1
- package/dist/rules/js/_enable.js +0 -260
- package/dist/rules/js/_enable.js.map +0 -1
- package/dist/rules/js/stylistic.d.ts +0 -420
- package/dist/rules/js/stylistic.d.ts.map +0 -1
- package/dist/rules/js/stylistic.js +0 -270
- package/dist/rules/js/stylistic.js.map +0 -1
- package/dist/rules/json/_enable.d.ts +0 -27
- package/dist/rules/json/_enable.d.ts.map +0 -1
- package/dist/rules/json/_enable.js +0 -31
- package/dist/rules/json/_enable.js.map +0 -1
- package/dist/rules/md/_enable.d.ts +0 -7
- package/dist/rules/md/_enable.d.ts.map +0 -1
- package/dist/rules/md/_enable.js +0 -9
- package/dist/rules/md/_enable.js.map +0 -1
- package/dist/rules/mocha/_enable.d.ts +0 -3
- package/dist/rules/mocha/_enable.d.ts.map +0 -1
- package/dist/rules/mocha/_enable.js +0 -4
- package/dist/rules/mocha/_enable.js.map +0 -1
- package/dist/rules/mocha/_recommended.d.ts +0 -3
- package/dist/rules/mocha/_recommended.d.ts.map +0 -1
- package/dist/rules/mocha/_recommended.js +0 -5
- package/dist/rules/mocha/_recommended.js.map +0 -1
- package/dist/rules/svelte/_enable.d.ts +0 -126
- package/dist/rules/svelte/_enable.d.ts.map +0 -1
- package/dist/rules/svelte/_enable.js +0 -90
- package/dist/rules/svelte/_enable.js.map +0 -1
- package/dist/rules/svelte/disable_x.d.ts +0 -5
- package/dist/rules/svelte/disable_x.d.ts.map +0 -1
- package/dist/rules/svelte/disable_x.js +0 -4
- package/dist/rules/svelte/disable_x.js.map +0 -1
- package/dist/rules/ts/_enable.d.ts +0 -262
- package/dist/rules/ts/_enable.d.ts.map +0 -1
- package/dist/rules/ts/_enable.js +0 -359
- package/dist/rules/ts/_enable.js.map +0 -1
- package/dist/rules/ts/disable_compiler.d.ts +0 -18
- package/dist/rules/ts/disable_compiler.d.ts.map +0 -1
- package/dist/rules/ts/disable_compiler.js +0 -22
- package/dist/rules/ts/disable_compiler.js.map +0 -1
- package/dist/rules/yml/_enable.d.ts +0 -39
- package/dist/rules/yml/_enable.d.ts.map +0 -1
- package/dist/rules/yml/_enable.js +0 -28
- package/dist/rules/yml/_enable.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_enable.js","sourceRoot":"","sources":["../../../src/rules/svelte/_enable.ts"],"names":[],"mappings":"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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"disable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable_x.ts"],"names":[],"mappings":";;;AAOA,wBAA4I"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"disable_x.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MACA,EAAE,SAAS,EAAE,GAAG,EAAE,EAClB,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAGhB,eAAe,CAAC,SAAS,EAAE,EAAE,uBAAuB,EAAE,GAAG,EAAwE,CAAU,CAAC"}
|
@@ -1,262 +0,0 @@
|
|
1
|
-
declare const _default: readonly ["enable", {
|
2
|
-
readonly "@typescript-eslint/adjacent-overload-signatures": "off";
|
3
|
-
readonly "@typescript-eslint/array-type": readonly ["error", {
|
4
|
-
readonly default: "array";
|
5
|
-
readonly readonly: "array";
|
6
|
-
}];
|
7
|
-
readonly "@typescript-eslint/await-thenable": "error";
|
8
|
-
readonly "@typescript-eslint/ban-ts-comment": readonly ["error", {
|
9
|
-
readonly "ts-check": false;
|
10
|
-
readonly "ts-expect-error": {
|
11
|
-
readonly descriptionFormat: "^: BUG: .+$";
|
12
|
-
};
|
13
|
-
readonly "ts-ignore": true;
|
14
|
-
readonly "ts-nocheck": true;
|
15
|
-
readonly minimumDescriptionLength: 32;
|
16
|
-
}];
|
17
|
-
readonly "@typescript-eslint/ban-tslint-comment": "error";
|
18
|
-
readonly "@typescript-eslint/class-literal-property-style": readonly ["error", "fields"];
|
19
|
-
readonly "@typescript-eslint/consistent-generic-constructors": readonly ["error", "constructor"];
|
20
|
-
readonly "@typescript-eslint/consistent-indexed-object-style": readonly ["error", "record"];
|
21
|
-
readonly "@typescript-eslint/consistent-type-assertions": readonly ["error", {
|
22
|
-
readonly assertionStyle: "as";
|
23
|
-
readonly objectLiteralTypeAssertions: "never";
|
24
|
-
}];
|
25
|
-
readonly "@typescript-eslint/consistent-type-definitions": "off";
|
26
|
-
readonly "@typescript-eslint/consistent-type-exports": readonly ["error", {
|
27
|
-
readonly fixMixedExportsWithInlineTypeSpecifier: false;
|
28
|
-
}];
|
29
|
-
readonly "@typescript-eslint/consistent-type-imports": readonly ["error", {
|
30
|
-
readonly disallowTypeAnnotations: true;
|
31
|
-
readonly fixStyle: "separate-type-imports";
|
32
|
-
readonly prefer: "type-imports";
|
33
|
-
}];
|
34
|
-
readonly "@typescript-eslint/explicit-function-return-type": "off";
|
35
|
-
readonly "@typescript-eslint/explicit-member-accessibility": readonly ["error", {
|
36
|
-
readonly accessibility: "explicit";
|
37
|
-
readonly ignoredMethodNames: readonly [];
|
38
|
-
readonly overrides: {
|
39
|
-
readonly properties: "explicit";
|
40
|
-
readonly constructors: "no-public";
|
41
|
-
readonly accessors: "explicit";
|
42
|
-
readonly methods: "explicit";
|
43
|
-
readonly parameterProperties: "explicit";
|
44
|
-
};
|
45
|
-
}];
|
46
|
-
readonly "@typescript-eslint/explicit-module-boundary-types": "off";
|
47
|
-
readonly "@typescript-eslint/member-ordering": readonly ["error", {
|
48
|
-
readonly default: {
|
49
|
-
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"];
|
50
|
-
readonly optionalityOrder: "required-first";
|
51
|
-
readonly order: "as-written";
|
52
|
-
};
|
53
|
-
}];
|
54
|
-
readonly "@typescript-eslint/method-signature-style": readonly ["error", "property"];
|
55
|
-
readonly "@typescript-eslint/naming-convention": "off";
|
56
|
-
readonly "@typescript-eslint/no-array-delete": "error";
|
57
|
-
readonly "@typescript-eslint/no-base-to-string": readonly ["error", {
|
58
|
-
readonly ignoredTypeNames: readonly ["Error", "RegExp", "URL", "URLSearchParams"];
|
59
|
-
}];
|
60
|
-
readonly "@typescript-eslint/no-confusing-non-null-assertion": "error";
|
61
|
-
readonly "@typescript-eslint/no-confusing-void-expression": readonly ["error", {
|
62
|
-
readonly ignoreArrowShorthand: true;
|
63
|
-
readonly ignoreVoidOperator: true;
|
64
|
-
}];
|
65
|
-
readonly "@typescript-eslint/no-duplicate-enum-values": "error";
|
66
|
-
readonly "@typescript-eslint/no-duplicate-type-constituents": readonly ["error", {
|
67
|
-
readonly ignoreIntersections: false;
|
68
|
-
readonly ignoreUnions: false;
|
69
|
-
}];
|
70
|
-
readonly "@typescript-eslint/no-dynamic-delete": "error";
|
71
|
-
readonly "@typescript-eslint/no-empty-object-type": readonly ["error", {
|
72
|
-
readonly allowInterfaces: "never";
|
73
|
-
readonly allowObjectTypes: "never";
|
74
|
-
}];
|
75
|
-
readonly "@typescript-eslint/no-explicit-any": readonly ["error", {
|
76
|
-
readonly fixToUnknown: true;
|
77
|
-
readonly ignoreRestArgs: false;
|
78
|
-
}];
|
79
|
-
readonly "@typescript-eslint/no-extra-non-null-assertion": "error";
|
80
|
-
readonly "@typescript-eslint/no-extraneous-class": readonly ["error", {
|
81
|
-
readonly allowConstructorOnly: false;
|
82
|
-
readonly allowEmpty: true;
|
83
|
-
readonly allowStaticOnly: false;
|
84
|
-
readonly allowWithDecorator: false;
|
85
|
-
}];
|
86
|
-
readonly "@typescript-eslint/no-floating-promises": readonly ["error", {
|
87
|
-
readonly checkThenables: true;
|
88
|
-
readonly ignoreVoid: true;
|
89
|
-
readonly ignoreIIFE: false;
|
90
|
-
}];
|
91
|
-
readonly "@typescript-eslint/no-for-in-array": "error";
|
92
|
-
readonly "@typescript-eslint/no-import-type-side-effects": "error";
|
93
|
-
readonly "@typescript-eslint/no-inferrable-types": readonly ["error", {
|
94
|
-
readonly ignoreParameters: false;
|
95
|
-
readonly ignoreProperties: false;
|
96
|
-
}];
|
97
|
-
readonly "@typescript-eslint/no-invalid-void-type": readonly ["error", {
|
98
|
-
readonly allowInGenericTypeArguments: true;
|
99
|
-
readonly allowAsThisParameter: false;
|
100
|
-
}];
|
101
|
-
readonly "@typescript-eslint/no-meaningless-void-operator": readonly ["error", {
|
102
|
-
readonly checkNever: true;
|
103
|
-
}];
|
104
|
-
readonly "@typescript-eslint/no-misused-new": "error";
|
105
|
-
readonly "@typescript-eslint/no-misused-promises": readonly ["error", {
|
106
|
-
readonly checksConditionals: true;
|
107
|
-
readonly checksSpreads: true;
|
108
|
-
readonly checksVoidReturn: {
|
109
|
-
readonly arguments: true;
|
110
|
-
readonly attributes: true;
|
111
|
-
readonly properties: true;
|
112
|
-
readonly returns: true;
|
113
|
-
readonly variables: true;
|
114
|
-
};
|
115
|
-
}];
|
116
|
-
readonly "@typescript-eslint/no-mixed-enums": "error";
|
117
|
-
readonly "@typescript-eslint/no-namespace": "off";
|
118
|
-
readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
|
119
|
-
readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
|
120
|
-
readonly "@typescript-eslint/no-non-null-assertion": "error";
|
121
|
-
readonly "@typescript-eslint/no-redundant-type-constituents": "error";
|
122
|
-
readonly "@typescript-eslint/no-restricted-types": "off";
|
123
|
-
readonly "@typescript-eslint/no-require-imports": readonly ["error", {
|
124
|
-
readonly allow: readonly [];
|
125
|
-
}];
|
126
|
-
readonly "@typescript-eslint/no-this-alias": readonly ["error", {
|
127
|
-
readonly allowDestructuring: true;
|
128
|
-
readonly allowedNames: readonly [];
|
129
|
-
}];
|
130
|
-
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": readonly ["error", {
|
131
|
-
readonly allowComparingNullableBooleansToTrue: true;
|
132
|
-
readonly allowComparingNullableBooleansToFalse: true;
|
133
|
-
}];
|
134
|
-
readonly "@typescript-eslint/no-unnecessary-condition": readonly ["error", {
|
135
|
-
readonly allowConstantLoopConditions: false;
|
136
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
137
|
-
}];
|
138
|
-
readonly "@typescript-eslint/no-unnecessary-qualifier": "error";
|
139
|
-
readonly "@typescript-eslint/no-unnecessary-template-expression": "error";
|
140
|
-
readonly "@typescript-eslint/no-unnecessary-type-arguments": "error";
|
141
|
-
readonly "@typescript-eslint/no-unnecessary-type-assertion": readonly ["error", {
|
142
|
-
readonly typesToIgnore: readonly [];
|
143
|
-
}];
|
144
|
-
readonly "@typescript-eslint/no-unnecessary-type-constraint": "error";
|
145
|
-
readonly "@typescript-eslint/no-unnecessary-type-parameters": "error";
|
146
|
-
readonly "@typescript-eslint/no-unsafe-argument": "error";
|
147
|
-
readonly "@typescript-eslint/no-unsafe-assignment": "error";
|
148
|
-
readonly "@typescript-eslint/no-unsafe-call": "error";
|
149
|
-
readonly "@typescript-eslint/no-unsafe-declaration-merging": "error";
|
150
|
-
readonly "@typescript-eslint/no-unsafe-enum-comparison": "error";
|
151
|
-
readonly "@typescript-eslint/no-unsafe-function-type": "error";
|
152
|
-
readonly "@typescript-eslint/no-unsafe-member-access": "error";
|
153
|
-
readonly "@typescript-eslint/no-unsafe-return": "error";
|
154
|
-
readonly "@typescript-eslint/no-unsafe-unary-minus": "error";
|
155
|
-
readonly "@typescript-eslint/no-useless-empty-export": "error";
|
156
|
-
readonly "@typescript-eslint/no-wrapper-object-types": "error";
|
157
|
-
readonly "@typescript-eslint/non-nullable-type-assertion-style": "off";
|
158
|
-
readonly "@typescript-eslint/parameter-properties": readonly ["error", {
|
159
|
-
readonly prefer: "parameter-property";
|
160
|
-
}];
|
161
|
-
readonly "@typescript-eslint/prefer-as-const": "error";
|
162
|
-
readonly "@typescript-eslint/prefer-enum-initializers": "error";
|
163
|
-
readonly "@typescript-eslint/prefer-find": "error";
|
164
|
-
readonly "@typescript-eslint/prefer-for-of": "error";
|
165
|
-
readonly "@typescript-eslint/prefer-function-type": "error";
|
166
|
-
readonly "@typescript-eslint/prefer-includes": "error";
|
167
|
-
readonly "@typescript-eslint/prefer-literal-enum-member": readonly ["error", {
|
168
|
-
readonly allowBitwiseExpressions: false;
|
169
|
-
}];
|
170
|
-
readonly "@typescript-eslint/prefer-namespace-keyword": "error";
|
171
|
-
readonly "@typescript-eslint/prefer-nullish-coalescing": readonly ["error", {
|
172
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
173
|
-
readonly ignoreConditionalTests: false;
|
174
|
-
readonly ignoreTernaryTests: false;
|
175
|
-
readonly ignoreMixedLogicalExpressions: false;
|
176
|
-
readonly ignorePrimitives: {
|
177
|
-
readonly bigint: false;
|
178
|
-
readonly boolean: false;
|
179
|
-
readonly number: false;
|
180
|
-
readonly string: false;
|
181
|
-
};
|
182
|
-
}];
|
183
|
-
readonly "@typescript-eslint/prefer-optional-chain": readonly ["error", {
|
184
|
-
readonly allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false;
|
185
|
-
readonly checkAny: true;
|
186
|
-
readonly checkBigInt: true;
|
187
|
-
readonly checkBoolean: true;
|
188
|
-
readonly checkNumber: true;
|
189
|
-
readonly checkString: true;
|
190
|
-
readonly checkUnknown: true;
|
191
|
-
readonly requireNullish: false;
|
192
|
-
}];
|
193
|
-
readonly "@typescript-eslint/prefer-readonly": readonly ["error", {
|
194
|
-
readonly onlyInlineLambdas: false;
|
195
|
-
}];
|
196
|
-
readonly "@typescript-eslint/prefer-readonly-parameter-types": "off";
|
197
|
-
readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
|
198
|
-
readonly "@typescript-eslint/prefer-regexp-exec": "error";
|
199
|
-
readonly "@typescript-eslint/prefer-return-this-type": "error";
|
200
|
-
readonly "@typescript-eslint/prefer-string-starts-ends-with": readonly ["error", {
|
201
|
-
readonly allowSingleElementEquality: "never";
|
202
|
-
}];
|
203
|
-
readonly "@typescript-eslint/promise-function-async": readonly ["error", {
|
204
|
-
readonly allowAny: false;
|
205
|
-
readonly allowedPromiseNames: readonly [];
|
206
|
-
readonly checkArrowFunctions: true;
|
207
|
-
readonly checkFunctionDeclarations: true;
|
208
|
-
readonly checkFunctionExpressions: true;
|
209
|
-
readonly checkMethodDeclarations: true;
|
210
|
-
}];
|
211
|
-
readonly "@typescript-eslint/require-array-sort-compare": readonly ["error", {
|
212
|
-
readonly ignoreStringArrays: true;
|
213
|
-
}];
|
214
|
-
readonly "@typescript-eslint/restrict-plus-operands": readonly ["error", {
|
215
|
-
readonly allowAny: false;
|
216
|
-
readonly allowBoolean: false;
|
217
|
-
readonly allowNullish: false;
|
218
|
-
readonly allowNumberAndString: false;
|
219
|
-
readonly allowRegExp: false;
|
220
|
-
readonly skipCompoundAssignments: false;
|
221
|
-
}];
|
222
|
-
readonly "@typescript-eslint/restrict-template-expressions": readonly ["error", {
|
223
|
-
readonly allowAny: true;
|
224
|
-
readonly allowArray: true;
|
225
|
-
readonly allowBoolean: true;
|
226
|
-
readonly allowNullish: false;
|
227
|
-
readonly allowNumber: true;
|
228
|
-
readonly allowNever: false;
|
229
|
-
readonly allowRegExp: false;
|
230
|
-
}];
|
231
|
-
readonly "@typescript-eslint/return-await": readonly ["error", "in-try-catch"];
|
232
|
-
readonly "@typescript-eslint/strict-boolean-expressions": readonly ["error", {
|
233
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
234
|
-
readonly allowAny: false;
|
235
|
-
readonly allowNumber: true;
|
236
|
-
readonly allowString: false;
|
237
|
-
readonly allowNullableBoolean: false;
|
238
|
-
readonly allowNullableEnum: false;
|
239
|
-
readonly allowNullableNumber: false;
|
240
|
-
readonly allowNullableObject: false;
|
241
|
-
readonly allowNullableString: false;
|
242
|
-
}];
|
243
|
-
readonly "@typescript-eslint/switch-exhaustiveness-check": readonly ["error", {
|
244
|
-
readonly allowDefaultCaseForExhaustiveSwitch: false;
|
245
|
-
readonly requireDefaultForNonUnion: true;
|
246
|
-
}];
|
247
|
-
readonly "@typescript-eslint/triple-slash-reference": readonly ["error", {
|
248
|
-
readonly lib: "never";
|
249
|
-
readonly path: "never";
|
250
|
-
readonly types: "never";
|
251
|
-
}];
|
252
|
-
readonly "@typescript-eslint/typedef": "off";
|
253
|
-
readonly "@typescript-eslint/unbound-method": readonly ["error", {
|
254
|
-
readonly ignoreStatic: false;
|
255
|
-
}];
|
256
|
-
readonly "@typescript-eslint/unified-signatures": readonly ["error", {
|
257
|
-
readonly ignoreDifferentlyNamedParameters: false;
|
258
|
-
}];
|
259
|
-
readonly "@typescript-eslint/use-unknown-in-catch-callback-variable": "error";
|
260
|
-
}];
|
261
|
-
export default _default;
|
262
|
-
//# sourceMappingURL=_enable.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_enable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/_enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBA8YW"}
|
package/dist/rules/ts/_enable.js
DELETED
@@ -1,359 +0,0 @@
|
|
1
|
-
import { id, level, state } from "../_strings.js";
|
2
|
-
const { enable } = id, { ERROR, OFF } = level, { Never, Explicit } = state;
|
3
|
-
export default [
|
4
|
-
enable,
|
5
|
-
{
|
6
|
-
"@typescript-eslint/adjacent-overload-signatures": OFF,
|
7
|
-
"@typescript-eslint/array-type": [ERROR, { "default": "array", readonly: "array" }],
|
8
|
-
"@typescript-eslint/await-thenable": ERROR,
|
9
|
-
"@typescript-eslint/ban-ts-comment": [
|
10
|
-
ERROR,
|
11
|
-
{
|
12
|
-
"ts-check": false,
|
13
|
-
"ts-expect-error": { descriptionFormat: "^: BUG: .+$" },
|
14
|
-
"ts-ignore": true,
|
15
|
-
"ts-nocheck": true,
|
16
|
-
minimumDescriptionLength: 32,
|
17
|
-
},
|
18
|
-
],
|
19
|
-
"@typescript-eslint/ban-tslint-comment": ERROR,
|
20
|
-
"@typescript-eslint/class-literal-property-style": [ERROR, "fields"],
|
21
|
-
"@typescript-eslint/consistent-generic-constructors": [ERROR, "constructor"],
|
22
|
-
"@typescript-eslint/consistent-indexed-object-style": [ERROR, "record"],
|
23
|
-
"@typescript-eslint/consistent-type-assertions": [ERROR, { assertionStyle: "as", objectLiteralTypeAssertions: Never }],
|
24
|
-
"@typescript-eslint/consistent-type-definitions": OFF,
|
25
|
-
"@typescript-eslint/consistent-type-exports": [ERROR, { fixMixedExportsWithInlineTypeSpecifier: false }],
|
26
|
-
"@typescript-eslint/consistent-type-imports": [ERROR, { disallowTypeAnnotations: true, fixStyle: "separate-type-imports", prefer: "type-imports" }],
|
27
|
-
"@typescript-eslint/explicit-function-return-type": OFF,
|
28
|
-
"@typescript-eslint/explicit-member-accessibility": [
|
29
|
-
ERROR,
|
30
|
-
{
|
31
|
-
accessibility: Explicit,
|
32
|
-
ignoredMethodNames: [],
|
33
|
-
overrides: {
|
34
|
-
properties: Explicit,
|
35
|
-
constructors: "no-public",
|
36
|
-
accessors: Explicit,
|
37
|
-
methods: Explicit,
|
38
|
-
parameterProperties: Explicit,
|
39
|
-
},
|
40
|
-
},
|
41
|
-
],
|
42
|
-
"@typescript-eslint/explicit-module-boundary-types": OFF,
|
43
|
-
"@typescript-eslint/member-ordering": [
|
44
|
-
ERROR,
|
45
|
-
{
|
46
|
-
"default": {
|
47
|
-
memberTypes: [
|
48
|
-
"signature",
|
49
|
-
"call-signature",
|
50
|
-
"public-static-field",
|
51
|
-
"protected-static-field",
|
52
|
-
"private-static-field",
|
53
|
-
"#private-static-field",
|
54
|
-
"public-decorated-field",
|
55
|
-
"protected-decorated-field",
|
56
|
-
"private-decorated-field",
|
57
|
-
"public-instance-field",
|
58
|
-
"protected-instance-field",
|
59
|
-
"private-instance-field",
|
60
|
-
"#private-instance-field",
|
61
|
-
"public-abstract-field",
|
62
|
-
"protected-abstract-field",
|
63
|
-
"public-field",
|
64
|
-
"protected-field",
|
65
|
-
"private-field",
|
66
|
-
"#private-field",
|
67
|
-
"static-field",
|
68
|
-
"instance-field",
|
69
|
-
"abstract-field",
|
70
|
-
"decorated-field",
|
71
|
-
"field",
|
72
|
-
"static-initialization",
|
73
|
-
"public-constructor",
|
74
|
-
"protected-constructor",
|
75
|
-
"private-constructor",
|
76
|
-
"constructor",
|
77
|
-
"public-static-accessor",
|
78
|
-
"protected-static-accessor",
|
79
|
-
"private-static-accessor",
|
80
|
-
"#private-static-accessor",
|
81
|
-
"public-decorated-accessor",
|
82
|
-
"protected-decorated-accessor",
|
83
|
-
"private-decorated-accessor",
|
84
|
-
"public-instance-accessor",
|
85
|
-
"protected-instance-accessor",
|
86
|
-
"private-instance-accessor",
|
87
|
-
"#private-instance-accessor",
|
88
|
-
"public-abstract-accessor",
|
89
|
-
"protected-abstract-accessor",
|
90
|
-
"public-accessor",
|
91
|
-
"protected-accessor",
|
92
|
-
"private-accessor",
|
93
|
-
"#private-accessor",
|
94
|
-
"static-accessor",
|
95
|
-
"instance-accessor",
|
96
|
-
"abstract-accessor",
|
97
|
-
"decorated-accessor",
|
98
|
-
"accessor",
|
99
|
-
"public-static-get",
|
100
|
-
"protected-static-get",
|
101
|
-
"private-static-get",
|
102
|
-
"#private-static-get",
|
103
|
-
"public-decorated-get",
|
104
|
-
"protected-decorated-get",
|
105
|
-
"private-decorated-get",
|
106
|
-
"public-instance-get",
|
107
|
-
"protected-instance-get",
|
108
|
-
"private-instance-get",
|
109
|
-
"#private-instance-get",
|
110
|
-
"public-abstract-get",
|
111
|
-
"protected-abstract-get",
|
112
|
-
"public-get",
|
113
|
-
"protected-get",
|
114
|
-
"private-get",
|
115
|
-
"#private-get",
|
116
|
-
"static-get",
|
117
|
-
"instance-get",
|
118
|
-
"abstract-get",
|
119
|
-
"decorated-get",
|
120
|
-
"get",
|
121
|
-
"public-static-set",
|
122
|
-
"protected-static-set",
|
123
|
-
"private-static-set",
|
124
|
-
"#private-static-set",
|
125
|
-
"public-decorated-set",
|
126
|
-
"protected-decorated-set",
|
127
|
-
"private-decorated-set",
|
128
|
-
"public-instance-set",
|
129
|
-
"protected-instance-set",
|
130
|
-
"private-instance-set",
|
131
|
-
"#private-instance-set",
|
132
|
-
"public-abstract-set",
|
133
|
-
"protected-abstract-set",
|
134
|
-
"public-set",
|
135
|
-
"protected-set",
|
136
|
-
"private-set",
|
137
|
-
"#private-set",
|
138
|
-
"static-set",
|
139
|
-
"instance-set",
|
140
|
-
"abstract-set",
|
141
|
-
"decorated-set",
|
142
|
-
"set",
|
143
|
-
"public-static-method",
|
144
|
-
"protected-static-method",
|
145
|
-
"private-static-method",
|
146
|
-
"#private-static-method",
|
147
|
-
"public-decorated-method",
|
148
|
-
"protected-decorated-method",
|
149
|
-
"private-decorated-method",
|
150
|
-
"public-instance-method",
|
151
|
-
"protected-instance-method",
|
152
|
-
"private-instance-method",
|
153
|
-
"#private-instance-method",
|
154
|
-
"public-abstract-method",
|
155
|
-
"protected-abstract-method",
|
156
|
-
"public-method",
|
157
|
-
"protected-method",
|
158
|
-
"private-method",
|
159
|
-
"#private-method",
|
160
|
-
"static-method",
|
161
|
-
"instance-method",
|
162
|
-
"abstract-method",
|
163
|
-
"decorated-method",
|
164
|
-
"method",
|
165
|
-
],
|
166
|
-
optionalityOrder: "required-first",
|
167
|
-
order: "as-written",
|
168
|
-
},
|
169
|
-
},
|
170
|
-
],
|
171
|
-
"@typescript-eslint/method-signature-style": [ERROR, "property"],
|
172
|
-
"@typescript-eslint/naming-convention": OFF,
|
173
|
-
"@typescript-eslint/no-array-delete": ERROR,
|
174
|
-
"@typescript-eslint/no-base-to-string": [
|
175
|
-
ERROR,
|
176
|
-
{
|
177
|
-
ignoredTypeNames: [
|
178
|
-
"Error",
|
179
|
-
"RegExp",
|
180
|
-
"URL",
|
181
|
-
"URLSearchParams",
|
182
|
-
],
|
183
|
-
},
|
184
|
-
],
|
185
|
-
"@typescript-eslint/no-confusing-non-null-assertion": ERROR,
|
186
|
-
"@typescript-eslint/no-confusing-void-expression": [ERROR, { ignoreArrowShorthand: true, ignoreVoidOperator: true }],
|
187
|
-
"@typescript-eslint/no-duplicate-enum-values": ERROR,
|
188
|
-
"@typescript-eslint/no-duplicate-type-constituents": [ERROR, { ignoreIntersections: false, ignoreUnions: false }],
|
189
|
-
"@typescript-eslint/no-dynamic-delete": ERROR,
|
190
|
-
"@typescript-eslint/no-empty-object-type": [
|
191
|
-
ERROR,
|
192
|
-
{
|
193
|
-
allowInterfaces: Never,
|
194
|
-
allowObjectTypes: Never,
|
195
|
-
},
|
196
|
-
],
|
197
|
-
"@typescript-eslint/no-explicit-any": [ERROR, { fixToUnknown: true, ignoreRestArgs: false }],
|
198
|
-
"@typescript-eslint/no-extra-non-null-assertion": ERROR,
|
199
|
-
"@typescript-eslint/no-extraneous-class": [
|
200
|
-
ERROR,
|
201
|
-
{
|
202
|
-
allowConstructorOnly: false,
|
203
|
-
allowEmpty: true,
|
204
|
-
allowStaticOnly: false,
|
205
|
-
allowWithDecorator: false,
|
206
|
-
},
|
207
|
-
],
|
208
|
-
"@typescript-eslint/no-floating-promises": [ERROR, { checkThenables: true, ignoreVoid: true, ignoreIIFE: false }],
|
209
|
-
"@typescript-eslint/no-for-in-array": ERROR,
|
210
|
-
"@typescript-eslint/no-import-type-side-effects": ERROR,
|
211
|
-
"@typescript-eslint/no-inferrable-types": [ERROR, { ignoreParameters: false, ignoreProperties: false }],
|
212
|
-
"@typescript-eslint/no-invalid-void-type": [ERROR, { allowInGenericTypeArguments: true, allowAsThisParameter: false }],
|
213
|
-
"@typescript-eslint/no-meaningless-void-operator": [ERROR, { checkNever: true }],
|
214
|
-
"@typescript-eslint/no-misused-new": ERROR,
|
215
|
-
"@typescript-eslint/no-misused-promises": [
|
216
|
-
ERROR,
|
217
|
-
{
|
218
|
-
checksConditionals: true,
|
219
|
-
checksSpreads: true,
|
220
|
-
checksVoidReturn: {
|
221
|
-
arguments: true,
|
222
|
-
attributes: true,
|
223
|
-
properties: true,
|
224
|
-
returns: true,
|
225
|
-
variables: true,
|
226
|
-
},
|
227
|
-
},
|
228
|
-
],
|
229
|
-
"@typescript-eslint/no-mixed-enums": ERROR,
|
230
|
-
"@typescript-eslint/no-namespace": OFF,
|
231
|
-
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": ERROR,
|
232
|
-
"@typescript-eslint/no-non-null-asserted-optional-chain": ERROR,
|
233
|
-
"@typescript-eslint/no-non-null-assertion": ERROR,
|
234
|
-
"@typescript-eslint/no-redundant-type-constituents": ERROR,
|
235
|
-
"@typescript-eslint/no-restricted-types": OFF,
|
236
|
-
"@typescript-eslint/no-require-imports": [ERROR, { allow: [] }],
|
237
|
-
"@typescript-eslint/no-this-alias": [ERROR, { allowDestructuring: true, allowedNames: [] }],
|
238
|
-
"@typescript-eslint/no-unnecessary-boolean-literal-compare": [ERROR, { allowComparingNullableBooleansToTrue: true, allowComparingNullableBooleansToFalse: true }],
|
239
|
-
"@typescript-eslint/no-unnecessary-condition": [ERROR, { allowConstantLoopConditions: false, allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false }],
|
240
|
-
"@typescript-eslint/no-unnecessary-qualifier": ERROR,
|
241
|
-
"@typescript-eslint/no-unnecessary-template-expression": ERROR,
|
242
|
-
"@typescript-eslint/no-unnecessary-type-arguments": ERROR,
|
243
|
-
"@typescript-eslint/no-unnecessary-type-assertion": [ERROR, { typesToIgnore: [] }],
|
244
|
-
"@typescript-eslint/no-unnecessary-type-constraint": ERROR,
|
245
|
-
"@typescript-eslint/no-unnecessary-type-parameters": ERROR,
|
246
|
-
"@typescript-eslint/no-unsafe-argument": ERROR,
|
247
|
-
"@typescript-eslint/no-unsafe-assignment": ERROR,
|
248
|
-
"@typescript-eslint/no-unsafe-call": ERROR,
|
249
|
-
"@typescript-eslint/no-unsafe-declaration-merging": ERROR,
|
250
|
-
"@typescript-eslint/no-unsafe-enum-comparison": ERROR,
|
251
|
-
"@typescript-eslint/no-unsafe-function-type": ERROR,
|
252
|
-
"@typescript-eslint/no-unsafe-member-access": ERROR,
|
253
|
-
"@typescript-eslint/no-unsafe-return": ERROR,
|
254
|
-
"@typescript-eslint/no-unsafe-unary-minus": ERROR,
|
255
|
-
"@typescript-eslint/no-useless-empty-export": ERROR,
|
256
|
-
"@typescript-eslint/no-wrapper-object-types": ERROR,
|
257
|
-
"@typescript-eslint/non-nullable-type-assertion-style": OFF,
|
258
|
-
"@typescript-eslint/parameter-properties": [ERROR, { prefer: "parameter-property" }],
|
259
|
-
"@typescript-eslint/prefer-as-const": ERROR,
|
260
|
-
"@typescript-eslint/prefer-enum-initializers": ERROR,
|
261
|
-
"@typescript-eslint/prefer-find": ERROR,
|
262
|
-
"@typescript-eslint/prefer-for-of": ERROR,
|
263
|
-
"@typescript-eslint/prefer-function-type": ERROR,
|
264
|
-
"@typescript-eslint/prefer-includes": ERROR,
|
265
|
-
"@typescript-eslint/prefer-literal-enum-member": [ERROR, { allowBitwiseExpressions: false }],
|
266
|
-
"@typescript-eslint/prefer-namespace-keyword": ERROR,
|
267
|
-
"@typescript-eslint/prefer-nullish-coalescing": [
|
268
|
-
ERROR,
|
269
|
-
{
|
270
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
271
|
-
ignoreConditionalTests: false,
|
272
|
-
ignoreTernaryTests: false,
|
273
|
-
ignoreMixedLogicalExpressions: false,
|
274
|
-
ignorePrimitives: {
|
275
|
-
bigint: false,
|
276
|
-
"boolean": false,
|
277
|
-
number: false,
|
278
|
-
string: false,
|
279
|
-
},
|
280
|
-
},
|
281
|
-
],
|
282
|
-
"@typescript-eslint/prefer-optional-chain": [
|
283
|
-
ERROR,
|
284
|
-
{
|
285
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,
|
286
|
-
checkAny: true,
|
287
|
-
checkBigInt: true,
|
288
|
-
checkBoolean: true,
|
289
|
-
checkNumber: true,
|
290
|
-
checkString: true,
|
291
|
-
checkUnknown: true,
|
292
|
-
requireNullish: false,
|
293
|
-
},
|
294
|
-
],
|
295
|
-
"@typescript-eslint/prefer-readonly": [ERROR, { onlyInlineLambdas: false }],
|
296
|
-
"@typescript-eslint/prefer-readonly-parameter-types": OFF,
|
297
|
-
"@typescript-eslint/prefer-reduce-type-parameter": ERROR,
|
298
|
-
"@typescript-eslint/prefer-regexp-exec": ERROR,
|
299
|
-
"@typescript-eslint/prefer-return-this-type": ERROR,
|
300
|
-
"@typescript-eslint/prefer-string-starts-ends-with": [ERROR, { allowSingleElementEquality: Never }],
|
301
|
-
"@typescript-eslint/promise-function-async": [
|
302
|
-
ERROR,
|
303
|
-
{
|
304
|
-
allowAny: false,
|
305
|
-
allowedPromiseNames: [],
|
306
|
-
checkArrowFunctions: true,
|
307
|
-
checkFunctionDeclarations: true,
|
308
|
-
checkFunctionExpressions: true,
|
309
|
-
checkMethodDeclarations: true,
|
310
|
-
},
|
311
|
-
],
|
312
|
-
"@typescript-eslint/require-array-sort-compare": [ERROR, { ignoreStringArrays: true }],
|
313
|
-
"@typescript-eslint/restrict-plus-operands": [
|
314
|
-
ERROR,
|
315
|
-
{
|
316
|
-
allowAny: false,
|
317
|
-
allowBoolean: false,
|
318
|
-
allowNullish: false,
|
319
|
-
allowNumberAndString: false,
|
320
|
-
allowRegExp: false,
|
321
|
-
skipCompoundAssignments: false,
|
322
|
-
},
|
323
|
-
],
|
324
|
-
"@typescript-eslint/restrict-template-expressions": [
|
325
|
-
ERROR,
|
326
|
-
{
|
327
|
-
allowAny: true,
|
328
|
-
allowArray: true,
|
329
|
-
allowBoolean: true,
|
330
|
-
allowNullish: false,
|
331
|
-
allowNumber: true,
|
332
|
-
allowNever: false,
|
333
|
-
allowRegExp: false,
|
334
|
-
},
|
335
|
-
],
|
336
|
-
"@typescript-eslint/return-await": [ERROR, "in-try-catch"],
|
337
|
-
"@typescript-eslint/strict-boolean-expressions": [
|
338
|
-
ERROR,
|
339
|
-
{
|
340
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
341
|
-
allowAny: false,
|
342
|
-
allowNumber: true,
|
343
|
-
allowString: false,
|
344
|
-
allowNullableBoolean: false,
|
345
|
-
allowNullableEnum: false,
|
346
|
-
allowNullableNumber: false,
|
347
|
-
allowNullableObject: false,
|
348
|
-
allowNullableString: false,
|
349
|
-
},
|
350
|
-
],
|
351
|
-
"@typescript-eslint/switch-exhaustiveness-check": [ERROR, { allowDefaultCaseForExhaustiveSwitch: false, requireDefaultForNonUnion: true }],
|
352
|
-
"@typescript-eslint/triple-slash-reference": [ERROR, { lib: Never, path: Never, types: Never }],
|
353
|
-
"@typescript-eslint/typedef": OFF,
|
354
|
-
"@typescript-eslint/unbound-method": [ERROR, { ignoreStatic: false }],
|
355
|
-
"@typescript-eslint/unified-signatures": [ERROR, { ignoreDifferentlyNamedParameters: false }],
|
356
|
-
"@typescript-eslint/use-unknown-in-catch-callback-variable": ERROR,
|
357
|
-
},
|
358
|
-
];
|
359
|
-
//# sourceMappingURL=_enable.js.map
|