linted 16.0.4-rc.1 → 16.0.5-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -7
- package/dist/index.js.map +1 -1
- package/dist/statics/rules/presets/Html.js +2 -2
- package/dist/statics/rules/presets/Html.js.map +1 -1
- package/dist/statics/rules/presets/Js.js +2 -2
- package/dist/statics/rules/presets/Js.js.map +1 -1
- package/dist/statics/rules/presets/Json.js +2 -2
- package/dist/statics/rules/presets/Json.js.map +1 -1
- package/dist/statics/rules/presets/Jsonc.js +1 -1
- package/dist/statics/rules/presets/Jsonc.js.map +1 -1
- package/dist/statics/rules/presets/Md.js +1 -1
- package/dist/statics/rules/presets/Md.js.map +1 -1
- package/dist/statics/rules/presets/Mocha.js +2 -2
- package/dist/statics/rules/presets/Mocha.js.map +1 -1
- package/dist/statics/rules/presets/Svelte.js +5 -5
- package/dist/statics/rules/presets/Svelte.js.map +1 -1
- package/dist/statics/rules/presets/Ts.js +4 -4
- package/dist/statics/rules/presets/Ts.js.map +1 -1
- package/dist/statics/rules/presets/Yml.js +2 -2
- package/dist/statics/rules/presets/Yml.js.map +1 -1
- package/dist/statics/rules/presets/html/Enable.d.ts +5 -0
- package/dist/statics/rules/presets/html/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/html/Enable.js +7 -0
- package/dist/statics/rules/presets/html/Enable.js.map +1 -0
- package/dist/statics/rules/presets/html/Recommended.d.ts +3 -0
- package/dist/statics/rules/presets/html/Recommended.d.ts.map +1 -0
- package/dist/statics/rules/presets/html/Recommended.js +8 -0
- package/dist/statics/rules/presets/html/Recommended.js.map +1 -0
- package/dist/statics/rules/presets/index.d.ts +8 -0
- package/dist/statics/rules/presets/index.d.ts.map +1 -0
- package/dist/statics/rules/presets/index.js +2 -0
- package/dist/statics/rules/presets/index.js.map +1 -0
- package/dist/statics/rules/presets/js/Enable.d.ts +348 -0
- package/dist/statics/rules/presets/js/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/js/Enable.js +463 -0
- package/dist/statics/rules/presets/js/Enable.js.map +1 -0
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts +414 -0
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts.map +1 -0
- package/dist/statics/rules/presets/js/EnableStylistic.js +664 -0
- package/dist/statics/rules/presets/js/EnableStylistic.js.map +1 -0
- package/dist/statics/rules/presets/json/Enable.d.ts +27 -0
- package/dist/statics/rules/presets/json/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/json/Enable.js +31 -0
- package/dist/statics/rules/presets/json/Enable.js.map +1 -0
- package/dist/statics/rules/presets/json/EnableX.d.ts +50 -0
- package/dist/statics/rules/presets/json/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/json/EnableX.js +92 -0
- package/dist/statics/rules/presets/json/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts +6 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts.map +1 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.js +13 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.js.map +1 -0
- package/dist/statics/rules/presets/md/Enable.d.ts +38 -0
- package/dist/statics/rules/presets/md/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/md/Enable.js +58 -0
- package/dist/statics/rules/presets/md/Enable.js.map +1 -0
- package/dist/statics/rules/presets/mocha/Enable.d.ts +3 -0
- package/dist/statics/rules/presets/mocha/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/mocha/Enable.js +7 -0
- package/dist/statics/rules/presets/mocha/Enable.js.map +1 -0
- package/dist/statics/rules/presets/mocha/Recommended.d.ts +3 -0
- package/dist/statics/rules/presets/mocha/Recommended.d.ts.map +1 -0
- package/dist/statics/rules/presets/mocha/Recommended.js +8 -0
- package/dist/statics/rules/presets/mocha/Recommended.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableJS.d.ts +6 -0
- package/dist/statics/rules/presets/svelte/DisableJS.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableJS.js +10 -0
- package/dist/statics/rules/presets/svelte/DisableJS.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableTS.d.ts +6 -0
- package/dist/statics/rules/presets/svelte/DisableTS.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableTS.js +10 -0
- package/dist/statics/rules/presets/svelte/DisableTS.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableX.d.ts +5 -0
- package/dist/statics/rules/presets/svelte/DisableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableX.js +9 -0
- package/dist/statics/rules/presets/svelte/DisableX.js.map +1 -0
- package/dist/statics/rules/presets/svelte/Enable.d.ts +126 -0
- package/dist/statics/rules/presets/svelte/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/Enable.js +179 -0
- package/dist/statics/rules/presets/svelte/Enable.js.map +1 -0
- package/dist/statics/rules/presets/svelte/EnableX.d.ts +8 -0
- package/dist/statics/rules/presets/svelte/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/EnableX.js +14 -0
- package/dist/statics/rules/presets/svelte/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.d.ts +18 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.js +22 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.js.map +1 -0
- package/dist/statics/rules/presets/ts/DisableX.d.ts +28 -0
- package/dist/statics/rules/presets/ts/DisableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/DisableX.js +32 -0
- package/dist/statics/rules/presets/ts/DisableX.js.map +1 -0
- package/dist/statics/rules/presets/ts/Enable.d.ts +262 -0
- package/dist/statics/rules/presets/ts/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/Enable.js +496 -0
- package/dist/statics/rules/presets/ts/Enable.js.map +1 -0
- package/dist/statics/rules/presets/ts/EnableX.d.ts +72 -0
- package/dist/statics/rules/presets/ts/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/EnableX.js +107 -0
- package/dist/statics/rules/presets/ts/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/yml/Enable.d.ts +39 -0
- package/dist/statics/rules/presets/yml/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/yml/Enable.js +69 -0
- package/dist/statics/rules/presets/yml/Enable.js.map +1 -0
- package/dist/statics/rules/presets/yml/EnableX.d.ts +37 -0
- package/dist/statics/rules/presets/yml/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/yml/EnableX.js +67 -0
- package/dist/statics/rules/presets/yml/EnableX.js.map +1 -0
- package/package.json +2 -2
- package/src/index.ts +2 -8
- package/src/statics/rules/presets/Html.ts +3 -3
- package/src/statics/rules/presets/Js.ts +3 -3
- package/src/statics/rules/presets/Json.ts +3 -3
- package/src/statics/rules/presets/Jsonc.ts +2 -2
- package/src/statics/rules/presets/Md.ts +2 -2
- package/src/statics/rules/presets/Mocha.ts +3 -3
- package/src/statics/rules/presets/Svelte.ts +6 -6
- package/src/statics/rules/presets/Ts.ts +5 -5
- package/src/statics/rules/presets/Yml.ts +3 -3
- package/src/statics/rules/presets/{entries/index.ts → index.ts} +1 -1
- /package/src/statics/rules/presets/{entries/html → html}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/html → html}/Recommended.ts +0 -0
- /package/src/statics/rules/presets/{entries/js → js}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/js → js}/EnableStylistic.ts +0 -0
- /package/src/statics/rules/presets/{entries/json → json}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/json → json}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/jsonc → jsonc}/OverrideJson.ts +0 -0
- /package/src/statics/rules/presets/{entries/md → md}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/mocha → mocha}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/mocha → mocha}/Recommended.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableJS.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableTS.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/DisableCompiler.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/DisableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/yml → yml}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/yml → yml}/EnableX.ts +0 -0
@@ -0,0 +1,179 @@
|
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, BELOW, DOUBLE, }, } = Strings;
|
3
|
+
export default [
|
4
|
+
Enable,
|
5
|
+
{
|
6
|
+
"svelte/infinite-reactive-loop": ERROR,
|
7
|
+
"svelte/no-dom-manipulating": ERROR,
|
8
|
+
"svelte/no-dupe-else-if-blocks": ERROR,
|
9
|
+
"svelte/no-dupe-on-directives": ERROR,
|
10
|
+
"svelte/no-dupe-style-properties": ERROR,
|
11
|
+
"svelte/no-dupe-use-directives": ERROR,
|
12
|
+
"svelte/no-dynamic-slot-name": ERROR,
|
13
|
+
"svelte/no-export-load-in-svelte-module-in-kit-pages": ERROR,
|
14
|
+
"svelte/no-not-function-handler": ERROR,
|
15
|
+
"svelte/no-object-in-text-mustaches": ERROR,
|
16
|
+
"svelte/no-reactive-reassign": [
|
17
|
+
ERROR,
|
18
|
+
{ props: true },
|
19
|
+
],
|
20
|
+
"svelte/no-shorthand-style-property-overrides": ERROR,
|
21
|
+
"svelte/no-store-async": ERROR,
|
22
|
+
"svelte/no-unknown-style-directive-property": [
|
23
|
+
ERROR,
|
24
|
+
{
|
25
|
+
ignorePrefixed: true,
|
26
|
+
},
|
27
|
+
],
|
28
|
+
"svelte/require-store-callbacks-use-set-param": ERROR,
|
29
|
+
"svelte/require-store-reactive-access": ERROR,
|
30
|
+
"svelte/valid-compile": [
|
31
|
+
ERROR,
|
32
|
+
{ ignoreWarnings: false },
|
33
|
+
],
|
34
|
+
"svelte/valid-prop-names-in-kit-pages": ERROR,
|
35
|
+
"svelte/no-at-html-tags": ERROR,
|
36
|
+
"svelte/no-target-blank": [
|
37
|
+
ERROR,
|
38
|
+
{
|
39
|
+
allowReferrer: false,
|
40
|
+
enforceDynamicLinks: ALWAYS,
|
41
|
+
},
|
42
|
+
],
|
43
|
+
"svelte/block-lang": [
|
44
|
+
ERROR,
|
45
|
+
{
|
46
|
+
enforceScriptPresent: true,
|
47
|
+
enforceStylePresent: false,
|
48
|
+
script: ["ts"],
|
49
|
+
style: [
|
50
|
+
"css",
|
51
|
+
"scss",
|
52
|
+
],
|
53
|
+
},
|
54
|
+
],
|
55
|
+
"svelte/button-has-type": [
|
56
|
+
ERROR,
|
57
|
+
{
|
58
|
+
button: true,
|
59
|
+
submit: true,
|
60
|
+
reset: true,
|
61
|
+
},
|
62
|
+
],
|
63
|
+
"svelte/no-at-debug-tags": ERROR,
|
64
|
+
"svelte/no-ignored-unsubscribe": ERROR,
|
65
|
+
"svelte/no-immutable-reactive-statements": ERROR,
|
66
|
+
"svelte/no-inline-styles": [
|
67
|
+
ERROR,
|
68
|
+
{ allowTransitions: false },
|
69
|
+
],
|
70
|
+
"svelte/no-reactive-functions": ERROR,
|
71
|
+
"svelte/no-reactive-literals": ERROR,
|
72
|
+
"svelte/no-svelte-internal": ERROR,
|
73
|
+
"svelte/no-unused-class-name": ERROR,
|
74
|
+
"svelte/no-unused-svelte-ignore": ERROR,
|
75
|
+
"svelte/no-useless-mustaches": [
|
76
|
+
ERROR,
|
77
|
+
{
|
78
|
+
ignoreIncludesComment: false,
|
79
|
+
ignoreStringEscape: false,
|
80
|
+
},
|
81
|
+
],
|
82
|
+
"svelte/prefer-destructured-store-props": ERROR,
|
83
|
+
"svelte/require-each-key": ERROR,
|
84
|
+
"svelte/require-event-dispatcher-types": ERROR,
|
85
|
+
"svelte/require-optimized-style-attribute": ERROR,
|
86
|
+
"svelte/require-stores-init": ERROR,
|
87
|
+
"svelte/valid-each-key": ERROR,
|
88
|
+
"svelte/derived-has-same-inputs-outputs": ERROR,
|
89
|
+
"svelte/first-attribute-linebreak": [
|
90
|
+
ERROR,
|
91
|
+
{
|
92
|
+
multiline: BELOW,
|
93
|
+
singleline: BELOW,
|
94
|
+
},
|
95
|
+
],
|
96
|
+
"svelte/html-closing-bracket-spacing": [
|
97
|
+
ERROR,
|
98
|
+
{
|
99
|
+
startTag: NEVER,
|
100
|
+
endTag: NEVER,
|
101
|
+
selfClosingTag: ALWAYS,
|
102
|
+
},
|
103
|
+
],
|
104
|
+
"svelte/html-quotes": [
|
105
|
+
ERROR,
|
106
|
+
{
|
107
|
+
prefer: DOUBLE,
|
108
|
+
dynamic: {
|
109
|
+
quoted: false,
|
110
|
+
avoidInvalidUnquotedInHTML: true,
|
111
|
+
},
|
112
|
+
},
|
113
|
+
],
|
114
|
+
"svelte/html-self-closing": [
|
115
|
+
ERROR,
|
116
|
+
{
|
117
|
+
"void": ALWAYS,
|
118
|
+
normal: ALWAYS,
|
119
|
+
component: ALWAYS,
|
120
|
+
svelte: ALWAYS,
|
121
|
+
},
|
122
|
+
],
|
123
|
+
"svelte/indent": [
|
124
|
+
ERROR,
|
125
|
+
{
|
126
|
+
indent: 2,
|
127
|
+
switchCase: 1,
|
128
|
+
alignAttributesVertically: true,
|
129
|
+
},
|
130
|
+
],
|
131
|
+
"svelte/max-attributes-per-line": [
|
132
|
+
ERROR,
|
133
|
+
{
|
134
|
+
multiline: 1,
|
135
|
+
singleline: 1,
|
136
|
+
},
|
137
|
+
],
|
138
|
+
"svelte/mustache-spacing": [
|
139
|
+
ERROR,
|
140
|
+
{
|
141
|
+
textExpressions: NEVER,
|
142
|
+
attributesAndProps: NEVER,
|
143
|
+
directiveExpressions: NEVER,
|
144
|
+
tags: {
|
145
|
+
openingBrace: NEVER,
|
146
|
+
closingBrace: NEVER,
|
147
|
+
},
|
148
|
+
},
|
149
|
+
],
|
150
|
+
"svelte/no-extra-reactive-curlies": ERROR,
|
151
|
+
"svelte/no-restricted-html-elements": OFF,
|
152
|
+
"svelte/no-spaces-around-equal-signs-in-attribute": ERROR,
|
153
|
+
"svelte/prefer-class-directive": [
|
154
|
+
ERROR,
|
155
|
+
{ prefer: "empty" },
|
156
|
+
],
|
157
|
+
"svelte/prefer-style-directive": ERROR,
|
158
|
+
"svelte/shorthand-attribute": [
|
159
|
+
ERROR,
|
160
|
+
{ prefer: ALWAYS },
|
161
|
+
],
|
162
|
+
"svelte/shorthand-directive": [
|
163
|
+
ERROR,
|
164
|
+
{ prefer: ALWAYS },
|
165
|
+
],
|
166
|
+
"svelte/sort-attributes": OFF,
|
167
|
+
"svelte/spaced-html-comment": [
|
168
|
+
ERROR,
|
169
|
+
ALWAYS,
|
170
|
+
],
|
171
|
+
"svelte/no-goto-without-base": ERROR,
|
172
|
+
"svelte/comment-directive": [
|
173
|
+
ERROR,
|
174
|
+
{ reportUnusedDisableDirectives: true },
|
175
|
+
],
|
176
|
+
"svelte/system": ERROR,
|
177
|
+
},
|
178
|
+
];
|
179
|
+
//# sourceMappingURL=Enable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/Enable.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
declare const _default: readonly ["enable-extend", {
|
2
|
+
readonly "svelte/no-inner-declarations": readonly ["error", "both", {
|
3
|
+
readonly blockScopedFunctions: "allow";
|
4
|
+
}];
|
5
|
+
readonly "svelte/no-trailing-spaces": "off";
|
6
|
+
}];
|
7
|
+
export default _default;
|
8
|
+
//# sourceMappingURL=EnableX.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EnableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/EnableX.ts"],"names":[],"mappings":";;;;;;AAWA,wBAY+B"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Id: { EnableX }, Level: { ERROR, OFF }, State: { ALLOW, BOTH, }, } = Strings;
|
3
|
+
export default [
|
4
|
+
EnableX,
|
5
|
+
{
|
6
|
+
"svelte/no-inner-declarations": [
|
7
|
+
ERROR,
|
8
|
+
BOTH,
|
9
|
+
{ blockScopedFunctions: ALLOW },
|
10
|
+
],
|
11
|
+
"svelte/no-trailing-spaces": OFF,
|
12
|
+
},
|
13
|
+
];
|
14
|
+
//# sourceMappingURL=EnableX.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EnableX.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/EnableX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,OAAO,EAAE,EACf,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,EACL,IAAI,GACL,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,OAAO;IACP;QAGE,8BAA8B,EAAE;YAC9B,KAAK;YACL,IAAI;YACJ,EAAE,oBAAoB,EAAE,KAAK,EAAE;SAChC;QACD,2BAA2B,EAAE,GAAG;KACjC;CAC2B,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
declare const _default: readonly ["disable-compiler", {
|
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=DisableCompiler.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DisableCompiler.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/DisableCompiler.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAIA,wBAkB+B"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Level: { OFF } } = Strings;
|
3
|
+
export default [
|
4
|
+
"disable-compiler",
|
5
|
+
{
|
6
|
+
"constructor-super": OFF,
|
7
|
+
"no-const-assign": OFF,
|
8
|
+
"no-dupe-args": OFF,
|
9
|
+
"no-dupe-class-members": OFF,
|
10
|
+
"no-dupe-keys": OFF,
|
11
|
+
"no-func-assign": OFF,
|
12
|
+
"no-obj-calls": OFF,
|
13
|
+
"no-setter-return": OFF,
|
14
|
+
"no-this-before-super": OFF,
|
15
|
+
"no-undef": OFF,
|
16
|
+
"no-unreachable": OFF,
|
17
|
+
"no-unsafe-negation": OFF,
|
18
|
+
"consistent-return": OFF,
|
19
|
+
"no-redeclare": OFF,
|
20
|
+
},
|
21
|
+
];
|
22
|
+
//# sourceMappingURL=DisableCompiler.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DisableCompiler.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/DisableCompiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;AAEnC,eAAe;IACb,kBAAkB;IAClB;QACE,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;CAC2B,CAAC"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
declare const _default: readonly ["disable-extend", {
|
2
|
+
readonly "class-methods-use-this": "off";
|
3
|
+
readonly "consistent-return": "off";
|
4
|
+
readonly "default-param-last": "off";
|
5
|
+
readonly "dot-notation": "off";
|
6
|
+
readonly "init-declarations": "off";
|
7
|
+
readonly "max-params": "off";
|
8
|
+
readonly "no-array-constructor": "off";
|
9
|
+
readonly "no-dupe-class-members": "off";
|
10
|
+
readonly "no-empty-function": "off";
|
11
|
+
readonly "no-implied-eval": "off";
|
12
|
+
readonly "no-invalid-this": "off";
|
13
|
+
readonly "no-loop-func": "off";
|
14
|
+
readonly "no-magic-numbers": "off";
|
15
|
+
readonly "no-redeclare": "off";
|
16
|
+
readonly "no-restricted-imports": "off";
|
17
|
+
readonly "no-shadow": "off";
|
18
|
+
readonly "no-throw-literal": "off";
|
19
|
+
readonly "no-unused-expressions": "off";
|
20
|
+
readonly "no-unused-vars": "off";
|
21
|
+
readonly "no-use-before-define": "off";
|
22
|
+
readonly "no-useless-constructor": "off";
|
23
|
+
readonly "prefer-destructuring": "off";
|
24
|
+
readonly "prefer-promise-reject-errors": "off";
|
25
|
+
readonly "require-await": "off";
|
26
|
+
}];
|
27
|
+
export default _default;
|
28
|
+
//# sourceMappingURL=DisableX.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DisableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/DisableX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBA8B+B"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Id: { DisableX }, Level: { OFF } } = Strings;
|
3
|
+
export default [
|
4
|
+
DisableX,
|
5
|
+
{
|
6
|
+
"class-methods-use-this": OFF,
|
7
|
+
"consistent-return": OFF,
|
8
|
+
"default-param-last": OFF,
|
9
|
+
"dot-notation": OFF,
|
10
|
+
"init-declarations": OFF,
|
11
|
+
"max-params": OFF,
|
12
|
+
"no-array-constructor": OFF,
|
13
|
+
"no-dupe-class-members": OFF,
|
14
|
+
"no-empty-function": OFF,
|
15
|
+
"no-implied-eval": OFF,
|
16
|
+
"no-invalid-this": OFF,
|
17
|
+
"no-loop-func": OFF,
|
18
|
+
"no-magic-numbers": OFF,
|
19
|
+
"no-redeclare": OFF,
|
20
|
+
"no-restricted-imports": OFF,
|
21
|
+
"no-shadow": OFF,
|
22
|
+
"no-throw-literal": OFF,
|
23
|
+
"no-unused-expressions": OFF,
|
24
|
+
"no-unused-vars": OFF,
|
25
|
+
"no-use-before-define": OFF,
|
26
|
+
"no-useless-constructor": OFF,
|
27
|
+
"prefer-destructuring": OFF,
|
28
|
+
"prefer-promise-reject-errors": OFF,
|
29
|
+
"require-await": OFF,
|
30
|
+
},
|
31
|
+
];
|
32
|
+
//# sourceMappingURL=DisableX.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DisableX.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/DisableX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;AAErD,eAAe;IACb,QAAQ;IACR;QAGE,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;CAC2B,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": true;
|
11
|
+
readonly "ts-ignore": true;
|
12
|
+
readonly "ts-nocheck": true;
|
13
|
+
readonly minimumDescriptionLength: 10;
|
14
|
+
}];
|
15
|
+
readonly "@typescript-eslint/ban-tslint-comment": "error";
|
16
|
+
readonly "@typescript-eslint/class-literal-property-style": readonly ["error", "fields"];
|
17
|
+
readonly "@typescript-eslint/consistent-generic-constructors": readonly ["error", "constructor"];
|
18
|
+
readonly "@typescript-eslint/consistent-indexed-object-style": readonly ["error", "record"];
|
19
|
+
readonly "@typescript-eslint/consistent-type-assertions": readonly ["error", {
|
20
|
+
readonly assertionStyle: "as";
|
21
|
+
readonly objectLiteralTypeAssertions: "never";
|
22
|
+
}];
|
23
|
+
readonly "@typescript-eslint/consistent-type-definitions": "off";
|
24
|
+
readonly "@typescript-eslint/consistent-type-exports": readonly ["error", {
|
25
|
+
readonly fixMixedExportsWithInlineTypeSpecifier: false;
|
26
|
+
}];
|
27
|
+
readonly "@typescript-eslint/consistent-type-imports": readonly ["error", {
|
28
|
+
readonly disallowTypeAnnotations: true;
|
29
|
+
readonly fixStyle: "separate-type-imports";
|
30
|
+
readonly prefer: "type-imports";
|
31
|
+
}];
|
32
|
+
readonly "@typescript-eslint/explicit-function-return-type": "off";
|
33
|
+
readonly "@typescript-eslint/explicit-member-accessibility": readonly ["error", {
|
34
|
+
readonly accessibility: "explicit";
|
35
|
+
readonly ignoredMethodNames: readonly [];
|
36
|
+
readonly overrides: {
|
37
|
+
readonly properties: "explicit";
|
38
|
+
readonly constructors: "no-public";
|
39
|
+
readonly accessors: "explicit";
|
40
|
+
readonly methods: "explicit";
|
41
|
+
readonly parameterProperties: "explicit";
|
42
|
+
};
|
43
|
+
}];
|
44
|
+
readonly "@typescript-eslint/explicit-module-boundary-types": "off";
|
45
|
+
readonly "@typescript-eslint/member-ordering": readonly ["error", {
|
46
|
+
readonly default: {
|
47
|
+
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"];
|
48
|
+
readonly optionalityOrder: "required-first";
|
49
|
+
readonly order: "as-written";
|
50
|
+
};
|
51
|
+
}];
|
52
|
+
readonly "@typescript-eslint/method-signature-style": readonly ["error", "property"];
|
53
|
+
readonly "@typescript-eslint/naming-convention": "off";
|
54
|
+
readonly "@typescript-eslint/no-array-delete": "error";
|
55
|
+
readonly "@typescript-eslint/no-base-to-string": readonly ["error", {
|
56
|
+
readonly ignoredTypeNames: readonly ["Error", "RegExp", "URL", "URLSearchParams"];
|
57
|
+
}];
|
58
|
+
readonly "@typescript-eslint/no-confusing-non-null-assertion": "error";
|
59
|
+
readonly "@typescript-eslint/no-confusing-void-expression": readonly ["error", {
|
60
|
+
readonly ignoreArrowShorthand: true;
|
61
|
+
readonly ignoreVoidOperator: true;
|
62
|
+
}];
|
63
|
+
readonly "@typescript-eslint/no-duplicate-enum-values": "error";
|
64
|
+
readonly "@typescript-eslint/no-duplicate-type-constituents": readonly ["error", {
|
65
|
+
readonly ignoreIntersections: false;
|
66
|
+
readonly ignoreUnions: false;
|
67
|
+
}];
|
68
|
+
readonly "@typescript-eslint/no-dynamic-delete": "error";
|
69
|
+
readonly "@typescript-eslint/no-empty-object-type": readonly ["error", {
|
70
|
+
readonly allowInterfaces: "never";
|
71
|
+
readonly allowObjectTypes: "never";
|
72
|
+
}];
|
73
|
+
readonly "@typescript-eslint/no-explicit-any": readonly ["error", {
|
74
|
+
readonly fixToUnknown: true;
|
75
|
+
readonly ignoreRestArgs: false;
|
76
|
+
}];
|
77
|
+
readonly "@typescript-eslint/no-extra-non-null-assertion": "error";
|
78
|
+
readonly "@typescript-eslint/no-extraneous-class": readonly ["error", {
|
79
|
+
readonly allowConstructorOnly: false;
|
80
|
+
readonly allowEmpty: true;
|
81
|
+
readonly allowStaticOnly: false;
|
82
|
+
readonly allowWithDecorator: false;
|
83
|
+
}];
|
84
|
+
readonly "@typescript-eslint/no-floating-promises": readonly ["error", {
|
85
|
+
readonly checkThenables: true;
|
86
|
+
readonly ignoreVoid: true;
|
87
|
+
readonly ignoreIIFE: false;
|
88
|
+
}];
|
89
|
+
readonly "@typescript-eslint/no-for-in-array": "error";
|
90
|
+
readonly "@typescript-eslint/no-import-type-side-effects": "error";
|
91
|
+
readonly "@typescript-eslint/no-inferrable-types": readonly ["error", {
|
92
|
+
readonly ignoreParameters: false;
|
93
|
+
readonly ignoreProperties: false;
|
94
|
+
}];
|
95
|
+
readonly "@typescript-eslint/no-invalid-void-type": readonly ["error", {
|
96
|
+
readonly allowInGenericTypeArguments: true;
|
97
|
+
readonly allowAsThisParameter: false;
|
98
|
+
}];
|
99
|
+
readonly "@typescript-eslint/no-meaningless-void-operator": readonly ["error", {
|
100
|
+
readonly checkNever: true;
|
101
|
+
}];
|
102
|
+
readonly "@typescript-eslint/no-misused-new": "error";
|
103
|
+
readonly "@typescript-eslint/no-misused-promises": readonly ["error", {
|
104
|
+
readonly checksConditionals: true;
|
105
|
+
readonly checksSpreads: true;
|
106
|
+
readonly checksVoidReturn: {
|
107
|
+
readonly arguments: true;
|
108
|
+
readonly attributes: true;
|
109
|
+
readonly properties: true;
|
110
|
+
readonly returns: true;
|
111
|
+
readonly variables: true;
|
112
|
+
};
|
113
|
+
}];
|
114
|
+
readonly "@typescript-eslint/no-mixed-enums": "error";
|
115
|
+
readonly "@typescript-eslint/no-namespace": "off";
|
116
|
+
readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
|
117
|
+
readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
|
118
|
+
readonly "@typescript-eslint/no-non-null-assertion": "error";
|
119
|
+
readonly "@typescript-eslint/no-redundant-type-constituents": "error";
|
120
|
+
readonly "@typescript-eslint/no-restricted-types": "off";
|
121
|
+
readonly "@typescript-eslint/no-require-imports": readonly ["error", {
|
122
|
+
readonly allow: readonly [];
|
123
|
+
}];
|
124
|
+
readonly "@typescript-eslint/no-this-alias": readonly ["error", {
|
125
|
+
readonly allowDestructuring: true;
|
126
|
+
readonly allowedNames: readonly [];
|
127
|
+
}];
|
128
|
+
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": readonly ["error", {
|
129
|
+
readonly allowComparingNullableBooleansToTrue: true;
|
130
|
+
readonly allowComparingNullableBooleansToFalse: true;
|
131
|
+
}];
|
132
|
+
readonly "@typescript-eslint/no-unnecessary-condition": readonly ["error", {
|
133
|
+
readonly allowConstantLoopConditions: false;
|
134
|
+
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
135
|
+
}];
|
136
|
+
readonly "@typescript-eslint/no-unnecessary-qualifier": "error";
|
137
|
+
readonly "@typescript-eslint/no-unnecessary-template-expression": "error";
|
138
|
+
readonly "@typescript-eslint/no-unnecessary-type-arguments": "error";
|
139
|
+
readonly "@typescript-eslint/no-unnecessary-type-assertion": readonly ["error", {
|
140
|
+
readonly typesToIgnore: readonly [];
|
141
|
+
}];
|
142
|
+
readonly "@typescript-eslint/no-unnecessary-type-constraint": "error";
|
143
|
+
readonly "@typescript-eslint/no-unnecessary-type-parameters": "error";
|
144
|
+
readonly "@typescript-eslint/no-unsafe-argument": "error";
|
145
|
+
readonly "@typescript-eslint/no-unsafe-assignment": "error";
|
146
|
+
readonly "@typescript-eslint/no-unsafe-call": "error";
|
147
|
+
readonly "@typescript-eslint/no-unsafe-declaration-merging": "error";
|
148
|
+
readonly "@typescript-eslint/no-unsafe-enum-comparison": "error";
|
149
|
+
readonly "@typescript-eslint/no-unsafe-function-type": "error";
|
150
|
+
readonly "@typescript-eslint/no-unsafe-member-access": "error";
|
151
|
+
readonly "@typescript-eslint/no-unsafe-return": "error";
|
152
|
+
readonly "@typescript-eslint/no-unsafe-unary-minus": "error";
|
153
|
+
readonly "@typescript-eslint/no-useless-empty-export": "error";
|
154
|
+
readonly "@typescript-eslint/no-wrapper-object-types": "error";
|
155
|
+
readonly "@typescript-eslint/no-var-requires": "off";
|
156
|
+
readonly "@typescript-eslint/non-nullable-type-assertion-style": "off";
|
157
|
+
readonly "@typescript-eslint/parameter-properties": readonly ["error", {
|
158
|
+
readonly prefer: "parameter-property";
|
159
|
+
}];
|
160
|
+
readonly "@typescript-eslint/prefer-as-const": "error";
|
161
|
+
readonly "@typescript-eslint/prefer-enum-initializers": "error";
|
162
|
+
readonly "@typescript-eslint/prefer-find": "error";
|
163
|
+
readonly "@typescript-eslint/prefer-for-of": "error";
|
164
|
+
readonly "@typescript-eslint/prefer-function-type": "error";
|
165
|
+
readonly "@typescript-eslint/prefer-includes": "error";
|
166
|
+
readonly "@typescript-eslint/prefer-literal-enum-member": readonly ["error", {
|
167
|
+
readonly allowBitwiseExpressions: false;
|
168
|
+
}];
|
169
|
+
readonly "@typescript-eslint/prefer-namespace-keyword": "error";
|
170
|
+
readonly "@typescript-eslint/prefer-nullish-coalescing": readonly ["error", {
|
171
|
+
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
172
|
+
readonly ignoreConditionalTests: false;
|
173
|
+
readonly ignoreTernaryTests: false;
|
174
|
+
readonly ignoreMixedLogicalExpressions: false;
|
175
|
+
readonly ignorePrimitives: {
|
176
|
+
readonly bigint: false;
|
177
|
+
readonly boolean: false;
|
178
|
+
readonly number: false;
|
179
|
+
readonly string: false;
|
180
|
+
};
|
181
|
+
}];
|
182
|
+
readonly "@typescript-eslint/prefer-optional-chain": readonly ["error", {
|
183
|
+
readonly allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false;
|
184
|
+
readonly checkAny: true;
|
185
|
+
readonly checkBigInt: true;
|
186
|
+
readonly checkBoolean: true;
|
187
|
+
readonly checkNumber: true;
|
188
|
+
readonly checkString: true;
|
189
|
+
readonly checkUnknown: true;
|
190
|
+
readonly requireNullish: false;
|
191
|
+
}];
|
192
|
+
readonly "@typescript-eslint/prefer-readonly": readonly ["error", {
|
193
|
+
readonly onlyInlineLambdas: false;
|
194
|
+
}];
|
195
|
+
readonly "@typescript-eslint/prefer-readonly-parameter-types": "off";
|
196
|
+
readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
|
197
|
+
readonly "@typescript-eslint/prefer-regexp-exec": "error";
|
198
|
+
readonly "@typescript-eslint/prefer-return-this-type": "error";
|
199
|
+
readonly "@typescript-eslint/prefer-string-starts-ends-with": readonly ["error", {
|
200
|
+
readonly allowSingleElementEquality: "never";
|
201
|
+
}];
|
202
|
+
readonly "@typescript-eslint/prefer-ts-expect-error": "error";
|
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/statics/rules/presets/ts/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,wBAoiB+B"}
|