linted 22.0.0-rc.3 → 22.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{imports/index.d.ts → imports.d.ts} +1 -1
- package/dist/imports.d.ts.map +1 -0
- package/dist/imports.js +7 -0
- package/dist/imports.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -13
- package/dist/index.js.map +1 -1
- package/dist/{imports/parsers.d.ts → parsers/index.d.ts} +1 -1
- package/dist/parsers/index.d.ts.map +1 -0
- package/dist/{imports/parsers.js → parsers/index.js} +1 -1
- package/dist/parsers/index.js.map +1 -0
- package/dist/{imports/plugins.d.ts → plugins/index.d.ts} +1 -1
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/{imports/plugins.js → plugins/index.js} +1 -1
- package/dist/plugins/index.js.map +1 -0
- package/package.json +2 -1
- package/src/index.ts +10 -18
- package/dist/_strings/id.d.ts +0 -2
- package/dist/_strings/id.d.ts.map +0 -1
- package/dist/_strings/id.js +0 -2
- package/dist/_strings/id.js.map +0 -1
- package/dist/_strings/index.d.ts +0 -7
- package/dist/_strings/index.d.ts.map +0 -1
- package/dist/_strings/index.js +0 -7
- package/dist/_strings/index.js.map +0 -1
- package/dist/_strings/level.d.ts +0 -2
- package/dist/_strings/level.d.ts.map +0 -1
- package/dist/_strings/level.js +0 -2
- package/dist/_strings/level.js.map +0 -1
- package/dist/_strings/level.spec.d.ts +0 -2
- package/dist/_strings/level.spec.d.ts.map +0 -1
- package/dist/_strings/level.spec.js +0 -31
- package/dist/_strings/level.spec.js.map +0 -1
- package/dist/_strings/state.d.ts +0 -2
- package/dist/_strings/state.d.ts.map +0 -1
- package/dist/_strings/state.js +0 -2
- package/dist/_strings/state.js.map +0 -1
- package/dist/files/index.d.ts +0 -13
- package/dist/files/index.d.ts.map +0 -1
- package/dist/files/index.js +0 -20
- package/dist/files/index.js.map +0 -1
- package/dist/files/scopes/html.d.ts +0 -3
- package/dist/files/scopes/html.d.ts.map +0 -1
- package/dist/files/scopes/html.js +0 -2
- package/dist/files/scopes/html.js.map +0 -1
- package/dist/files/scopes/js.d.ts +0 -3
- package/dist/files/scopes/js.d.ts.map +0 -1
- package/dist/files/scopes/js.js +0 -5
- package/dist/files/scopes/js.js.map +0 -1
- package/dist/files/scopes/json.d.ts +0 -3
- package/dist/files/scopes/json.d.ts.map +0 -1
- package/dist/files/scopes/json.js +0 -2
- package/dist/files/scopes/json.js.map +0 -1
- package/dist/files/scopes/jsonc.d.ts +0 -3
- package/dist/files/scopes/jsonc.d.ts.map +0 -1
- package/dist/files/scopes/jsonc.js +0 -6
- package/dist/files/scopes/jsonc.js.map +0 -1
- package/dist/files/scopes/mocha.d.ts +0 -3
- package/dist/files/scopes/mocha.d.ts.map +0 -1
- package/dist/files/scopes/mocha.js +0 -5
- package/dist/files/scopes/mocha.js.map +0 -1
- package/dist/files/scopes/svelte.d.ts +0 -3
- package/dist/files/scopes/svelte.d.ts.map +0 -1
- package/dist/files/scopes/svelte.js +0 -2
- package/dist/files/scopes/svelte.js.map +0 -1
- package/dist/files/scopes/ts.d.ts +0 -3
- package/dist/files/scopes/ts.d.ts.map +0 -1
- package/dist/files/scopes/ts.js +0 -2
- package/dist/files/scopes/ts.js.map +0 -1
- package/dist/files/scopes/yml.d.ts +0 -3
- package/dist/files/scopes/yml.d.ts.map +0 -1
- package/dist/files/scopes/yml.js +0 -2
- package/dist/files/scopes/yml.js.map +0 -1
- package/dist/ignores/index.d.ts +0 -13
- package/dist/ignores/index.d.ts.map +0 -1
- package/dist/ignores/index.js +0 -29
- package/dist/ignores/index.js.map +0 -1
- package/dist/ignores/scopes/html.d.ts +0 -3
- package/dist/ignores/scopes/html.d.ts.map +0 -1
- package/dist/ignores/scopes/html.js +0 -2
- package/dist/ignores/scopes/html.js.map +0 -1
- package/dist/ignores/scopes/js.d.ts +0 -3
- package/dist/ignores/scopes/js.d.ts.map +0 -1
- package/dist/ignores/scopes/js.js +0 -2
- package/dist/ignores/scopes/js.js.map +0 -1
- package/dist/ignores/scopes/json.d.ts +0 -3
- package/dist/ignores/scopes/json.d.ts.map +0 -1
- package/dist/ignores/scopes/json.js +0 -2
- package/dist/ignores/scopes/json.js.map +0 -1
- package/dist/ignores/scopes/jsonc.d.ts +0 -3
- package/dist/ignores/scopes/jsonc.d.ts.map +0 -1
- package/dist/ignores/scopes/jsonc.js +0 -2
- package/dist/ignores/scopes/jsonc.js.map +0 -1
- package/dist/ignores/scopes/mocha.d.ts +0 -3
- package/dist/ignores/scopes/mocha.d.ts.map +0 -1
- package/dist/ignores/scopes/mocha.js +0 -2
- package/dist/ignores/scopes/mocha.js.map +0 -1
- package/dist/ignores/scopes/svelte.d.ts +0 -3
- package/dist/ignores/scopes/svelte.d.ts.map +0 -1
- package/dist/ignores/scopes/svelte.js +0 -2
- package/dist/ignores/scopes/svelte.js.map +0 -1
- package/dist/ignores/scopes/ts.d.ts +0 -3
- package/dist/ignores/scopes/ts.d.ts.map +0 -1
- package/dist/ignores/scopes/ts.js +0 -2
- package/dist/ignores/scopes/ts.js.map +0 -1
- package/dist/ignores/scopes/yml.d.ts +0 -3
- package/dist/ignores/scopes/yml.d.ts.map +0 -1
- package/dist/ignores/scopes/yml.js +0 -2
- package/dist/ignores/scopes/yml.js.map +0 -1
- package/dist/imports/index.d.ts.map +0 -1
- package/dist/imports/index.js +0 -7
- package/dist/imports/index.js.map +0 -1
- package/dist/imports/parsers.d.ts.map +0 -1
- package/dist/imports/parsers.js.map +0 -1
- package/dist/imports/plugins.d.ts.map +0 -1
- package/dist/imports/plugins.js.map +0 -1
- package/dist/rules/html/enable.d.ts +0 -3
- package/dist/rules/html/enable.d.ts.map +0 -1
- package/dist/rules/html/enable.js +0 -94
- package/dist/rules/html/enable.js.map +0 -1
- package/dist/rules/html/index.d.ts +0 -3
- package/dist/rules/html/index.d.ts.map +0 -1
- package/dist/rules/html/index.js +0 -3
- package/dist/rules/html/index.js.map +0 -1
- package/dist/rules/index.d.ts +0 -4563
- package/dist/rules/index.d.ts.map +0 -1
- package/dist/rules/index.js +0 -19
- package/dist/rules/index.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 -519
- package/dist/rules/js/enable.js.map +0 -1
- package/dist/rules/js/index.d.ts +0 -766
- package/dist/rules/js/index.d.ts.map +0 -1
- package/dist/rules/js/index.js +0 -7
- package/dist/rules/js/index.js.map +0 -1
- package/dist/rules/js/stylistic.d.ts +0 -421
- package/dist/rules/js/stylistic.d.ts.map +0 -1
- package/dist/rules/js/stylistic.js +0 -641
- 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 -30
- package/dist/rules/json/enable.js.map +0 -1
- package/dist/rules/json/enable_x.d.ts +0 -50
- package/dist/rules/json/enable_x.d.ts.map +0 -1
- package/dist/rules/json/enable_x.js +0 -80
- package/dist/rules/json/enable_x.js.map +0 -1
- package/dist/rules/json/index.d.ts +0 -74
- package/dist/rules/json/index.d.ts.map +0 -1
- package/dist/rules/json/index.js +0 -7
- package/dist/rules/json/index.js.map +0 -1
- package/dist/rules/jsonc/index.d.ts +0 -77
- package/dist/rules/jsonc/index.d.ts.map +0 -1
- package/dist/rules/jsonc/index.js +0 -7
- package/dist/rules/jsonc/index.js.map +0 -1
- package/dist/rules/jsonc/override.d.ts +0 -6
- package/dist/rules/jsonc/override.d.ts.map +0 -1
- package/dist/rules/jsonc/override.js +0 -12
- package/dist/rules/jsonc/override.js.map +0 -1
- package/dist/rules/mocha/disable.d.ts +0 -5
- package/dist/rules/mocha/disable.d.ts.map +0 -1
- package/dist/rules/mocha/disable.js +0 -8
- package/dist/rules/mocha/disable.js.map +0 -1
- package/dist/rules/mocha/enable.d.ts +0 -35
- package/dist/rules/mocha/enable.d.ts.map +0 -1
- package/dist/rules/mocha/enable.js +0 -47
- package/dist/rules/mocha/enable.js.map +0 -1
- package/dist/rules/mocha/index.d.ts +0 -1171
- package/dist/rules/mocha/index.d.ts.map +0 -1
- package/dist/rules/mocha/index.js +0 -9
- package/dist/rules/mocha/index.js.map +0 -1
- package/dist/rules/svelte/disable.d.ts +0 -5
- package/dist/rules/svelte/disable.d.ts.map +0 -1
- package/dist/rules/svelte/disable.js +0 -8
- package/dist/rules/svelte/disable.js.map +0 -1
- package/dist/rules/svelte/disable_js.d.ts +0 -6
- package/dist/rules/svelte/disable_js.d.ts.map +0 -1
- package/dist/rules/svelte/disable_js.js +0 -9
- package/dist/rules/svelte/disable_js.js.map +0 -1
- package/dist/rules/svelte/disable_ts.d.ts +0 -6
- package/dist/rules/svelte/disable_ts.d.ts.map +0 -1
- package/dist/rules/svelte/disable_ts.js +0 -9
- package/dist/rules/svelte/disable_ts.js.map +0 -1
- package/dist/rules/svelte/enable.d.ts +0 -127
- package/dist/rules/svelte/enable.d.ts.map +0 -1
- package/dist/rules/svelte/enable.js +0 -193
- package/dist/rules/svelte/enable.js.map +0 -1
- package/dist/rules/svelte/enable_x.d.ts +0 -8
- package/dist/rules/svelte/enable_x.d.ts.map +0 -1
- package/dist/rules/svelte/enable_x.js +0 -15
- package/dist/rules/svelte/enable_x.js.map +0 -1
- package/dist/rules/svelte/index.d.ts +0 -1274
- package/dist/rules/svelte/index.d.ts.map +0 -1
- package/dist/rules/svelte/index.js +0 -15
- package/dist/rules/svelte/index.js.map +0 -1
- package/dist/rules/ts/disable.d.ts +0 -18
- package/dist/rules/ts/disable.d.ts.map +0 -1
- package/dist/rules/ts/disable.js +0 -21
- package/dist/rules/ts/disable.js.map +0 -1
- package/dist/rules/ts/disable_x.d.ts +0 -28
- package/dist/rules/ts/disable_x.d.ts.map +0 -1
- package/dist/rules/ts/disable_x.js +0 -31
- package/dist/rules/ts/disable_x.js.map +0 -1
- package/dist/rules/ts/enable.d.ts +0 -265
- package/dist/rules/ts/enable.d.ts.map +0 -1
- package/dist/rules/ts/enable.js +0 -520
- package/dist/rules/ts/enable.js.map +0 -1
- package/dist/rules/ts/enable_x.d.ts +0 -72
- package/dist/rules/ts/enable_x.d.ts.map +0 -1
- package/dist/rules/ts/enable_x.js +0 -108
- package/dist/rules/ts/enable_x.js.map +0 -1
- package/dist/rules/ts/index.d.ts +0 -1137
- package/dist/rules/ts/index.d.ts.map +0 -1
- package/dist/rules/ts/index.js +0 -13
- package/dist/rules/ts/index.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 -68
- package/dist/rules/yml/enable.js.map +0 -1
- package/dist/rules/yml/enable_x.d.ts +0 -37
- package/dist/rules/yml/enable_x.d.ts.map +0 -1
- package/dist/rules/yml/enable_x.js +0 -66
- package/dist/rules/yml/enable_x.js.map +0 -1
- package/dist/rules/yml/index.d.ts +0 -73
- package/dist/rules/yml/index.d.ts.map +0 -1
- package/dist/rules/yml/index.js +0 -7
- package/dist/rules/yml/index.js.map +0 -1
- package/dist/settings.d.ts +0 -7
- package/dist/settings.d.ts.map +0 -1
- package/dist/settings.js +0 -7
- package/dist/settings.js.map +0 -1
- package/src/_strings/id.ts +0 -8
- package/src/_strings/index.ts +0 -6
- package/src/_strings/level.spec.ts +0 -31
- package/src/_strings/level.ts +0 -4
- package/src/_strings/state.ts +0 -28
- package/src/files/index.ts +0 -20
- package/src/files/scopes/html.ts +0 -1
- package/src/files/scopes/js.ts +0 -4
- package/src/files/scopes/json.ts +0 -1
- package/src/files/scopes/jsonc.ts +0 -5
- package/src/files/scopes/mocha.ts +0 -4
- package/src/files/scopes/svelte.ts +0 -1
- package/src/files/scopes/ts.ts +0 -1
- package/src/files/scopes/yml.ts +0 -1
- package/src/ignores/index.ts +0 -31
- package/src/ignores/scopes/html.ts +0 -1
- package/src/ignores/scopes/js.ts +0 -1
- package/src/ignores/scopes/json.ts +0 -1
- package/src/ignores/scopes/jsonc.ts +0 -1
- package/src/ignores/scopes/mocha.ts +0 -1
- package/src/ignores/scopes/svelte.ts +0 -1
- package/src/ignores/scopes/ts.ts +0 -1
- package/src/ignores/scopes/yml.ts +0 -1
- package/src/rules/html/enable.ts +0 -121
- package/src/rules/html/index.ts +0 -3
- package/src/rules/index.ts +0 -19
- package/src/rules/js/enable.ts +0 -547
- package/src/rules/js/index.ts +0 -7
- package/src/rules/js/stylistic.ts +0 -664
- package/src/rules/json/enable.ts +0 -35
- package/src/rules/json/enable_x.ts +0 -91
- package/src/rules/json/index.ts +0 -7
- package/src/rules/jsonc/index.ts +0 -7
- package/src/rules/jsonc/override.ts +0 -18
- package/src/rules/mocha/disable.ts +0 -11
- package/src/rules/mocha/enable.ts +0 -53
- package/src/rules/mocha/index.ts +0 -9
- package/src/rules/svelte/disable.ts +0 -12
- package/src/rules/svelte/disable_js.ts +0 -11
- package/src/rules/svelte/disable_ts.ts +0 -9
- package/src/rules/svelte/enable.ts +0 -232
- package/src/rules/svelte/enable_x.ts +0 -22
- package/src/rules/svelte/index.ts +0 -15
- package/src/rules/ts/disable.ts +0 -25
- package/src/rules/ts/disable_x.ts +0 -35
- package/src/rules/ts/enable.ts +0 -569
- package/src/rules/ts/enable_x.ts +0 -117
- package/src/rules/ts/index.ts +0 -13
- package/src/rules/yml/enable.ts +0 -76
- package/src/rules/yml/enable_x.ts +0 -73
- package/src/rules/yml/index.ts +0 -7
- package/src/settings.ts +0 -6
- /package/src/{imports/index.ts → imports.ts} +0 -0
- /package/src/{imports/parsers.ts → parsers/index.ts} +0 -0
- /package/src/{imports/plugins.ts → plugins/index.ts} +0 -0
package/dist/rules/ts/enable.js
DELETED
@@ -1,520 +0,0 @@
|
|
1
|
-
import { enable, ERROR, OFF, Never, Explicit, } from "../../_strings/index.js";
|
2
|
-
export default [
|
3
|
-
enable,
|
4
|
-
{
|
5
|
-
"@typescript-eslint/adjacent-overload-signatures": OFF,
|
6
|
-
"@typescript-eslint/array-type": [
|
7
|
-
ERROR,
|
8
|
-
{
|
9
|
-
"default": "array",
|
10
|
-
readonly: "array",
|
11
|
-
},
|
12
|
-
],
|
13
|
-
"@typescript-eslint/await-thenable": ERROR,
|
14
|
-
"@typescript-eslint/ban-ts-comment": [
|
15
|
-
ERROR,
|
16
|
-
{
|
17
|
-
"ts-check": false,
|
18
|
-
"ts-expect-error": {
|
19
|
-
descriptionFormat: "^: BUG: .+$",
|
20
|
-
},
|
21
|
-
"ts-ignore": true,
|
22
|
-
"ts-nocheck": true,
|
23
|
-
minimumDescriptionLength: 32,
|
24
|
-
},
|
25
|
-
],
|
26
|
-
"@typescript-eslint/ban-tslint-comment": ERROR,
|
27
|
-
"@typescript-eslint/class-literal-property-style": [
|
28
|
-
ERROR,
|
29
|
-
"fields",
|
30
|
-
],
|
31
|
-
"@typescript-eslint/consistent-generic-constructors": [
|
32
|
-
ERROR,
|
33
|
-
"constructor",
|
34
|
-
],
|
35
|
-
"@typescript-eslint/consistent-indexed-object-style": [
|
36
|
-
ERROR,
|
37
|
-
"record",
|
38
|
-
],
|
39
|
-
"@typescript-eslint/consistent-type-assertions": [
|
40
|
-
ERROR,
|
41
|
-
{
|
42
|
-
assertionStyle: "as",
|
43
|
-
objectLiteralTypeAssertions: Never,
|
44
|
-
},
|
45
|
-
],
|
46
|
-
"@typescript-eslint/consistent-type-definitions": OFF,
|
47
|
-
"@typescript-eslint/consistent-type-exports": [
|
48
|
-
ERROR,
|
49
|
-
{
|
50
|
-
fixMixedExportsWithInlineTypeSpecifier: false,
|
51
|
-
},
|
52
|
-
],
|
53
|
-
"@typescript-eslint/consistent-type-imports": [
|
54
|
-
ERROR,
|
55
|
-
{
|
56
|
-
disallowTypeAnnotations: true,
|
57
|
-
fixStyle: "separate-type-imports",
|
58
|
-
prefer: "type-imports",
|
59
|
-
},
|
60
|
-
],
|
61
|
-
"@typescript-eslint/explicit-function-return-type": OFF,
|
62
|
-
"@typescript-eslint/explicit-member-accessibility": [
|
63
|
-
ERROR,
|
64
|
-
{
|
65
|
-
accessibility: Explicit,
|
66
|
-
ignoredMethodNames: [],
|
67
|
-
overrides: {
|
68
|
-
properties: Explicit,
|
69
|
-
constructors: "no-public",
|
70
|
-
accessors: Explicit,
|
71
|
-
methods: Explicit,
|
72
|
-
parameterProperties: Explicit,
|
73
|
-
},
|
74
|
-
},
|
75
|
-
],
|
76
|
-
"@typescript-eslint/explicit-module-boundary-types": OFF,
|
77
|
-
"@typescript-eslint/member-ordering": [
|
78
|
-
ERROR,
|
79
|
-
{
|
80
|
-
"default": {
|
81
|
-
memberTypes: [
|
82
|
-
"signature",
|
83
|
-
"call-signature",
|
84
|
-
"public-static-field",
|
85
|
-
"protected-static-field",
|
86
|
-
"private-static-field",
|
87
|
-
"#private-static-field",
|
88
|
-
"public-decorated-field",
|
89
|
-
"protected-decorated-field",
|
90
|
-
"private-decorated-field",
|
91
|
-
"public-instance-field",
|
92
|
-
"protected-instance-field",
|
93
|
-
"private-instance-field",
|
94
|
-
"#private-instance-field",
|
95
|
-
"public-abstract-field",
|
96
|
-
"protected-abstract-field",
|
97
|
-
"public-field",
|
98
|
-
"protected-field",
|
99
|
-
"private-field",
|
100
|
-
"#private-field",
|
101
|
-
"static-field",
|
102
|
-
"instance-field",
|
103
|
-
"abstract-field",
|
104
|
-
"decorated-field",
|
105
|
-
"field",
|
106
|
-
"static-initialization",
|
107
|
-
"public-constructor",
|
108
|
-
"protected-constructor",
|
109
|
-
"private-constructor",
|
110
|
-
"constructor",
|
111
|
-
"public-static-accessor",
|
112
|
-
"protected-static-accessor",
|
113
|
-
"private-static-accessor",
|
114
|
-
"#private-static-accessor",
|
115
|
-
"public-decorated-accessor",
|
116
|
-
"protected-decorated-accessor",
|
117
|
-
"private-decorated-accessor",
|
118
|
-
"public-instance-accessor",
|
119
|
-
"protected-instance-accessor",
|
120
|
-
"private-instance-accessor",
|
121
|
-
"#private-instance-accessor",
|
122
|
-
"public-abstract-accessor",
|
123
|
-
"protected-abstract-accessor",
|
124
|
-
"public-accessor",
|
125
|
-
"protected-accessor",
|
126
|
-
"private-accessor",
|
127
|
-
"#private-accessor",
|
128
|
-
"static-accessor",
|
129
|
-
"instance-accessor",
|
130
|
-
"abstract-accessor",
|
131
|
-
"decorated-accessor",
|
132
|
-
"accessor",
|
133
|
-
"public-static-get",
|
134
|
-
"protected-static-get",
|
135
|
-
"private-static-get",
|
136
|
-
"#private-static-get",
|
137
|
-
"public-decorated-get",
|
138
|
-
"protected-decorated-get",
|
139
|
-
"private-decorated-get",
|
140
|
-
"public-instance-get",
|
141
|
-
"protected-instance-get",
|
142
|
-
"private-instance-get",
|
143
|
-
"#private-instance-get",
|
144
|
-
"public-abstract-get",
|
145
|
-
"protected-abstract-get",
|
146
|
-
"public-get",
|
147
|
-
"protected-get",
|
148
|
-
"private-get",
|
149
|
-
"#private-get",
|
150
|
-
"static-get",
|
151
|
-
"instance-get",
|
152
|
-
"abstract-get",
|
153
|
-
"decorated-get",
|
154
|
-
"get",
|
155
|
-
"public-static-set",
|
156
|
-
"protected-static-set",
|
157
|
-
"private-static-set",
|
158
|
-
"#private-static-set",
|
159
|
-
"public-decorated-set",
|
160
|
-
"protected-decorated-set",
|
161
|
-
"private-decorated-set",
|
162
|
-
"public-instance-set",
|
163
|
-
"protected-instance-set",
|
164
|
-
"private-instance-set",
|
165
|
-
"#private-instance-set",
|
166
|
-
"public-abstract-set",
|
167
|
-
"protected-abstract-set",
|
168
|
-
"public-set",
|
169
|
-
"protected-set",
|
170
|
-
"private-set",
|
171
|
-
"#private-set",
|
172
|
-
"static-set",
|
173
|
-
"instance-set",
|
174
|
-
"abstract-set",
|
175
|
-
"decorated-set",
|
176
|
-
"set",
|
177
|
-
"public-static-method",
|
178
|
-
"protected-static-method",
|
179
|
-
"private-static-method",
|
180
|
-
"#private-static-method",
|
181
|
-
"public-decorated-method",
|
182
|
-
"protected-decorated-method",
|
183
|
-
"private-decorated-method",
|
184
|
-
"public-instance-method",
|
185
|
-
"protected-instance-method",
|
186
|
-
"private-instance-method",
|
187
|
-
"#private-instance-method",
|
188
|
-
"public-abstract-method",
|
189
|
-
"protected-abstract-method",
|
190
|
-
"public-method",
|
191
|
-
"protected-method",
|
192
|
-
"private-method",
|
193
|
-
"#private-method",
|
194
|
-
"static-method",
|
195
|
-
"instance-method",
|
196
|
-
"abstract-method",
|
197
|
-
"decorated-method",
|
198
|
-
"method",
|
199
|
-
],
|
200
|
-
optionalityOrder: "required-first",
|
201
|
-
order: "as-written",
|
202
|
-
},
|
203
|
-
},
|
204
|
-
],
|
205
|
-
"@typescript-eslint/method-signature-style": [
|
206
|
-
ERROR,
|
207
|
-
"property",
|
208
|
-
],
|
209
|
-
"@typescript-eslint/naming-convention": OFF,
|
210
|
-
"@typescript-eslint/no-array-delete": ERROR,
|
211
|
-
"@typescript-eslint/no-base-to-string": [
|
212
|
-
ERROR,
|
213
|
-
{
|
214
|
-
ignoredTypeNames: [
|
215
|
-
"Error",
|
216
|
-
"RegExp",
|
217
|
-
"URL",
|
218
|
-
"URLSearchParams",
|
219
|
-
],
|
220
|
-
},
|
221
|
-
],
|
222
|
-
"@typescript-eslint/no-confusing-non-null-assertion": ERROR,
|
223
|
-
"@typescript-eslint/no-confusing-void-expression": [
|
224
|
-
ERROR,
|
225
|
-
{
|
226
|
-
ignoreArrowShorthand: true,
|
227
|
-
ignoreVoidOperator: true,
|
228
|
-
ignoreVoidReturningFunctions: true,
|
229
|
-
},
|
230
|
-
],
|
231
|
-
"@typescript-eslint/no-duplicate-enum-values": ERROR,
|
232
|
-
"@typescript-eslint/no-duplicate-type-constituents": [
|
233
|
-
ERROR,
|
234
|
-
{
|
235
|
-
ignoreIntersections: false,
|
236
|
-
ignoreUnions: false,
|
237
|
-
},
|
238
|
-
],
|
239
|
-
"@typescript-eslint/no-dynamic-delete": ERROR,
|
240
|
-
"@typescript-eslint/no-empty-object-type": [
|
241
|
-
ERROR,
|
242
|
-
{
|
243
|
-
allowInterfaces: Never,
|
244
|
-
allowObjectTypes: Never,
|
245
|
-
},
|
246
|
-
],
|
247
|
-
"@typescript-eslint/no-explicit-any": [
|
248
|
-
ERROR,
|
249
|
-
{
|
250
|
-
fixToUnknown: true,
|
251
|
-
ignoreRestArgs: false,
|
252
|
-
},
|
253
|
-
],
|
254
|
-
"@typescript-eslint/no-extra-non-null-assertion": ERROR,
|
255
|
-
"@typescript-eslint/no-extraneous-class": [
|
256
|
-
ERROR,
|
257
|
-
{
|
258
|
-
allowConstructorOnly: false,
|
259
|
-
allowEmpty: true,
|
260
|
-
allowStaticOnly: false,
|
261
|
-
allowWithDecorator: false,
|
262
|
-
},
|
263
|
-
],
|
264
|
-
"@typescript-eslint/no-floating-promises": [
|
265
|
-
ERROR,
|
266
|
-
{
|
267
|
-
checkThenables: true,
|
268
|
-
ignoreVoid: true,
|
269
|
-
ignoreIIFE: false,
|
270
|
-
},
|
271
|
-
],
|
272
|
-
"@typescript-eslint/no-for-in-array": ERROR,
|
273
|
-
"@typescript-eslint/no-import-type-side-effects": ERROR,
|
274
|
-
"@typescript-eslint/no-inferrable-types": [
|
275
|
-
ERROR,
|
276
|
-
{
|
277
|
-
ignoreParameters: false,
|
278
|
-
ignoreProperties: false,
|
279
|
-
},
|
280
|
-
],
|
281
|
-
"@typescript-eslint/no-invalid-void-type": [
|
282
|
-
ERROR,
|
283
|
-
{
|
284
|
-
allowInGenericTypeArguments: true,
|
285
|
-
allowAsThisParameter: false,
|
286
|
-
},
|
287
|
-
],
|
288
|
-
"@typescript-eslint/no-meaningless-void-operator": [
|
289
|
-
ERROR,
|
290
|
-
{
|
291
|
-
checkNever: true,
|
292
|
-
},
|
293
|
-
],
|
294
|
-
"@typescript-eslint/no-misused-new": ERROR,
|
295
|
-
"@typescript-eslint/no-misused-promises": [
|
296
|
-
ERROR,
|
297
|
-
{
|
298
|
-
checksConditionals: true,
|
299
|
-
checksSpreads: true,
|
300
|
-
checksVoidReturn: {
|
301
|
-
arguments: true,
|
302
|
-
attributes: true,
|
303
|
-
properties: true,
|
304
|
-
returns: true,
|
305
|
-
variables: true,
|
306
|
-
},
|
307
|
-
},
|
308
|
-
],
|
309
|
-
"@typescript-eslint/no-mixed-enums": ERROR,
|
310
|
-
"@typescript-eslint/no-namespace": OFF,
|
311
|
-
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": ERROR,
|
312
|
-
"@typescript-eslint/no-non-null-asserted-optional-chain": ERROR,
|
313
|
-
"@typescript-eslint/no-non-null-assertion": ERROR,
|
314
|
-
"@typescript-eslint/no-redundant-type-constituents": ERROR,
|
315
|
-
"@typescript-eslint/no-restricted-types": OFF,
|
316
|
-
"@typescript-eslint/no-require-imports": [
|
317
|
-
ERROR,
|
318
|
-
{
|
319
|
-
allow: [],
|
320
|
-
},
|
321
|
-
],
|
322
|
-
"@typescript-eslint/no-this-alias": [
|
323
|
-
ERROR,
|
324
|
-
{
|
325
|
-
allowDestructuring: true,
|
326
|
-
allowedNames: [],
|
327
|
-
},
|
328
|
-
],
|
329
|
-
"@typescript-eslint/no-unnecessary-boolean-literal-compare": [
|
330
|
-
ERROR,
|
331
|
-
{
|
332
|
-
allowComparingNullableBooleansToTrue: true,
|
333
|
-
allowComparingNullableBooleansToFalse: true,
|
334
|
-
},
|
335
|
-
],
|
336
|
-
"@typescript-eslint/no-unnecessary-condition": [
|
337
|
-
ERROR,
|
338
|
-
{
|
339
|
-
allowConstantLoopConditions: false,
|
340
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
341
|
-
},
|
342
|
-
],
|
343
|
-
"@typescript-eslint/no-unnecessary-qualifier": ERROR,
|
344
|
-
"@typescript-eslint/no-unnecessary-template-expression": ERROR,
|
345
|
-
"@typescript-eslint/no-unnecessary-type-arguments": ERROR,
|
346
|
-
"@typescript-eslint/no-unnecessary-type-assertion": [
|
347
|
-
ERROR,
|
348
|
-
{
|
349
|
-
typesToIgnore: [],
|
350
|
-
},
|
351
|
-
],
|
352
|
-
"@typescript-eslint/no-unnecessary-type-constraint": ERROR,
|
353
|
-
"@typescript-eslint/no-unnecessary-type-parameters": ERROR,
|
354
|
-
"@typescript-eslint/no-unsafe-argument": ERROR,
|
355
|
-
"@typescript-eslint/no-unsafe-assignment": ERROR,
|
356
|
-
"@typescript-eslint/no-unsafe-call": ERROR,
|
357
|
-
"@typescript-eslint/no-unsafe-declaration-merging": ERROR,
|
358
|
-
"@typescript-eslint/no-unsafe-enum-comparison": ERROR,
|
359
|
-
"@typescript-eslint/no-unsafe-function-type": ERROR,
|
360
|
-
"@typescript-eslint/no-unsafe-member-access": ERROR,
|
361
|
-
"@typescript-eslint/no-unsafe-return": ERROR,
|
362
|
-
"@typescript-eslint/no-unsafe-unary-minus": ERROR,
|
363
|
-
"@typescript-eslint/no-useless-empty-export": ERROR,
|
364
|
-
"@typescript-eslint/no-wrapper-object-types": ERROR,
|
365
|
-
"@typescript-eslint/non-nullable-type-assertion-style": OFF,
|
366
|
-
"@typescript-eslint/parameter-properties": [
|
367
|
-
ERROR,
|
368
|
-
{
|
369
|
-
prefer: "parameter-property",
|
370
|
-
},
|
371
|
-
],
|
372
|
-
"@typescript-eslint/prefer-as-const": ERROR,
|
373
|
-
"@typescript-eslint/prefer-enum-initializers": ERROR,
|
374
|
-
"@typescript-eslint/prefer-find": ERROR,
|
375
|
-
"@typescript-eslint/prefer-for-of": ERROR,
|
376
|
-
"@typescript-eslint/prefer-function-type": ERROR,
|
377
|
-
"@typescript-eslint/prefer-includes": ERROR,
|
378
|
-
"@typescript-eslint/prefer-literal-enum-member": [
|
379
|
-
ERROR,
|
380
|
-
{
|
381
|
-
allowBitwiseExpressions: false,
|
382
|
-
},
|
383
|
-
],
|
384
|
-
"@typescript-eslint/prefer-namespace-keyword": ERROR,
|
385
|
-
"@typescript-eslint/prefer-nullish-coalescing": [
|
386
|
-
ERROR,
|
387
|
-
{
|
388
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
389
|
-
ignoreBooleanCoercion: false,
|
390
|
-
ignoreConditionalTests: false,
|
391
|
-
ignoreMixedLogicalExpressions: false,
|
392
|
-
ignorePrimitives: {
|
393
|
-
bigint: false,
|
394
|
-
"boolean": false,
|
395
|
-
number: false,
|
396
|
-
string: false,
|
397
|
-
},
|
398
|
-
ignoreTernaryTests: false,
|
399
|
-
},
|
400
|
-
],
|
401
|
-
"@typescript-eslint/prefer-optional-chain": [
|
402
|
-
ERROR,
|
403
|
-
{
|
404
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,
|
405
|
-
checkAny: true,
|
406
|
-
checkBigInt: true,
|
407
|
-
checkBoolean: true,
|
408
|
-
checkNumber: true,
|
409
|
-
checkString: true,
|
410
|
-
checkUnknown: true,
|
411
|
-
requireNullish: false,
|
412
|
-
},
|
413
|
-
],
|
414
|
-
"@typescript-eslint/prefer-readonly": [
|
415
|
-
ERROR,
|
416
|
-
{
|
417
|
-
onlyInlineLambdas: false,
|
418
|
-
},
|
419
|
-
],
|
420
|
-
"@typescript-eslint/prefer-readonly-parameter-types": OFF,
|
421
|
-
"@typescript-eslint/prefer-reduce-type-parameter": ERROR,
|
422
|
-
"@typescript-eslint/prefer-regexp-exec": ERROR,
|
423
|
-
"@typescript-eslint/prefer-return-this-type": ERROR,
|
424
|
-
"@typescript-eslint/prefer-string-starts-ends-with": [
|
425
|
-
ERROR,
|
426
|
-
{
|
427
|
-
allowSingleElementEquality: Never,
|
428
|
-
},
|
429
|
-
],
|
430
|
-
"@typescript-eslint/promise-function-async": [
|
431
|
-
ERROR,
|
432
|
-
{
|
433
|
-
allowAny: false,
|
434
|
-
allowedPromiseNames: [],
|
435
|
-
checkArrowFunctions: true,
|
436
|
-
checkFunctionDeclarations: true,
|
437
|
-
checkFunctionExpressions: true,
|
438
|
-
checkMethodDeclarations: true,
|
439
|
-
},
|
440
|
-
],
|
441
|
-
"@typescript-eslint/require-array-sort-compare": [
|
442
|
-
ERROR,
|
443
|
-
{
|
444
|
-
ignoreStringArrays: true,
|
445
|
-
},
|
446
|
-
],
|
447
|
-
"@typescript-eslint/restrict-plus-operands": [
|
448
|
-
ERROR,
|
449
|
-
{
|
450
|
-
allowAny: false,
|
451
|
-
allowBoolean: false,
|
452
|
-
allowNullish: false,
|
453
|
-
allowNumberAndString: false,
|
454
|
-
allowRegExp: false,
|
455
|
-
skipCompoundAssignments: false,
|
456
|
-
},
|
457
|
-
],
|
458
|
-
"@typescript-eslint/restrict-template-expressions": [
|
459
|
-
ERROR,
|
460
|
-
{
|
461
|
-
allowAny: true,
|
462
|
-
allowArray: true,
|
463
|
-
allowBoolean: true,
|
464
|
-
allowNullish: false,
|
465
|
-
allowNumber: true,
|
466
|
-
allowNever: false,
|
467
|
-
allowRegExp: false,
|
468
|
-
},
|
469
|
-
],
|
470
|
-
"@typescript-eslint/return-await": [
|
471
|
-
ERROR,
|
472
|
-
"in-try-catch",
|
473
|
-
],
|
474
|
-
"@typescript-eslint/strict-boolean-expressions": [
|
475
|
-
ERROR,
|
476
|
-
{
|
477
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
478
|
-
allowAny: false,
|
479
|
-
allowNumber: true,
|
480
|
-
allowString: false,
|
481
|
-
allowNullableBoolean: false,
|
482
|
-
allowNullableEnum: false,
|
483
|
-
allowNullableNumber: false,
|
484
|
-
allowNullableObject: false,
|
485
|
-
allowNullableString: false,
|
486
|
-
},
|
487
|
-
],
|
488
|
-
"@typescript-eslint/switch-exhaustiveness-check": [
|
489
|
-
ERROR,
|
490
|
-
{
|
491
|
-
allowDefaultCaseForExhaustiveSwitch: false,
|
492
|
-
considerDefaultExhaustiveForUnions: true,
|
493
|
-
requireDefaultForNonUnion: true,
|
494
|
-
},
|
495
|
-
],
|
496
|
-
"@typescript-eslint/triple-slash-reference": [
|
497
|
-
ERROR,
|
498
|
-
{
|
499
|
-
lib: Never,
|
500
|
-
path: Never,
|
501
|
-
types: Never,
|
502
|
-
},
|
503
|
-
],
|
504
|
-
"@typescript-eslint/typedef": OFF,
|
505
|
-
"@typescript-eslint/unbound-method": [
|
506
|
-
ERROR,
|
507
|
-
{
|
508
|
-
ignoreStatic: false,
|
509
|
-
},
|
510
|
-
],
|
511
|
-
"@typescript-eslint/unified-signatures": [
|
512
|
-
ERROR,
|
513
|
-
{
|
514
|
-
ignoreDifferentlyNamedParameters: false,
|
515
|
-
},
|
516
|
-
],
|
517
|
-
"@typescript-eslint/use-unknown-in-catch-callback-variable": ERROR,
|
518
|
-
},
|
519
|
-
];
|
520
|
-
//# sourceMappingURL=enable.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,QAAQ,GACT,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,iDAAiD,EAAE,GAAG;QACtD,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,OAAO;aAClB;SACF;QACD,mCAAmC,EAAE,KAAK;QAC1C,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,iBAAiB,EAAE;oBACjB,iBAAiB,EAAE,aAAa;iBACjC;gBACD,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,wBAAwB,EAAE,EAAE;aAC7B;SACF;QACD,uCAAuC,EAAE,KAAK;QAC9C,iDAAiD,EAAE;YACjD,KAAK;YACL,QAAQ;SACT;QACD,oDAAoD,EAAE;YACpD,KAAK;YACL,aAAa;SACd;QACD,oDAAoD,EAAE;YACpD,KAAK;YACL,QAAQ;SACT;QACD,+CAA+C,EAAE;YAC/C,KAAK;YACL;gBACE,cAAc,EAAE,IAAI;gBACpB,2BAA2B,EAAE,KAAK;aACnC;SACF;QACD,gDAAgD,EAAE,GAAG;QACrD,4CAA4C,EAAE;YAC5C,KAAK;YACL;gBACE,sCAAsC,EAAE,KAAK;aAC9C;SACF;QACD,4CAA4C,EAAE;YAC5C,KAAK;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gBACxC,yBAAyB,EAAE,IAAI;aAChC;SACF;QACD,2CAA2C,EAAE;YAC3C,KAAK;YACL;gBACE,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;aACb;SACF;QACD,4BAA4B,EAAE,GAAG;QACjC,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,YAAY,EAAE,KAAK;aACpB;SACF;QACD,uCAAuC,EAAE;YACvC,KAAK;YACL;gBACE,gCAAgC,EAAE,KAAK;aACxC;SACF;QACD,2DAA2D,EAAE,KAAK;KACnE;CACO,CAAC"}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
declare const _default: readonly ["enable-extend", {
|
2
|
-
readonly "@typescript-eslint/class-methods-use-this": "off";
|
3
|
-
readonly "@typescript-eslint/consistent-return": "off";
|
4
|
-
readonly "@typescript-eslint/default-param-last": "error";
|
5
|
-
readonly "@typescript-eslint/dot-notation": readonly ["error", {
|
6
|
-
readonly allowKeywords: true;
|
7
|
-
readonly allowPrivateClassPropertyAccess: true;
|
8
|
-
readonly allowProtectedClassPropertyAccess: true;
|
9
|
-
readonly allowIndexSignaturePropertyAccess: true;
|
10
|
-
}];
|
11
|
-
readonly "@typescript-eslint/init-declarations": readonly ["error", "always"];
|
12
|
-
readonly "@typescript-eslint/max-params": "off";
|
13
|
-
readonly "@typescript-eslint/no-array-constructor": "error";
|
14
|
-
readonly "@typescript-eslint/no-dupe-class-members": "off";
|
15
|
-
readonly "@typescript-eslint/no-empty-function": readonly ["error", {
|
16
|
-
readonly allow: readonly ["constructors", "private-constructors", "protected-constructors", "decoratedFunctions"];
|
17
|
-
}];
|
18
|
-
readonly "@typescript-eslint/no-implied-eval": "error";
|
19
|
-
readonly "@typescript-eslint/no-invalid-this": "off";
|
20
|
-
readonly "@typescript-eslint/no-loop-func": "error";
|
21
|
-
readonly "@typescript-eslint/no-magic-numbers": "off";
|
22
|
-
readonly "@typescript-eslint/no-redeclare": "off";
|
23
|
-
readonly "@typescript-eslint/no-restricted-imports": "off";
|
24
|
-
readonly "@typescript-eslint/no-shadow": "off";
|
25
|
-
readonly "@typescript-eslint/no-unused-expressions": readonly ["error", {
|
26
|
-
readonly allowShortCircuit: true;
|
27
|
-
readonly allowTernary: true;
|
28
|
-
readonly allowTaggedTemplates: true;
|
29
|
-
readonly enforceForJSX: false;
|
30
|
-
}];
|
31
|
-
readonly "@typescript-eslint/no-unused-vars": readonly ["error", {
|
32
|
-
readonly vars: "all";
|
33
|
-
readonly args: "all";
|
34
|
-
readonly caughtErrors: "all";
|
35
|
-
readonly ignoreRestSiblings: false;
|
36
|
-
readonly ignoreClassWithStaticInitBlock: false;
|
37
|
-
readonly reportUsedIgnorePattern: true;
|
38
|
-
}];
|
39
|
-
readonly "@typescript-eslint/no-use-before-define": readonly ["error", {
|
40
|
-
readonly functions: true;
|
41
|
-
readonly classes: true;
|
42
|
-
readonly variables: true;
|
43
|
-
readonly allowNamedExports: false;
|
44
|
-
readonly enums: true;
|
45
|
-
readonly typedefs: false;
|
46
|
-
readonly ignoreTypeReferences: true;
|
47
|
-
}];
|
48
|
-
readonly "@typescript-eslint/no-useless-constructor": "error";
|
49
|
-
readonly "@typescript-eslint/only-throw-error": readonly ["error", {
|
50
|
-
readonly allowThrowingAny: false;
|
51
|
-
readonly allowThrowingUnknown: false;
|
52
|
-
}];
|
53
|
-
readonly "@typescript-eslint/prefer-destructuring": readonly ["error", {
|
54
|
-
readonly VariableDeclarator: {
|
55
|
-
readonly array: true;
|
56
|
-
readonly object: true;
|
57
|
-
};
|
58
|
-
readonly AssignmentExpression: {
|
59
|
-
readonly array: false;
|
60
|
-
readonly object: false;
|
61
|
-
};
|
62
|
-
}, {
|
63
|
-
readonly enforceForRenamedProperties: false;
|
64
|
-
readonly enforceForDeclarationWithTypeAnnotation: false;
|
65
|
-
}];
|
66
|
-
readonly "@typescript-eslint/prefer-promise-reject-errors": readonly ["error", {
|
67
|
-
readonly allowEmptyReject: false;
|
68
|
-
}];
|
69
|
-
readonly "@typescript-eslint/require-await": "error";
|
70
|
-
}];
|
71
|
-
export default _default;
|
72
|
-
//# sourceMappingURL=enable_x.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBA4GW"}
|