linted 16.12.2-rc.0 → 16.12.2-rc.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/dist/rules/html/enable.d.ts +8 -0
- package/dist/rules/html/enable.d.ts.map +1 -0
- package/dist/rules/html/enable.js +15 -0
- package/dist/rules/html/enable.js.map +1 -0
- package/dist/rules/html/enable_recommended.d.ts +3 -0
- package/dist/rules/html/enable_recommended.d.ts.map +1 -0
- package/dist/rules/html/enable_recommended.js +8 -0
- package/dist/rules/html/enable_recommended.js.map +1 -0
- package/dist/rules/html.d.ts +8 -0
- package/dist/rules/html.d.ts.map +1 -0
- package/dist/rules/html.js +4 -0
- package/dist/rules/html.js.map +1 -0
- package/dist/rules/js/enable.d.ts +348 -0
- package/dist/rules/js/enable.d.ts.map +1 -0
- package/dist/rules/js/enable.js +496 -0
- package/dist/rules/js/enable.js.map +1 -0
- package/dist/rules/js/enable_stylistic.d.ts +420 -0
- package/dist/rules/js/enable_stylistic.d.ts.map +1 -0
- package/dist/rules/js/enable_stylistic.js +585 -0
- package/dist/rules/js/enable_stylistic.js.map +1 -0
- package/dist/rules/js.d.ts +765 -0
- package/dist/rules/js.d.ts.map +1 -0
- package/dist/rules/js.js +4 -0
- package/dist/rules/js.js.map +1 -0
- package/dist/rules/json/enable.d.ts +27 -0
- package/dist/rules/json/enable.d.ts.map +1 -0
- package/dist/rules/json/enable.js +31 -0
- package/dist/rules/json/enable.js.map +1 -0
- package/dist/rules/json/enable_x.d.ts.map +1 -1
- package/dist/rules/json/enable_x.js +48 -8
- package/dist/rules/json/enable_x.js.map +1 -1
- package/dist/rules/json.d.ts +74 -0
- package/dist/rules/json.d.ts.map +1 -0
- package/dist/rules/json.js +4 -0
- package/dist/rules/json.js.map +1 -0
- package/dist/rules/jsonc/override.d.ts.map +1 -1
- package/dist/rules/jsonc/override.js +12 -3
- package/dist/rules/jsonc/override.js.map +1 -1
- package/dist/rules/jsonc.d.ts +77 -0
- package/dist/rules/jsonc.d.ts.map +1 -0
- package/dist/rules/jsonc.js +4 -0
- package/dist/rules/jsonc.js.map +1 -0
- package/dist/rules/md/enable.d.ts +7 -0
- package/dist/rules/md/enable.d.ts.map +1 -0
- package/dist/rules/md/enable.js +14 -0
- package/dist/rules/md/enable.js.map +1 -0
- package/dist/rules/md.d.ts +7 -0
- package/dist/rules/md.d.ts.map +1 -0
- package/dist/rules/md.js +3 -0
- package/dist/rules/md.js.map +1 -0
- package/dist/rules/mocha/enable.d.ts +3 -0
- package/dist/rules/mocha/enable.d.ts.map +1 -0
- package/dist/rules/mocha/enable.js +3 -0
- package/dist/rules/mocha/enable.js.map +1 -0
- package/dist/rules/mocha/enable_recommended.d.ts +3 -0
- package/dist/rules/mocha/enable_recommended.d.ts.map +1 -0
- package/dist/rules/mocha/enable_recommended.js +8 -0
- package/dist/rules/mocha/enable_recommended.js.map +1 -0
- package/dist/rules/mocha.d.ts +8 -0
- package/dist/rules/mocha.d.ts.map +1 -0
- package/dist/rules/mocha.js +4 -0
- package/dist/rules/mocha.js.map +1 -0
- package/dist/rules/svelte/disable.d.ts +5 -0
- package/dist/rules/svelte/disable.d.ts.map +1 -0
- package/dist/rules/svelte/disable.js +8 -0
- package/dist/rules/svelte/disable.js.map +1 -0
- package/dist/rules/svelte/disable_js.d.ts.map +1 -1
- package/dist/rules/svelte/disable_js.js +8 -3
- package/dist/rules/svelte/disable_js.js.map +1 -1
- package/dist/rules/svelte/disable_ts.d.ts.map +1 -1
- package/dist/rules/svelte/disable_ts.js +8 -3
- package/dist/rules/svelte/disable_ts.js.map +1 -1
- package/dist/rules/svelte/enable.d.ts +126 -0
- package/dist/rules/svelte/enable.d.ts.map +1 -0
- package/dist/rules/svelte/enable.js +190 -0
- package/dist/rules/svelte/enable.js.map +1 -0
- package/dist/rules/svelte/enable_x.d.ts.map +1 -1
- package/dist/rules/svelte/enable_x.js +15 -3
- package/dist/rules/svelte/enable_x.js.map +1 -1
- package/dist/rules/svelte.d.ts +1269 -0
- package/dist/rules/svelte.d.ts.map +1 -0
- package/dist/rules/svelte.js +15 -0
- package/dist/rules/svelte.js.map +1 -0
- package/dist/rules/ts/disable.d.ts +18 -0
- package/dist/rules/ts/disable.d.ts.map +1 -0
- package/dist/rules/ts/disable.js +21 -0
- package/dist/rules/ts/disable.js.map +1 -0
- package/dist/rules/ts/disable_x.d.ts.map +1 -1
- package/dist/rules/ts/disable_x.js +1 -2
- package/dist/rules/ts/disable_x.js.map +1 -1
- package/dist/rules/ts/enable.d.ts +262 -0
- package/dist/rules/ts/enable.d.ts.map +1 -0
- package/dist/rules/ts/enable.js +503 -0
- package/dist/rules/ts/enable.js.map +1 -0
- package/dist/rules/ts/enable_x.d.ts.map +1 -1
- package/dist/rules/ts/enable_x.js +32 -5
- package/dist/rules/ts/enable_x.js.map +1 -1
- package/dist/rules/ts.d.ts +1133 -0
- package/dist/rules/ts.d.ts.map +1 -0
- package/dist/rules/ts.js +13 -0
- package/dist/rules/ts.js.map +1 -0
- package/dist/rules/yml/enable.d.ts +39 -0
- package/dist/rules/yml/enable.d.ts.map +1 -0
- package/dist/rules/yml/enable.js +60 -0
- package/dist/rules/yml/enable.js.map +1 -0
- package/dist/rules/yml/enable_x.d.ts.map +1 -1
- package/dist/rules/yml/enable_x.js +57 -9
- package/dist/rules/yml/enable_x.js.map +1 -1
- package/dist/rules/yml.d.ts +73 -0
- package/dist/rules/yml.d.ts.map +1 -0
- package/dist/rules/yml.js +4 -0
- package/dist/rules/yml.js.map +1 -0
- package/dist/rules.d.ts +75 -75
- package/dist/rules.js +9 -9
- package/dist/rules.js.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 -0
- package/src/rules/html/enable_recommended.ts +9 -0
- package/src/rules/html.ts +4 -0
- package/src/rules/js/enable.ts +524 -0
- package/src/rules/js/enable_stylistic.ts +608 -0
- package/src/rules/js.ts +4 -0
- package/src/rules/json/{_enable.ts → enable.ts} +33 -35
- package/src/rules/json/enable_x.ts +89 -50
- package/src/rules/{_json.ts → json.ts} +4 -4
- package/src/rules/jsonc/override.ts +16 -9
- package/src/rules/{_jsonc.ts → jsonc.ts} +4 -4
- package/src/rules/md/enable.ts +15 -0
- package/src/rules/md.ts +3 -0
- package/src/rules/mocha/enable.ts +3 -0
- package/src/rules/mocha/enable_recommended.ts +9 -0
- package/src/rules/mocha.ts +4 -0
- package/src/rules/svelte/disable.ts +9 -0
- package/src/rules/svelte/disable_js.ts +11 -7
- package/src/rules/svelte/disable_ts.ts +9 -5
- package/src/rules/svelte/{_enable.ts → enable.ts} +228 -129
- package/src/rules/svelte/enable_x.ts +20 -9
- package/src/rules/{_svelte.ts → svelte.ts} +15 -15
- package/src/rules/ts/{disable_compiler.ts → disable.ts} +22 -23
- package/src/rules/ts/disable_x.ts +32 -36
- package/src/rules/ts/{_enable.ts → enable.ts} +549 -406
- package/src/rules/ts/enable_x.ts +115 -90
- package/src/rules/{_ts.ts → ts.ts} +13 -13
- package/src/rules/yml/{_enable.ts → enable.ts} +64 -33
- package/src/rules/yml/enable_x.ts +68 -21
- package/src/rules/{_yml.ts → 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/src/rules/_html.ts +0 -4
- package/src/rules/_js.ts +0 -4
- package/src/rules/_md.ts +0 -3
- package/src/rules/_mocha.ts +0 -4
- package/src/rules/html/_enable.ts +0 -13
- package/src/rules/html/_recommended.ts +0 -7
- package/src/rules/js/_enable.ts +0 -287
- package/src/rules/js/stylistic.ts +0 -294
- package/src/rules/md/_enable.ts +0 -14
- package/src/rules/mocha/_enable.ts +0 -5
- package/src/rules/mocha/_recommended.ts +0 -7
- package/src/rules/svelte/disable_x.ts +0 -8
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../src/rules/svelte.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAOW"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import TsRuleset from "./ts.js";
|
2
|
+
import DisableJS from "./svelte/disable_js.js";
|
3
|
+
import DisableTS from "./svelte/disable_ts.js";
|
4
|
+
import DisableX from "./svelte/disable.js";
|
5
|
+
import EnableX from "./svelte/enable_x.js";
|
6
|
+
import Enable from "./svelte/enable.js";
|
7
|
+
export default [
|
8
|
+
...TsRuleset,
|
9
|
+
DisableJS,
|
10
|
+
DisableTS,
|
11
|
+
DisableX,
|
12
|
+
EnableX,
|
13
|
+
Enable,
|
14
|
+
];
|
15
|
+
//# sourceMappingURL=svelte.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/rules/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,SAAS,CAAC;AAChC,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,eAAe;IACb,GAAG,SAAS;IACZ,SAAS;IACT,SAAS;IACT,QAAQ;IACR,OAAO;IACP,MAAM;CACE,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
declare const _default: readonly ["disable", {
|
2
|
+
readonly "constructor-super": "off";
|
3
|
+
readonly "no-const-assign": "off";
|
4
|
+
readonly "no-dupe-args": "off";
|
5
|
+
readonly "no-dupe-class-members": "off";
|
6
|
+
readonly "no-dupe-keys": "off";
|
7
|
+
readonly "no-func-assign": "off";
|
8
|
+
readonly "no-obj-calls": "off";
|
9
|
+
readonly "no-setter-return": "off";
|
10
|
+
readonly "no-this-before-super": "off";
|
11
|
+
readonly "no-undef": "off";
|
12
|
+
readonly "no-unreachable": "off";
|
13
|
+
readonly "no-unsafe-negation": "off";
|
14
|
+
readonly "consistent-return": "off";
|
15
|
+
readonly "no-redeclare": "off";
|
16
|
+
}];
|
17
|
+
export default _default;
|
18
|
+
//# sourceMappingURL=disable.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,wBAmBW"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { disable, OFF } from "../_strings.js";
|
2
|
+
export default [
|
3
|
+
disable,
|
4
|
+
{
|
5
|
+
"constructor-super": OFF,
|
6
|
+
"no-const-assign": OFF,
|
7
|
+
"no-dupe-args": OFF,
|
8
|
+
"no-dupe-class-members": OFF,
|
9
|
+
"no-dupe-keys": OFF,
|
10
|
+
"no-func-assign": OFF,
|
11
|
+
"no-obj-calls": OFF,
|
12
|
+
"no-setter-return": OFF,
|
13
|
+
"no-this-before-super": OFF,
|
14
|
+
"no-undef": OFF,
|
15
|
+
"no-unreachable": OFF,
|
16
|
+
"no-unsafe-negation": OFF,
|
17
|
+
"consistent-return": OFF,
|
18
|
+
"no-redeclare": OFF,
|
19
|
+
},
|
20
|
+
];
|
21
|
+
//# sourceMappingURL=disable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAe;IACb,OAAO;IACP;QAEE,mBAAmB,EAAE,GAAG;QACxB,iBAAiB,EAAE,GAAG;QACtB,cAAc,EAAE,GAAG;QACnB,uBAAuB,EAAE,GAAG;QAC5B,cAAc,EAAE,GAAG;QACnB,gBAAgB,EAAE,GAAG;QACrB,cAAc,EAAE,GAAG;QACnB,kBAAkB,EAAE,GAAG;QACvB,sBAAsB,EAAE,GAAG;QAC3B,UAAU,EAAE,GAAG;QACf,gBAAgB,EAAE,GAAG;QACrB,oBAAoB,EAAE,GAAG;QACzB,mBAAmB,EAAE,GAAG;QACxB,cAAc,EAAE,GAAG;KACpB;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"disable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA6BW"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable_x.js","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"disable_x.js","sourceRoot":"","sources":["../../../src/rules/ts/disable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAEhD,eAAe;IACb,SAAS;IACT;QAEE,wBAAwB,EAAE,GAAG;QAC7B,mBAAmB,EAAE,GAAG;QACxB,oBAAoB,EAAE,GAAG;QACzB,cAAc,EAAE,GAAG;QACnB,mBAAmB,EAAE,GAAG;QACxB,YAAY,EAAE,GAAG;QACjB,sBAAsB,EAAE,GAAG;QAC3B,uBAAuB,EAAE,GAAG;QAC5B,mBAAmB,EAAE,GAAG;QACxB,iBAAiB,EAAE,GAAG;QACtB,iBAAiB,EAAE,GAAG;QACtB,cAAc,EAAE,GAAG;QACnB,kBAAkB,EAAE,GAAG;QACvB,cAAc,EAAE,GAAG;QACnB,uBAAuB,EAAE,GAAG;QAC5B,WAAW,EAAE,GAAG;QAChB,kBAAkB,EAAE,GAAG;QACvB,uBAAuB,EAAE,GAAG;QAC5B,gBAAgB,EAAE,GAAG;QACrB,sBAAsB,EAAE,GAAG;QAC3B,wBAAwB,EAAE,GAAG;QAC7B,sBAAsB,EAAE,GAAG;QAC3B,8BAA8B,EAAE,GAAG;QACnC,eAAe,EAAE,GAAG;KACrB;CACO,CAAC"}
|
@@ -0,0 +1,262 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA8hBW"}
|