@eslinted/defaults 13.4.0 → 14.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_scope/const/index.d.ts.map +1 -0
- package/dist/_scope/const/index.js.map +1 -0
- package/dist/_scope/const/roots.d.ts.map +1 -0
- package/dist/_scope/const/roots.js.map +1 -0
- package/dist/_scope/const/subroots.d.ts.map +1 -0
- package/dist/_scope/const/subroots.js.map +1 -0
- package/dist/_scope/index.d.ts.map +1 -0
- package/dist/{_unglob → _scope}/index.js +1 -1
- package/dist/_scope/index.js.map +1 -0
- package/dist/files/css.js +1 -1
- package/dist/files/css.js.map +1 -1
- package/dist/files/html.js +1 -1
- package/dist/files/html.js.map +1 -1
- package/dist/files/index.d.ts +2 -1
- package/dist/files/index.d.ts.map +1 -1
- package/dist/files/index.js +1 -1
- package/dist/files/index.js.map +1 -1
- package/dist/files/js.js +1 -1
- package/dist/files/js.js.map +1 -1
- package/dist/files/json.js +1 -1
- package/dist/files/json.js.map +1 -1
- package/dist/files/jsonc.js +1 -1
- package/dist/files/jsonc.js.map +1 -1
- package/dist/files/jsoncc.js +1 -1
- package/dist/files/jsoncc.js.map +1 -1
- package/dist/files/mocha.js +1 -1
- package/dist/files/mocha.js.map +1 -1
- package/dist/files/svelte.js +1 -1
- package/dist/files/svelte.js.map +1 -1
- package/dist/files/ts.js +1 -1
- package/dist/files/ts.js.map +1 -1
- package/dist/files/yml.js +1 -1
- package/dist/files/yml.js.map +1 -1
- package/dist/ignores/index.d.ts +2 -1
- package/dist/ignores/index.d.ts.map +1 -1
- package/dist/ignores/index.js +2 -2
- package/dist/ignores/index.js.map +1 -1
- package/dist/index.d.ts +464 -884
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/index.spec.js +5 -12
- package/dist/index.spec.js.map +1 -1
- package/dist/rules/base.d.ts +419 -0
- package/dist/rules/base.d.ts.map +1 -0
- package/dist/rules/{enable.d.ts → base.eslint.d.ts} +1 -1
- package/dist/rules/{enable.d.ts.map → base.eslint.d.ts.map} +1 -1
- package/dist/rules/{enable.js → base.eslint.js} +1 -1
- package/dist/rules/base.eslint.js.map +1 -0
- package/dist/rules/base.js +7 -0
- package/dist/rules/base.js.map +1 -0
- package/dist/rules/{stylistic.d.ts → base.stylistic.d.ts} +1 -1
- package/dist/rules/base.stylistic.d.ts.map +1 -0
- package/dist/rules/{stylistic.js → base.stylistic.js} +1 -1
- package/dist/rules/base.stylistic.js.map +1 -0
- package/dist/rules/css/enable.d.ts +2 -1
- package/dist/rules/css/enable.d.ts.map +1 -1
- package/dist/rules/css/enable.js +1 -1
- package/dist/rules/css/enable.js.map +1 -1
- package/dist/rules/css/index.js +1 -1
- package/dist/rules/css/index.js.map +1 -1
- package/dist/rules/html/{plugin/index.d.ts → enable.d.ts} +3 -2
- package/dist/rules/html/enable.d.ts.map +1 -0
- package/dist/rules/html/{plugin/index.js → enable.js} +3 -3
- package/dist/rules/html/enable.js.map +1 -0
- package/dist/rules/html/index.js +1 -1
- package/dist/rules/html/index.js.map +1 -1
- package/dist/rules/index.d.ts +3 -7
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/index.js +3 -7
- package/dist/rules/index.js.map +1 -1
- package/dist/rules/json/enable.d.ts +2 -1
- package/dist/rules/json/enable.d.ts.map +1 -1
- package/dist/rules/json/enable.js +1 -1
- package/dist/rules/json/enable.js.map +1 -1
- package/dist/rules/json/index.js +3 -3
- package/dist/rules/json/index.js.map +1 -1
- package/dist/rules/json/plugin/extension.d.ts +2 -1
- package/dist/rules/json/plugin/extension.d.ts.map +1 -1
- package/dist/rules/json/plugin/extension.js +1 -1
- package/dist/rules/json/plugin/extension.js.map +1 -1
- package/dist/rules/json/plugin/index.d.ts +2 -1
- package/dist/rules/json/plugin/index.d.ts.map +1 -1
- package/dist/rules/json/plugin/index.js +1 -1
- package/dist/rules/json/plugin/index.js.map +1 -1
- package/dist/rules/jsonc/index.js +1 -1
- package/dist/rules/jsonc/index.js.map +1 -1
- package/dist/rules/jsonc/plugin/index.d.ts +2 -1
- package/dist/rules/jsonc/plugin/index.d.ts.map +1 -1
- package/dist/rules/jsonc/plugin/index.js +1 -1
- package/dist/rules/jsonc/plugin/index.js.map +1 -1
- package/dist/rules/jsoncc/index.js +1 -1
- package/dist/rules/jsoncc/index.js.map +1 -1
- package/dist/rules/jsoncc/plugin/index.d.ts +2 -1
- package/dist/rules/jsoncc/plugin/index.d.ts.map +1 -1
- package/dist/rules/jsoncc/plugin/index.js +1 -1
- package/dist/rules/jsoncc/plugin/index.js.map +1 -1
- package/dist/rules/mocha/chai/expect.d.ts +2 -1
- package/dist/rules/mocha/chai/expect.d.ts.map +1 -1
- package/dist/rules/mocha/chai/expect.js +1 -1
- package/dist/rules/mocha/chai/expect.js.map +1 -1
- package/dist/rules/mocha/chai/index.d.ts +2 -1
- package/dist/rules/mocha/chai/index.d.ts.map +1 -1
- package/dist/rules/mocha/chai/index.js +1 -1
- package/dist/rules/mocha/chai/index.js.map +1 -1
- package/dist/rules/mocha/disable.d.ts +2 -1
- package/dist/rules/mocha/disable.d.ts.map +1 -1
- package/dist/rules/mocha/disable.js +1 -1
- package/dist/rules/mocha/disable.js.map +1 -1
- package/dist/rules/mocha/enable.d.ts +2 -1
- package/dist/rules/mocha/enable.d.ts.map +1 -1
- package/dist/rules/mocha/enable.js +1 -1
- package/dist/rules/mocha/enable.js.map +1 -1
- package/dist/rules/mocha/index.js +4 -4
- package/dist/rules/mocha/index.js.map +1 -1
- package/dist/rules/svelte/disable.d.ts +2 -1
- package/dist/rules/svelte/disable.d.ts.map +1 -1
- package/dist/rules/svelte/disable.js +1 -1
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/enable.d.ts +2 -1
- package/dist/rules/svelte/enable.d.ts.map +1 -1
- package/dist/rules/svelte/enable.js +1 -1
- package/dist/rules/svelte/enable.js.map +1 -1
- package/dist/rules/svelte/extension/disable.d.ts +2 -1
- package/dist/rules/svelte/extension/disable.d.ts.map +1 -1
- package/dist/rules/svelte/extension/disable.js +1 -1
- package/dist/rules/svelte/extension/disable.js.map +1 -1
- package/dist/rules/svelte/extension/index.d.ts +2 -1
- package/dist/rules/svelte/extension/index.d.ts.map +1 -1
- package/dist/rules/svelte/extension/index.js +1 -1
- package/dist/rules/svelte/extension/index.js.map +1 -1
- package/dist/rules/svelte/index.js +4 -4
- package/dist/rules/svelte/index.js.map +1 -1
- package/dist/rules/ts/disable.d.ts +2 -1
- package/dist/rules/ts/disable.d.ts.map +1 -1
- package/dist/rules/ts/disable.js +1 -1
- package/dist/rules/ts/disable.js.map +1 -1
- package/dist/rules/ts/enable.d.ts +3 -7
- package/dist/rules/ts/enable.d.ts.map +1 -1
- package/dist/rules/ts/enable.js +2 -10
- package/dist/rules/ts/enable.js.map +1 -1
- package/dist/rules/ts/extension/disable.d.ts +2 -1
- package/dist/rules/ts/extension/disable.d.ts.map +1 -1
- package/dist/rules/ts/extension/disable.js +1 -1
- package/dist/rules/ts/extension/disable.js.map +1 -1
- package/dist/rules/ts/extension/index.d.ts +2 -1
- package/dist/rules/ts/extension/index.d.ts.map +1 -1
- package/dist/rules/ts/extension/index.js +1 -1
- package/dist/rules/ts/extension/index.js.map +1 -1
- package/dist/rules/ts/index.d.ts +1 -6
- package/dist/rules/ts/index.d.ts.map +1 -1
- package/dist/rules/ts/index.js +4 -4
- package/dist/rules/ts/index.js.map +1 -1
- package/dist/rules/yml/enable.d.ts +2 -1
- package/dist/rules/yml/enable.d.ts.map +1 -1
- package/dist/rules/yml/enable.js +1 -1
- package/dist/rules/yml/enable.js.map +1 -1
- package/dist/rules/yml/extension.d.ts +2 -1
- package/dist/rules/yml/extension.d.ts.map +1 -1
- package/dist/rules/yml/extension.js +1 -1
- package/dist/rules/yml/extension.js.map +1 -1
- package/dist/rules/yml/index.js +2 -2
- package/dist/rules/yml/index.js.map +1 -1
- package/dist/settings/index.d.ts +51 -71
- package/dist/settings/index.d.ts.map +1 -1
- package/dist/settings/index.js +21 -5
- package/dist/settings/index.js.map +1 -1
- package/dist/settings/settings/css.d.ts +2 -2
- package/dist/settings/settings/css.d.ts.map +1 -1
- package/dist/settings/settings/css.js +1 -2
- package/dist/settings/settings/css.js.map +1 -1
- package/dist/settings/settings/html.d.ts +2 -1
- package/dist/settings/settings/html.d.ts.map +1 -1
- package/dist/settings/settings/html.js +1 -1
- package/dist/settings/settings/html.js.map +1 -1
- package/dist/settings/settings/js.d.ts +2 -4
- package/dist/settings/settings/js.d.ts.map +1 -1
- package/dist/settings/settings/js.js +1 -4
- package/dist/settings/settings/js.js.map +1 -1
- package/dist/settings/settings/json.d.ts +2 -2
- package/dist/settings/settings/json.d.ts.map +1 -1
- package/dist/settings/settings/json.js +1 -2
- package/dist/settings/settings/json.js.map +1 -1
- package/dist/settings/settings/jsonc.d.ts +2 -3
- package/dist/settings/settings/jsonc.d.ts.map +1 -1
- package/dist/settings/settings/jsonc.js +1 -3
- package/dist/settings/settings/jsonc.js.map +1 -1
- package/dist/settings/settings/jsoncc.d.ts +2 -3
- package/dist/settings/settings/jsoncc.d.ts.map +1 -1
- package/dist/settings/settings/jsoncc.js +1 -3
- package/dist/settings/settings/jsoncc.js.map +1 -1
- package/dist/settings/settings/mocha.d.ts +2 -4
- package/dist/settings/settings/mocha.d.ts.map +1 -1
- package/dist/settings/settings/mocha.js +1 -4
- package/dist/settings/settings/mocha.js.map +1 -1
- package/dist/settings/settings/svelte.d.ts +2 -1
- package/dist/settings/settings/svelte.d.ts.map +1 -1
- package/dist/settings/settings/svelte.js +1 -1
- package/dist/settings/settings/svelte.js.map +1 -1
- package/dist/settings/settings/ts.d.ts +2 -1
- package/dist/settings/settings/ts.d.ts.map +1 -1
- package/dist/settings/settings/ts.js +1 -1
- package/dist/settings/settings/ts.js.map +1 -1
- package/dist/settings/settings/yml.d.ts +2 -2
- package/dist/settings/settings/yml.d.ts.map +1 -1
- package/dist/settings/settings/yml.js +1 -2
- package/dist/settings/settings/yml.js.map +1 -1
- package/package.json +1 -1
- package/src/{_unglob → _scope}/index.ts +1 -1
- package/src/files/css.ts +1 -1
- package/src/files/html.ts +1 -1
- package/src/files/index.ts +1 -1
- package/src/files/js.ts +1 -1
- package/src/files/json.ts +1 -1
- package/src/files/jsonc.ts +1 -1
- package/src/files/jsoncc.ts +1 -1
- package/src/files/mocha.ts +1 -1
- package/src/files/svelte.ts +1 -1
- package/src/files/ts.ts +1 -1
- package/src/files/yml.ts +1 -1
- package/src/ignores/index.ts +2 -2
- package/src/index.spec.ts +5 -15
- package/src/index.ts +7 -6
- package/src/rules/base.ts +7 -0
- package/src/rules/css/enable.ts +1 -1
- package/src/rules/css/index.ts +1 -1
- package/src/rules/html/{plugin/index.ts → enable.ts} +2 -2
- package/src/rules/html/index.ts +1 -1
- package/src/rules/index.ts +3 -7
- package/src/rules/json/enable.ts +1 -1
- package/src/rules/json/index.ts +3 -3
- package/src/rules/json/plugin/extension.ts +1 -1
- package/src/rules/json/plugin/index.ts +1 -1
- package/src/rules/jsonc/index.ts +1 -1
- package/src/rules/jsonc/plugin/index.ts +1 -1
- package/src/rules/jsoncc/index.ts +1 -1
- package/src/rules/jsoncc/plugin/index.ts +1 -1
- package/src/rules/mocha/chai/expect.ts +1 -1
- package/src/rules/mocha/chai/index.ts +1 -1
- package/src/rules/mocha/disable.ts +1 -1
- package/src/rules/mocha/enable.ts +1 -1
- package/src/rules/mocha/index.ts +4 -4
- package/src/rules/svelte/disable.ts +1 -1
- package/src/rules/svelte/enable.ts +1 -1
- package/src/rules/svelte/extension/disable.ts +1 -1
- package/src/rules/svelte/extension/index.ts +1 -1
- package/src/rules/svelte/index.ts +4 -4
- package/src/rules/ts/disable.ts +1 -1
- package/src/rules/ts/enable.ts +3 -10
- package/src/rules/ts/extension/disable.ts +1 -1
- package/src/rules/ts/extension/index.ts +1 -1
- package/src/rules/ts/index.ts +4 -4
- package/src/rules/yml/enable.ts +1 -1
- package/src/rules/yml/extension.ts +1 -1
- package/src/rules/yml/index.ts +2 -2
- package/src/settings/index.ts +21 -5
- package/src/settings/settings/css.ts +4 -5
- package/src/settings/settings/html.ts +3 -3
- package/src/settings/settings/js.ts +3 -8
- package/src/settings/settings/json.ts +2 -3
- package/src/settings/settings/jsonc.ts +2 -7
- package/src/settings/settings/jsoncc.ts +2 -7
- package/src/settings/settings/mocha.ts +2 -8
- package/src/settings/settings/svelte.ts +1 -1
- package/src/settings/settings/ts.ts +3 -3
- package/src/settings/settings/yml.ts +2 -5
- package/tsconfig.json +2 -2
- package/dist/_unglob/index.d.ts.map +0 -1
- package/dist/_unglob/index.js.map +0 -1
- package/dist/_unglob/project/index.d.ts.map +0 -1
- package/dist/_unglob/project/index.js.map +0 -1
- package/dist/_unglob/project/roots.d.ts.map +0 -1
- package/dist/_unglob/project/roots.js.map +0 -1
- package/dist/_unglob/project/subroots.d.ts.map +0 -1
- package/dist/_unglob/project/subroots.js.map +0 -1
- package/dist/rules/_strings/state.spec.d.ts +0 -2
- package/dist/rules/_strings/state.spec.d.ts.map +0 -1
- package/dist/rules/_strings/state.spec.js +0 -41
- package/dist/rules/_strings/state.spec.js.map +0 -1
- package/dist/rules/enable.js.map +0 -1
- package/dist/rules/html/plugin/index.d.ts.map +0 -1
- package/dist/rules/html/plugin/index.js.map +0 -1
- package/dist/rules/stylistic.d.ts.map +0 -1
- package/dist/rules/stylistic.js.map +0 -1
- package/dist/settings/base.d.ts +0 -7
- package/dist/settings/base.d.ts.map +0 -1
- package/dist/settings/base.js +0 -7
- package/dist/settings/base.js.map +0 -1
- package/dist/settings/registry.d.ts +0 -76
- package/dist/settings/registry.d.ts.map +0 -1
- package/dist/settings/registry.js +0 -23
- package/dist/settings/registry.js.map +0 -1
- package/src/rules/_strings/state.spec.ts +0 -69
- package/src/settings/base.ts +0 -6
- package/src/settings/registry.ts +0 -23
- /package/dist/{_unglob/project → _scope/const}/index.d.ts +0 -0
- /package/dist/{_unglob/project → _scope/const}/index.js +0 -0
- /package/dist/{_unglob/project → _scope/const}/roots.d.ts +0 -0
- /package/dist/{_unglob/project → _scope/const}/roots.js +0 -0
- /package/dist/{_unglob/project → _scope/const}/subroots.d.ts +0 -0
- /package/dist/{_unglob/project → _scope/const}/subroots.js +0 -0
- /package/dist/{_unglob → _scope}/index.d.ts +0 -0
- /package/src/{_unglob/project → _scope/const}/index.ts +0 -0
- /package/src/{_unglob/project → _scope/const}/roots.ts +0 -0
- /package/src/{_unglob/project → _scope/const}/subroots.ts +0 -0
- /package/src/rules/{enable.ts → base.eslint.ts} +0 -0
- /package/src/rules/{stylistic.ts → base.stylistic.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
settings: {
|
|
3
|
+
js: {};
|
|
4
|
+
ts: {
|
|
5
|
+
languageOptions: {
|
|
6
|
+
parser: "ts";
|
|
7
|
+
};
|
|
8
|
+
parserOptions: {
|
|
9
|
+
ecmaFeatures: {
|
|
10
|
+
globalReturn: boolean;
|
|
11
|
+
};
|
|
12
|
+
ecmaVersion: number;
|
|
13
|
+
emitDecoratorMetadata: boolean;
|
|
14
|
+
experimentalDecorators: boolean;
|
|
15
|
+
isolatedDeclarations: boolean;
|
|
16
|
+
projectService: boolean;
|
|
17
|
+
warnOnUnsupportedTypeScriptVersion: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
mocha: {};
|
|
21
|
+
svelte: {
|
|
22
|
+
languageOptions: {
|
|
23
|
+
parser: "svelte";
|
|
24
|
+
};
|
|
25
|
+
parserOptions: {
|
|
26
|
+
parser: "ts";
|
|
27
|
+
extraFileExtensions: string[];
|
|
28
|
+
};
|
|
29
|
+
processor: string;
|
|
30
|
+
};
|
|
31
|
+
html: {
|
|
32
|
+
languageOptions: {
|
|
33
|
+
parser: "html";
|
|
34
|
+
};
|
|
35
|
+
parserOptions: {
|
|
36
|
+
frontmatter: boolean;
|
|
37
|
+
};
|
|
38
|
+
language: string;
|
|
39
|
+
};
|
|
40
|
+
css: {
|
|
41
|
+
languageOptions: {
|
|
42
|
+
tolerant: boolean;
|
|
43
|
+
};
|
|
44
|
+
language: string;
|
|
45
|
+
};
|
|
46
|
+
json: {
|
|
47
|
+
languageOptions: {
|
|
48
|
+
allowTrailingCommas: boolean;
|
|
49
|
+
};
|
|
50
|
+
language: string;
|
|
51
|
+
};
|
|
52
|
+
jsonc: {
|
|
53
|
+
language: string;
|
|
54
|
+
};
|
|
55
|
+
jsoncc: {
|
|
56
|
+
language: string;
|
|
57
|
+
};
|
|
58
|
+
yml: {
|
|
59
|
+
languageOptions: {
|
|
60
|
+
parser: "yml";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
15
63
|
};
|
|
16
64
|
files: {
|
|
17
65
|
js: string[];
|
|
@@ -25,17 +73,27 @@ export declare const defaults: {
|
|
|
25
73
|
jsoncc: string[];
|
|
26
74
|
yml: string[];
|
|
27
75
|
};
|
|
76
|
+
ignores: {
|
|
77
|
+
"*": string[];
|
|
78
|
+
js: never[];
|
|
79
|
+
ts: never[];
|
|
80
|
+
mocha: never[];
|
|
81
|
+
svelte: never[];
|
|
82
|
+
html: never[];
|
|
83
|
+
css: never[];
|
|
84
|
+
json: string[];
|
|
85
|
+
jsonc: never[];
|
|
86
|
+
jsoncc: never[];
|
|
87
|
+
yml: never[];
|
|
88
|
+
};
|
|
28
89
|
rules: {
|
|
29
90
|
js: ({
|
|
30
91
|
id: "enable";
|
|
31
92
|
rules: {
|
|
32
|
-
readonly "array-callback-return": readonly [
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
readonly allowVoid: true;
|
|
37
|
-
}
|
|
38
|
-
];
|
|
93
|
+
readonly "array-callback-return": readonly [2, {
|
|
94
|
+
readonly checkForEach: true;
|
|
95
|
+
readonly allowVoid: true;
|
|
96
|
+
}];
|
|
39
97
|
readonly "constructor-super": 2;
|
|
40
98
|
readonly "for-direction": 2;
|
|
41
99
|
readonly "getter-return": 2;
|
|
@@ -46,12 +104,9 @@ export declare const defaults: {
|
|
|
46
104
|
readonly "no-cond-assign": 2;
|
|
47
105
|
readonly "no-const-assign": 2;
|
|
48
106
|
readonly "no-constant-binary-expression": 2;
|
|
49
|
-
readonly "no-constant-condition": readonly [
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
readonly checkLoops: "all";
|
|
53
|
-
}
|
|
54
|
-
];
|
|
107
|
+
readonly "no-constant-condition": readonly [2, {
|
|
108
|
+
readonly checkLoops: "all";
|
|
109
|
+
}];
|
|
55
110
|
readonly "no-constructor-return": 2;
|
|
56
111
|
readonly "no-control-regex": 2;
|
|
57
112
|
readonly "no-debugger": 2;
|
|
@@ -60,35 +115,26 @@ export declare const defaults: {
|
|
|
60
115
|
readonly "no-dupe-else-if": 2;
|
|
61
116
|
readonly "no-dupe-keys": 2;
|
|
62
117
|
readonly "no-duplicate-case": 2;
|
|
63
|
-
readonly "no-duplicate-imports": readonly [
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
readonly allowSeparateTypeImports: true;
|
|
68
|
-
}
|
|
69
|
-
];
|
|
118
|
+
readonly "no-duplicate-imports": readonly [2, {
|
|
119
|
+
readonly includeExports: true;
|
|
120
|
+
readonly allowSeparateTypeImports: true;
|
|
121
|
+
}];
|
|
70
122
|
readonly "no-empty-character-class": 2;
|
|
71
123
|
readonly "no-empty-pattern": 2;
|
|
72
124
|
readonly "no-ex-assign": 2;
|
|
73
125
|
readonly "no-fallthrough": 2;
|
|
74
126
|
readonly "no-func-assign": 2;
|
|
75
127
|
readonly "no-import-assign": 2;
|
|
76
|
-
readonly "no-inner-declarations": readonly [
|
|
77
|
-
2,
|
|
78
|
-
"both"
|
|
79
|
-
];
|
|
128
|
+
readonly "no-inner-declarations": readonly [2, "both"];
|
|
80
129
|
readonly "no-invalid-regexp": 2;
|
|
81
130
|
readonly "no-irregular-whitespace": 2;
|
|
82
131
|
readonly "no-loss-of-precision": 2;
|
|
83
132
|
readonly "no-misleading-character-class": 2;
|
|
84
133
|
readonly "no-new-native-nonconstructor": 2;
|
|
85
134
|
readonly "no-obj-calls": 2;
|
|
86
|
-
readonly "no-promise-executor-return": readonly [
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
readonly allowVoid: true;
|
|
90
|
-
}
|
|
91
|
-
];
|
|
135
|
+
readonly "no-promise-executor-return": readonly [2, {
|
|
136
|
+
readonly allowVoid: true;
|
|
137
|
+
}];
|
|
92
138
|
readonly "no-prototype-builtins": 2;
|
|
93
139
|
readonly "no-self-assign": 2;
|
|
94
140
|
readonly "no-self-compare": 2;
|
|
@@ -103,67 +149,42 @@ export declare const defaults: {
|
|
|
103
149
|
readonly "no-unreachable": 2;
|
|
104
150
|
readonly "no-unreachable-loop": 2;
|
|
105
151
|
readonly "no-unsafe-finally": 2;
|
|
106
|
-
readonly "no-unsafe-negation": readonly [
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
];
|
|
112
|
-
readonly "no-unsafe-optional-chaining": readonly [
|
|
113
|
-
2,
|
|
114
|
-
{
|
|
115
|
-
readonly disallowArithmeticOperators: true;
|
|
116
|
-
}
|
|
117
|
-
];
|
|
152
|
+
readonly "no-unsafe-negation": readonly [2, {
|
|
153
|
+
readonly enforceForOrderingRelations: true;
|
|
154
|
+
}];
|
|
155
|
+
readonly "no-unsafe-optional-chaining": readonly [2, {
|
|
156
|
+
readonly disallowArithmeticOperators: true;
|
|
157
|
+
}];
|
|
118
158
|
readonly "no-unused-private-class-members": 2;
|
|
119
159
|
readonly "no-unused-vars": 2;
|
|
120
|
-
readonly "no-use-before-define": readonly [
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
readonly typedefs: false;
|
|
124
|
-
}
|
|
125
|
-
];
|
|
160
|
+
readonly "no-use-before-define": readonly [2, {
|
|
161
|
+
readonly typedefs: false;
|
|
162
|
+
}];
|
|
126
163
|
readonly "no-useless-assignment": 2;
|
|
127
164
|
readonly "no-useless-backreference": 2;
|
|
128
165
|
readonly "require-atomic-updates": 2;
|
|
129
|
-
readonly "use-isnan": readonly [
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
];
|
|
135
|
-
readonly "
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
readonly requireStringLiterals: true;
|
|
139
|
-
}
|
|
140
|
-
];
|
|
141
|
-
readonly "accessor-pairs": readonly [
|
|
142
|
-
2,
|
|
143
|
-
{
|
|
144
|
-
readonly enforceForTSTypes: true;
|
|
145
|
-
}
|
|
146
|
-
];
|
|
166
|
+
readonly "use-isnan": readonly [2, {
|
|
167
|
+
readonly enforceForIndexOf: true;
|
|
168
|
+
}];
|
|
169
|
+
readonly "valid-typeof": readonly [2, {
|
|
170
|
+
readonly requireStringLiterals: true;
|
|
171
|
+
}];
|
|
172
|
+
readonly "accessor-pairs": readonly [2, {
|
|
173
|
+
readonly enforceForTSTypes: true;
|
|
174
|
+
}];
|
|
147
175
|
readonly "arrow-body-style": 2;
|
|
148
176
|
readonly "block-scoped-var": 2;
|
|
149
177
|
readonly "consistent-return": 2;
|
|
150
178
|
readonly "consistent-this": 2;
|
|
151
|
-
readonly curly: readonly [
|
|
152
|
-
2,
|
|
153
|
-
"multi"
|
|
154
|
-
];
|
|
179
|
+
readonly curly: readonly [2, "multi"];
|
|
155
180
|
readonly "default-case-last": 2;
|
|
156
181
|
readonly "default-param-last": 2;
|
|
157
182
|
readonly "dot-notation": 2;
|
|
158
183
|
readonly eqeqeq: 2;
|
|
159
184
|
readonly "init-declarations": 2;
|
|
160
|
-
readonly "logical-assignment-operators": readonly [
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
{
|
|
164
|
-
readonly enforceForIfStatements: true;
|
|
165
|
-
}
|
|
166
|
-
];
|
|
185
|
+
readonly "logical-assignment-operators": readonly [2, "always", {
|
|
186
|
+
readonly enforceForIfStatements: true;
|
|
187
|
+
}];
|
|
167
188
|
readonly "no-alert": 2;
|
|
168
189
|
readonly "no-array-constructor": 2;
|
|
169
190
|
readonly "no-bitwise": 2;
|
|
@@ -173,44 +194,26 @@ export declare const defaults: {
|
|
|
173
194
|
readonly "no-delete-var": 2;
|
|
174
195
|
readonly "no-div-regex": 2;
|
|
175
196
|
readonly "no-empty": 2;
|
|
176
|
-
readonly "no-empty-function": readonly [
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
readonly allow: readonly [
|
|
180
|
-
"constructors",
|
|
181
|
-
"privateConstructors",
|
|
182
|
-
"protectedConstructors",
|
|
183
|
-
"decoratedFunctions",
|
|
184
|
-
"overrideMethods"
|
|
185
|
-
];
|
|
186
|
-
}
|
|
187
|
-
];
|
|
197
|
+
readonly "no-empty-function": readonly [2, {
|
|
198
|
+
readonly allow: readonly ["constructors", "privateConstructors", "protectedConstructors", "decoratedFunctions", "overrideMethods"];
|
|
199
|
+
}];
|
|
188
200
|
readonly "no-empty-static-block": 2;
|
|
189
201
|
readonly "no-eq-null": 2;
|
|
190
202
|
readonly "no-eval": 2;
|
|
191
203
|
readonly "no-extend-native": 2;
|
|
192
204
|
readonly "no-extra-bind": 2;
|
|
193
|
-
readonly "no-extra-boolean-cast": readonly [
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
readonly enforceForLogicalOperands: true;
|
|
197
|
-
}
|
|
198
|
-
];
|
|
205
|
+
readonly "no-extra-boolean-cast": readonly [2, {
|
|
206
|
+
readonly enforceForLogicalOperands: true;
|
|
207
|
+
}];
|
|
199
208
|
readonly "no-extra-label": 2;
|
|
200
209
|
readonly "no-global-assign": 2;
|
|
201
|
-
readonly "no-implicit-coercion": readonly [
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
readonly disallowTemplateShorthand: true;
|
|
205
|
-
}
|
|
206
|
-
];
|
|
210
|
+
readonly "no-implicit-coercion": readonly [2, {
|
|
211
|
+
readonly disallowTemplateShorthand: true;
|
|
212
|
+
}];
|
|
207
213
|
readonly "no-implied-eval": 2;
|
|
208
|
-
readonly "no-invalid-this": readonly [
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
readonly capIsConstructor: false;
|
|
212
|
-
}
|
|
213
|
-
];
|
|
214
|
+
readonly "no-invalid-this": readonly [2, {
|
|
215
|
+
readonly capIsConstructor: false;
|
|
216
|
+
}];
|
|
214
217
|
readonly "no-iterator": 2;
|
|
215
218
|
readonly "no-label-var": 2;
|
|
216
219
|
readonly "no-lone-blocks": 2;
|
|
@@ -224,18 +227,12 @@ export declare const defaults: {
|
|
|
224
227
|
readonly "no-object-constructor": 2;
|
|
225
228
|
readonly "no-octal": 2;
|
|
226
229
|
readonly "no-octal-escape": 2;
|
|
227
|
-
readonly "no-param-reassign": readonly [
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
];
|
|
233
|
-
readonly "no-plusplus": readonly [
|
|
234
|
-
2,
|
|
235
|
-
{
|
|
236
|
-
readonly allowForLoopAfterthoughts: true;
|
|
237
|
-
}
|
|
238
|
-
];
|
|
230
|
+
readonly "no-param-reassign": readonly [2, {
|
|
231
|
+
readonly props: true;
|
|
232
|
+
}];
|
|
233
|
+
readonly "no-plusplus": readonly [2, {
|
|
234
|
+
readonly allowForLoopAfterthoughts: true;
|
|
235
|
+
}];
|
|
239
236
|
readonly "no-proto": 2;
|
|
240
237
|
readonly "no-script-url": 2;
|
|
241
238
|
readonly "no-sequences": 2;
|
|
@@ -243,89 +240,60 @@ export declare const defaults: {
|
|
|
243
240
|
readonly "no-throw-literal": 2;
|
|
244
241
|
readonly "no-undef-init": 2;
|
|
245
242
|
readonly "no-unneeded-ternary": 2;
|
|
246
|
-
readonly "no-unused-expressions": readonly [
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
readonly allowTernary: true;
|
|
251
|
-
}
|
|
252
|
-
];
|
|
243
|
+
readonly "no-unused-expressions": readonly [2, {
|
|
244
|
+
readonly allowShortCircuit: true;
|
|
245
|
+
readonly allowTernary: true;
|
|
246
|
+
}];
|
|
253
247
|
readonly "no-unused-labels": 2;
|
|
254
248
|
readonly "no-useless-call": 2;
|
|
255
249
|
readonly "no-useless-catch": 2;
|
|
256
250
|
readonly "no-useless-computed-key": 2;
|
|
257
251
|
readonly "no-useless-concat": 2;
|
|
258
252
|
readonly "no-useless-constructor": 2;
|
|
259
|
-
readonly "no-useless-escape": readonly [
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
readonly allowRegexCharacters: readonly [
|
|
263
|
-
"-"
|
|
264
|
-
];
|
|
265
|
-
}
|
|
266
|
-
];
|
|
253
|
+
readonly "no-useless-escape": readonly [2, {
|
|
254
|
+
readonly allowRegexCharacters: readonly ["-"];
|
|
255
|
+
}];
|
|
267
256
|
readonly "no-useless-rename": 2;
|
|
268
257
|
readonly "no-useless-return": 2;
|
|
269
258
|
readonly "no-var": 2;
|
|
270
|
-
readonly "no-void": readonly [
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
readonly allowAsStatement: true;
|
|
274
|
-
}
|
|
275
|
-
];
|
|
259
|
+
readonly "no-void": readonly [2, {
|
|
260
|
+
readonly allowAsStatement: true;
|
|
261
|
+
}];
|
|
276
262
|
readonly "no-with": 2;
|
|
277
263
|
readonly "object-shorthand": 2;
|
|
278
|
-
readonly "one-var": readonly [
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
readonly separateRequires: true;
|
|
287
|
-
}
|
|
288
|
-
];
|
|
264
|
+
readonly "one-var": readonly [2, {
|
|
265
|
+
readonly var: "consecutive";
|
|
266
|
+
readonly let: "consecutive";
|
|
267
|
+
readonly const: "consecutive";
|
|
268
|
+
readonly using: "consecutive";
|
|
269
|
+
readonly awaitUsing: "consecutive";
|
|
270
|
+
readonly separateRequires: true;
|
|
271
|
+
}];
|
|
289
272
|
readonly "operator-assignment": 2;
|
|
290
273
|
readonly "prefer-arrow-callback": 2;
|
|
291
|
-
readonly "prefer-const": readonly [
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
readonly AssignmentExpression: {
|
|
301
|
-
readonly array: false;
|
|
302
|
-
readonly object: false;
|
|
303
|
-
};
|
|
304
|
-
}
|
|
305
|
-
];
|
|
274
|
+
readonly "prefer-const": readonly [2, {
|
|
275
|
+
readonly destructuring: "all";
|
|
276
|
+
}];
|
|
277
|
+
readonly "prefer-destructuring": readonly [2, {
|
|
278
|
+
readonly AssignmentExpression: {
|
|
279
|
+
readonly array: false;
|
|
280
|
+
readonly object: false;
|
|
281
|
+
};
|
|
282
|
+
}];
|
|
306
283
|
readonly "prefer-exponentiation-operator": 2;
|
|
307
284
|
readonly "prefer-numeric-literals": 2;
|
|
308
285
|
readonly "prefer-object-has-own": 2;
|
|
309
286
|
readonly "prefer-object-spread": 2;
|
|
310
287
|
readonly "prefer-promise-reject-errors": 2;
|
|
311
|
-
readonly "prefer-regex-literals": readonly [
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
readonly disallowRedundantWrapping: true;
|
|
315
|
-
}
|
|
316
|
-
];
|
|
288
|
+
readonly "prefer-regex-literals": readonly [2, {
|
|
289
|
+
readonly disallowRedundantWrapping: true;
|
|
290
|
+
}];
|
|
317
291
|
readonly "prefer-rest-params": 2;
|
|
318
292
|
readonly "prefer-spread": 2;
|
|
319
|
-
readonly "preserve-caught-error": readonly [
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
}
|
|
324
|
-
];
|
|
325
|
-
readonly radix: readonly [
|
|
326
|
-
2,
|
|
327
|
-
"as-needed"
|
|
328
|
-
];
|
|
293
|
+
readonly "preserve-caught-error": readonly [2, {
|
|
294
|
+
readonly requireCatchParameter: true;
|
|
295
|
+
}];
|
|
296
|
+
readonly radix: readonly [2, "as-needed"];
|
|
329
297
|
readonly "require-await": 2;
|
|
330
298
|
readonly "require-unicode-regexp": 2;
|
|
331
299
|
readonly "require-yield": 2;
|
|
@@ -337,442 +305,201 @@ export declare const defaults: {
|
|
|
337
305
|
rules: {
|
|
338
306
|
readonly "@stylistic/array-bracket-newline": 2;
|
|
339
307
|
readonly "@stylistic/array-bracket-spacing": 2;
|
|
340
|
-
readonly "@stylistic/array-element-newline": readonly [
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
}
|
|
347
|
-
];
|
|
348
|
-
readonly "@stylistic/arrow-parens": readonly [
|
|
349
|
-
2,
|
|
350
|
-
"as-needed"
|
|
351
|
-
];
|
|
308
|
+
readonly "@stylistic/array-element-newline": readonly [2, {
|
|
309
|
+
readonly consistent: true;
|
|
310
|
+
readonly multiline: true;
|
|
311
|
+
readonly minItems: 3;
|
|
312
|
+
}];
|
|
313
|
+
readonly "@stylistic/arrow-parens": readonly [2, "as-needed"];
|
|
352
314
|
readonly "@stylistic/arrow-spacing": 2;
|
|
353
315
|
readonly "@stylistic/block-spacing": 2;
|
|
354
|
-
readonly "@stylistic/brace-style": readonly [
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
readonly allowSingleLine: true;
|
|
359
|
-
}
|
|
360
|
-
];
|
|
361
|
-
readonly "@stylistic/comma-dangle": readonly [
|
|
362
|
-
2,
|
|
363
|
-
"always-multiline"
|
|
364
|
-
];
|
|
316
|
+
readonly "@stylistic/brace-style": readonly [2, "stroustrup", {
|
|
317
|
+
readonly allowSingleLine: true;
|
|
318
|
+
}];
|
|
319
|
+
readonly "@stylistic/comma-dangle": readonly [2, "always-multiline"];
|
|
365
320
|
readonly "@stylistic/comma-spacing": 2;
|
|
366
321
|
readonly "@stylistic/comma-style": 2;
|
|
367
322
|
readonly "@stylistic/computed-property-spacing": 2;
|
|
368
323
|
readonly "@stylistic/curly-newline": 2;
|
|
369
|
-
readonly "@stylistic/dot-location": readonly [
|
|
370
|
-
2,
|
|
371
|
-
"property"
|
|
372
|
-
];
|
|
324
|
+
readonly "@stylistic/dot-location": readonly [2, "property"];
|
|
373
325
|
readonly "@stylistic/eol-last": 2;
|
|
374
|
-
readonly "@stylistic/function-call-argument-newline": readonly [
|
|
375
|
-
2,
|
|
376
|
-
"consistent"
|
|
377
|
-
];
|
|
326
|
+
readonly "@stylistic/function-call-argument-newline": readonly [2, "consistent"];
|
|
378
327
|
readonly "@stylistic/function-call-spacing": 2;
|
|
379
|
-
readonly "@stylistic/function-paren-newline": readonly [
|
|
380
|
-
2,
|
|
381
|
-
"multiline-arguments"
|
|
382
|
-
];
|
|
328
|
+
readonly "@stylistic/function-paren-newline": readonly [2, "multiline-arguments"];
|
|
383
329
|
readonly "@stylistic/generator-star-spacing": 2;
|
|
384
330
|
readonly "@stylistic/implicit-arrow-linebreak": 2;
|
|
385
|
-
readonly "@stylistic/indent": readonly [
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
readonly
|
|
390
|
-
readonly
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
readonly offsetTernaryExpressions: true;
|
|
397
|
-
}
|
|
398
|
-
];
|
|
399
|
-
readonly "@stylistic/indent-binary-ops": readonly [
|
|
400
|
-
2,
|
|
401
|
-
2
|
|
402
|
-
];
|
|
331
|
+
readonly "@stylistic/indent": readonly [2, 2, {
|
|
332
|
+
readonly assignmentOperator: 0;
|
|
333
|
+
readonly VariableDeclarator: {
|
|
334
|
+
readonly var: 0;
|
|
335
|
+
readonly let: 0;
|
|
336
|
+
readonly const: 0;
|
|
337
|
+
};
|
|
338
|
+
readonly outerIIFEBody: 0;
|
|
339
|
+
readonly offsetTernaryExpressions: true;
|
|
340
|
+
}];
|
|
341
|
+
readonly "@stylistic/indent-binary-ops": readonly [2, 2];
|
|
403
342
|
readonly "@stylistic/key-spacing": 2;
|
|
404
343
|
readonly "@stylistic/keyword-spacing": 2;
|
|
405
|
-
readonly "@stylistic/lines-between-class-members": readonly [
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
readonly
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
{
|
|
430
|
-
readonly code: 300;
|
|
431
|
-
readonly ignoreComments: true;
|
|
432
|
-
readonly ignoreTrailingComments: true;
|
|
433
|
-
readonly ignoreUrls: true;
|
|
434
|
-
readonly ignoreStrings: true;
|
|
435
|
-
readonly ignoreTemplateLiterals: true;
|
|
436
|
-
readonly ignoreRegExpLiterals: true;
|
|
437
|
-
}
|
|
438
|
-
];
|
|
344
|
+
readonly "@stylistic/lines-between-class-members": readonly [2, {
|
|
345
|
+
readonly enforce: readonly [{
|
|
346
|
+
readonly prev: "field";
|
|
347
|
+
readonly next: "field";
|
|
348
|
+
readonly blankLine: "never";
|
|
349
|
+
}, {
|
|
350
|
+
readonly prev: "field";
|
|
351
|
+
readonly next: "method";
|
|
352
|
+
readonly blankLine: "always";
|
|
353
|
+
}, {
|
|
354
|
+
readonly prev: "method";
|
|
355
|
+
readonly next: "*";
|
|
356
|
+
readonly blankLine: "always";
|
|
357
|
+
}];
|
|
358
|
+
}];
|
|
359
|
+
readonly "@stylistic/max-len": readonly [2, {
|
|
360
|
+
readonly code: 300;
|
|
361
|
+
readonly ignoreComments: true;
|
|
362
|
+
readonly ignoreTrailingComments: true;
|
|
363
|
+
readonly ignoreUrls: true;
|
|
364
|
+
readonly ignoreStrings: true;
|
|
365
|
+
readonly ignoreTemplateLiterals: true;
|
|
366
|
+
readonly ignoreRegExpLiterals: true;
|
|
367
|
+
}];
|
|
439
368
|
readonly "@stylistic/max-statements-per-line": 2;
|
|
440
369
|
readonly "@stylistic/member-delimiter-style": 2;
|
|
441
|
-
readonly "@stylistic/multiline-ternary": readonly [
|
|
442
|
-
2,
|
|
443
|
-
"always-multiline"
|
|
444
|
-
];
|
|
370
|
+
readonly "@stylistic/multiline-ternary": readonly [2, "always-multiline"];
|
|
445
371
|
readonly "@stylistic/newline-per-chained-call": 2;
|
|
446
372
|
readonly "@stylistic/no-extra-parens": 2;
|
|
447
373
|
readonly "@stylistic/no-extra-semi": 2;
|
|
448
374
|
readonly "@stylistic/no-floating-decimal": 2;
|
|
449
375
|
readonly "@stylistic/no-mixed-spaces-and-tabs": 2;
|
|
450
|
-
readonly "@stylistic/no-multi-spaces": readonly [
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
readonly
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
{
|
|
462
|
-
readonly max: 1;
|
|
463
|
-
readonly maxBOF: 0;
|
|
464
|
-
readonly maxEOF: 0;
|
|
465
|
-
}
|
|
466
|
-
];
|
|
376
|
+
readonly "@stylistic/no-multi-spaces": readonly [2, {
|
|
377
|
+
readonly exceptions: {
|
|
378
|
+
readonly Property: false;
|
|
379
|
+
readonly ImportAttributes: false;
|
|
380
|
+
};
|
|
381
|
+
}];
|
|
382
|
+
readonly "@stylistic/no-multiple-empty-lines": readonly [2, {
|
|
383
|
+
readonly max: 1;
|
|
384
|
+
readonly maxBOF: 0;
|
|
385
|
+
readonly maxEOF: 0;
|
|
386
|
+
}];
|
|
467
387
|
readonly "@stylistic/no-tabs": 2;
|
|
468
388
|
readonly "@stylistic/no-trailing-spaces": 2;
|
|
469
389
|
readonly "@stylistic/no-whitespace-before-property": 2;
|
|
470
|
-
readonly "@stylistic/nonblock-statement-body-position": readonly [
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
readonly consistent: true;
|
|
478
|
-
readonly multiline: true;
|
|
479
|
-
readonly minProperties: 3;
|
|
480
|
-
}
|
|
481
|
-
];
|
|
482
|
-
readonly "@stylistic/object-curly-spacing": readonly [
|
|
483
|
-
2,
|
|
484
|
-
"always"
|
|
485
|
-
];
|
|
390
|
+
readonly "@stylistic/nonblock-statement-body-position": readonly [2, "below"];
|
|
391
|
+
readonly "@stylistic/object-curly-newline": readonly [2, {
|
|
392
|
+
readonly consistent: true;
|
|
393
|
+
readonly multiline: true;
|
|
394
|
+
readonly minProperties: 3;
|
|
395
|
+
}];
|
|
396
|
+
readonly "@stylistic/object-curly-spacing": readonly [2, "always"];
|
|
486
397
|
readonly "@stylistic/object-property-newline": 2;
|
|
487
|
-
readonly "@stylistic/one-var-declaration-per-line": readonly [
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
"
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
"
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
"empty",
|
|
553
|
-
"for",
|
|
554
|
-
"function-overload",
|
|
555
|
-
"function",
|
|
556
|
-
"if",
|
|
557
|
-
"interface",
|
|
558
|
-
"switch",
|
|
559
|
-
"try",
|
|
560
|
-
"using",
|
|
561
|
-
"while",
|
|
562
|
-
"with"
|
|
563
|
-
];
|
|
564
|
-
readonly next: "*";
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
readonly blankLine: "always";
|
|
568
|
-
readonly prev: "*";
|
|
569
|
-
readonly next: readonly [
|
|
570
|
-
"block-like",
|
|
571
|
-
"block",
|
|
572
|
-
"class",
|
|
573
|
-
"debugger",
|
|
574
|
-
"directive",
|
|
575
|
-
"do",
|
|
576
|
-
"empty",
|
|
577
|
-
"for",
|
|
578
|
-
"function-overload",
|
|
579
|
-
"function",
|
|
580
|
-
"if",
|
|
581
|
-
"interface",
|
|
582
|
-
"switch",
|
|
583
|
-
"try",
|
|
584
|
-
"using",
|
|
585
|
-
"while",
|
|
586
|
-
"with"
|
|
587
|
-
];
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
readonly blankLine: "never";
|
|
591
|
-
readonly prev: "interface";
|
|
592
|
-
readonly next: readonly [
|
|
593
|
-
"class",
|
|
594
|
-
"function-overload",
|
|
595
|
-
"function"
|
|
596
|
-
];
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
readonly blankLine: "never";
|
|
600
|
-
readonly prev: "function-overload";
|
|
601
|
-
readonly next: readonly [
|
|
602
|
-
"function-overload",
|
|
603
|
-
"function"
|
|
604
|
-
];
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
readonly blankLine: "always";
|
|
608
|
-
readonly prev: readonly [
|
|
609
|
-
"const",
|
|
610
|
-
"enum",
|
|
611
|
-
"let",
|
|
612
|
-
"type",
|
|
613
|
-
"var"
|
|
614
|
-
];
|
|
615
|
-
readonly next: readonly [
|
|
616
|
-
"expression",
|
|
617
|
-
"iife"
|
|
618
|
-
];
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
readonly blankLine: "always";
|
|
622
|
-
readonly prev: readonly [
|
|
623
|
-
"cjs-import",
|
|
624
|
-
"import"
|
|
625
|
-
];
|
|
626
|
-
readonly next: "*";
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
readonly blankLine: "never";
|
|
630
|
-
readonly prev: readonly [
|
|
631
|
-
"cjs-import",
|
|
632
|
-
"import"
|
|
633
|
-
];
|
|
634
|
-
readonly next: readonly [
|
|
635
|
-
"cjs-import",
|
|
636
|
-
"import"
|
|
637
|
-
];
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
readonly blankLine: "always";
|
|
641
|
-
readonly prev: readonly [
|
|
642
|
-
"cjs-export",
|
|
643
|
-
"export"
|
|
644
|
-
];
|
|
645
|
-
readonly next: "*";
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
readonly blankLine: "always";
|
|
649
|
-
readonly prev: "*";
|
|
650
|
-
readonly next: readonly [
|
|
651
|
-
"cjs-export",
|
|
652
|
-
"export"
|
|
653
|
-
];
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
readonly blankLine: "never";
|
|
657
|
-
readonly prev: readonly [
|
|
658
|
-
"cjs-export",
|
|
659
|
-
"export"
|
|
660
|
-
];
|
|
661
|
-
readonly next: readonly [
|
|
662
|
-
"cjs-export",
|
|
663
|
-
"export"
|
|
664
|
-
];
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
readonly blankLine: "always";
|
|
668
|
-
readonly prev: readonly [
|
|
669
|
-
"break",
|
|
670
|
-
"continue",
|
|
671
|
-
"return",
|
|
672
|
-
"throw"
|
|
673
|
-
];
|
|
674
|
-
readonly next: "*";
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
readonly blankLine: "always";
|
|
678
|
-
readonly prev: "*";
|
|
679
|
-
readonly next: readonly [
|
|
680
|
-
"break",
|
|
681
|
-
"continue",
|
|
682
|
-
"return",
|
|
683
|
-
"throw"
|
|
684
|
-
];
|
|
685
|
-
}
|
|
686
|
-
];
|
|
687
|
-
readonly "@stylistic/quote-props": readonly [
|
|
688
|
-
2,
|
|
689
|
-
"as-needed",
|
|
690
|
-
{
|
|
691
|
-
readonly keywords: true;
|
|
692
|
-
}
|
|
693
|
-
];
|
|
694
|
-
readonly "@stylistic/quotes": readonly [
|
|
695
|
-
2,
|
|
696
|
-
"double",
|
|
697
|
-
{
|
|
698
|
-
readonly avoidEscape: true;
|
|
699
|
-
readonly allowTemplateLiterals: "always";
|
|
700
|
-
}
|
|
701
|
-
];
|
|
398
|
+
readonly "@stylistic/one-var-declaration-per-line": readonly [2, "always"];
|
|
399
|
+
readonly "@stylistic/operator-linebreak": readonly [2, "before"];
|
|
400
|
+
readonly "@stylistic/padded-blocks": readonly [2, "never", {
|
|
401
|
+
readonly allowSingleLineBlocks: true;
|
|
402
|
+
}];
|
|
403
|
+
readonly "@stylistic/padding-line-between-statements": readonly [1, {
|
|
404
|
+
readonly blankLine: "never";
|
|
405
|
+
readonly prev: readonly ["block-like", "block", "break", "case", "cjs-export", "cjs-import", "class", "const", "continue", "debugger", "default", "directive", "do", "empty", "enum", "export", "for", "function-overload", "function", "if", "iife", "import", "interface", "let", "return", "switch", "throw", "try", "type", "using", "var", "while", "with"];
|
|
406
|
+
readonly next: "*";
|
|
407
|
+
}, {
|
|
408
|
+
readonly blankLine: "always";
|
|
409
|
+
readonly prev: readonly ["block-like", "block", "class", "debugger", "directive", "do", "empty", "for", "function-overload", "function", "if", "interface", "switch", "try", "using", "while", "with"];
|
|
410
|
+
readonly next: "*";
|
|
411
|
+
}, {
|
|
412
|
+
readonly blankLine: "always";
|
|
413
|
+
readonly prev: "*";
|
|
414
|
+
readonly next: readonly ["block-like", "block", "class", "debugger", "directive", "do", "empty", "for", "function-overload", "function", "if", "interface", "switch", "try", "using", "while", "with"];
|
|
415
|
+
}, {
|
|
416
|
+
readonly blankLine: "never";
|
|
417
|
+
readonly prev: "interface";
|
|
418
|
+
readonly next: readonly ["class", "function-overload", "function"];
|
|
419
|
+
}, {
|
|
420
|
+
readonly blankLine: "never";
|
|
421
|
+
readonly prev: "function-overload";
|
|
422
|
+
readonly next: readonly ["function-overload", "function"];
|
|
423
|
+
}, {
|
|
424
|
+
readonly blankLine: "always";
|
|
425
|
+
readonly prev: readonly ["const", "enum", "let", "type", "var"];
|
|
426
|
+
readonly next: readonly ["expression", "iife"];
|
|
427
|
+
}, {
|
|
428
|
+
readonly blankLine: "always";
|
|
429
|
+
readonly prev: readonly ["cjs-import", "import"];
|
|
430
|
+
readonly next: "*";
|
|
431
|
+
}, {
|
|
432
|
+
readonly blankLine: "never";
|
|
433
|
+
readonly prev: readonly ["cjs-import", "import"];
|
|
434
|
+
readonly next: readonly ["cjs-import", "import"];
|
|
435
|
+
}, {
|
|
436
|
+
readonly blankLine: "always";
|
|
437
|
+
readonly prev: readonly ["cjs-export", "export"];
|
|
438
|
+
readonly next: "*";
|
|
439
|
+
}, {
|
|
440
|
+
readonly blankLine: "always";
|
|
441
|
+
readonly prev: "*";
|
|
442
|
+
readonly next: readonly ["cjs-export", "export"];
|
|
443
|
+
}, {
|
|
444
|
+
readonly blankLine: "never";
|
|
445
|
+
readonly prev: readonly ["cjs-export", "export"];
|
|
446
|
+
readonly next: readonly ["cjs-export", "export"];
|
|
447
|
+
}, {
|
|
448
|
+
readonly blankLine: "always";
|
|
449
|
+
readonly prev: readonly ["break", "continue", "return", "throw"];
|
|
450
|
+
readonly next: "*";
|
|
451
|
+
}, {
|
|
452
|
+
readonly blankLine: "always";
|
|
453
|
+
readonly prev: "*";
|
|
454
|
+
readonly next: readonly ["break", "continue", "return", "throw"];
|
|
455
|
+
}];
|
|
456
|
+
readonly "@stylistic/quote-props": readonly [2, "as-needed", {
|
|
457
|
+
readonly keywords: true;
|
|
458
|
+
}];
|
|
459
|
+
readonly "@stylistic/quotes": readonly [2, "double", {
|
|
460
|
+
readonly avoidEscape: true;
|
|
461
|
+
readonly allowTemplateLiterals: "always";
|
|
462
|
+
}];
|
|
702
463
|
readonly "@stylistic/rest-spread-spacing": 2;
|
|
703
464
|
readonly "@stylistic/semi": 2;
|
|
704
465
|
readonly "@stylistic/semi-spacing": 2;
|
|
705
466
|
readonly "@stylistic/semi-style": 2;
|
|
706
467
|
readonly "@stylistic/space-before-blocks": 2;
|
|
707
|
-
readonly "@stylistic/space-before-function-paren": readonly [
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
readonly named: "never";
|
|
711
|
-
}
|
|
712
|
-
];
|
|
468
|
+
readonly "@stylistic/space-before-function-paren": readonly [2, {
|
|
469
|
+
readonly named: "never";
|
|
470
|
+
}];
|
|
713
471
|
readonly "@stylistic/space-in-parens": 2;
|
|
714
472
|
readonly "@stylistic/space-infix-ops": 2;
|
|
715
473
|
readonly "@stylistic/space-unary-ops": 2;
|
|
716
|
-
readonly "@stylistic/spaced-comment": readonly [
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
readonly markers: readonly [
|
|
728
|
-
"!",
|
|
729
|
-
"@",
|
|
730
|
-
"#",
|
|
731
|
-
"/",
|
|
732
|
-
"#region",
|
|
733
|
-
"#endregion",
|
|
734
|
-
"#part",
|
|
735
|
-
"/#region",
|
|
736
|
-
"/#endregion",
|
|
737
|
-
"/#part"
|
|
738
|
-
];
|
|
739
|
-
};
|
|
740
|
-
readonly block: {
|
|
741
|
-
readonly exceptions: readonly [
|
|
742
|
-
"*"
|
|
743
|
-
];
|
|
744
|
-
readonly markers: readonly [
|
|
745
|
-
"*"
|
|
746
|
-
];
|
|
747
|
-
readonly balanced: true;
|
|
748
|
-
};
|
|
749
|
-
}
|
|
750
|
-
];
|
|
474
|
+
readonly "@stylistic/spaced-comment": readonly [2, "always", {
|
|
475
|
+
readonly line: {
|
|
476
|
+
readonly exceptions: readonly ["/", "-", "+", "="];
|
|
477
|
+
readonly markers: readonly ["!", "@", "#", "/", "#region", "#endregion", "#part", "/#region", "/#endregion", "/#part"];
|
|
478
|
+
};
|
|
479
|
+
readonly block: {
|
|
480
|
+
readonly exceptions: readonly ["*"];
|
|
481
|
+
readonly markers: readonly ["*"];
|
|
482
|
+
readonly balanced: true;
|
|
483
|
+
};
|
|
484
|
+
}];
|
|
751
485
|
readonly "@stylistic/switch-colon-spacing": 2;
|
|
752
486
|
readonly "@stylistic/template-curly-spacing": 2;
|
|
753
487
|
readonly "@stylistic/template-tag-spacing": 2;
|
|
754
|
-
readonly "@stylistic/type-annotation-spacing": readonly [
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
readonly
|
|
759
|
-
|
|
760
|
-
readonly
|
|
761
|
-
readonly before: false;
|
|
762
|
-
readonly after: true;
|
|
763
|
-
};
|
|
488
|
+
readonly "@stylistic/type-annotation-spacing": readonly [2, {
|
|
489
|
+
readonly before: true;
|
|
490
|
+
readonly after: true;
|
|
491
|
+
readonly overrides: {
|
|
492
|
+
readonly colon: {
|
|
493
|
+
readonly before: false;
|
|
494
|
+
readonly after: true;
|
|
764
495
|
};
|
|
765
|
-
}
|
|
766
|
-
];
|
|
496
|
+
};
|
|
497
|
+
}];
|
|
767
498
|
readonly "@stylistic/type-generic-spacing": 2;
|
|
768
499
|
readonly "@stylistic/type-named-tuple-spacing": 2;
|
|
769
|
-
readonly "@stylistic/wrap-iife": readonly [
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
{
|
|
773
|
-
readonly functionPrototypeMethods: true;
|
|
774
|
-
}
|
|
775
|
-
];
|
|
500
|
+
readonly "@stylistic/wrap-iife": readonly [2, "inside", {
|
|
501
|
+
readonly functionPrototypeMethods: true;
|
|
502
|
+
}];
|
|
776
503
|
readonly "@stylistic/wrap-regex": 2;
|
|
777
504
|
readonly "@stylistic/yield-star-spacing": 2;
|
|
778
505
|
};
|
|
@@ -821,76 +548,47 @@ export declare const defaults: {
|
|
|
821
548
|
readonly "@typescript-eslint/class-literal-property-style": 2;
|
|
822
549
|
readonly "@typescript-eslint/consistent-generic-constructors": 2;
|
|
823
550
|
readonly "@typescript-eslint/consistent-indexed-object-style": 2;
|
|
824
|
-
readonly "@typescript-eslint/consistent-type-assertions": readonly [
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
readonly objectLiteralTypeAssertions: "never";
|
|
829
|
-
}
|
|
830
|
-
];
|
|
551
|
+
readonly "@typescript-eslint/consistent-type-assertions": readonly [2, {
|
|
552
|
+
readonly arrayLiteralTypeAssertions: "never";
|
|
553
|
+
readonly objectLiteralTypeAssertions: "never";
|
|
554
|
+
}];
|
|
831
555
|
readonly "@typescript-eslint/consistent-type-exports": 2;
|
|
832
556
|
readonly "@typescript-eslint/consistent-type-imports": 2;
|
|
833
|
-
readonly "@typescript-eslint/explicit-member-accessibility": readonly [
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
{
|
|
844
|
-
readonly default: {
|
|
845
|
-
readonly optionalityOrder: "required-first";
|
|
846
|
-
};
|
|
847
|
-
}
|
|
848
|
-
];
|
|
557
|
+
readonly "@typescript-eslint/explicit-member-accessibility": readonly [2, {
|
|
558
|
+
readonly overrides: {
|
|
559
|
+
readonly constructors: "no-public";
|
|
560
|
+
};
|
|
561
|
+
}];
|
|
562
|
+
readonly "@typescript-eslint/member-ordering": readonly [2, {
|
|
563
|
+
readonly default: {
|
|
564
|
+
readonly optionalityOrder: "required-first";
|
|
565
|
+
};
|
|
566
|
+
}];
|
|
849
567
|
readonly "@typescript-eslint/method-signature-style": 2;
|
|
850
568
|
readonly "@typescript-eslint/no-array-delete": 2;
|
|
851
569
|
readonly "@typescript-eslint/no-base-to-string": 2;
|
|
852
570
|
readonly "@typescript-eslint/no-confusing-non-null-assertion": 2;
|
|
853
|
-
readonly "@typescript-eslint/no-confusing-void-expression":
|
|
854
|
-
2,
|
|
855
|
-
{
|
|
856
|
-
readonly ignoreArrowShorthand: true;
|
|
857
|
-
readonly ignoreVoidOperator: true;
|
|
858
|
-
readonly ignoreVoidReturningFunctions: true;
|
|
859
|
-
}
|
|
860
|
-
];
|
|
571
|
+
readonly "@typescript-eslint/no-confusing-void-expression": 2;
|
|
861
572
|
readonly "@typescript-eslint/no-duplicate-enum-values": 2;
|
|
862
573
|
readonly "@typescript-eslint/no-duplicate-type-constituents": 2;
|
|
863
574
|
readonly "@typescript-eslint/no-dynamic-delete": 2;
|
|
864
575
|
readonly "@typescript-eslint/no-empty-object-type": 2;
|
|
865
|
-
readonly "@typescript-eslint/no-explicit-any": readonly [
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
readonly fixToUnknown: true;
|
|
869
|
-
}
|
|
870
|
-
];
|
|
576
|
+
readonly "@typescript-eslint/no-explicit-any": readonly [2, {
|
|
577
|
+
readonly fixToUnknown: true;
|
|
578
|
+
}];
|
|
871
579
|
readonly "@typescript-eslint/no-extra-non-null-assertion": 2;
|
|
872
|
-
readonly "@typescript-eslint/no-extraneous-class": readonly [
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
];
|
|
878
|
-
readonly "@typescript-eslint/no-floating-promises": readonly [
|
|
879
|
-
2,
|
|
880
|
-
{
|
|
881
|
-
readonly checkThenables: true;
|
|
882
|
-
}
|
|
883
|
-
];
|
|
580
|
+
readonly "@typescript-eslint/no-extraneous-class": readonly [2, {
|
|
581
|
+
readonly allowEmpty: true;
|
|
582
|
+
}];
|
|
583
|
+
readonly "@typescript-eslint/no-floating-promises": readonly [2, {
|
|
584
|
+
readonly checkThenables: true;
|
|
585
|
+
}];
|
|
884
586
|
readonly "@typescript-eslint/no-for-in-array": 2;
|
|
885
587
|
readonly "@typescript-eslint/no-import-type-side-effects": 2;
|
|
886
588
|
readonly "@typescript-eslint/no-inferrable-types": 2;
|
|
887
|
-
readonly "@typescript-eslint/no-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
{
|
|
891
|
-
readonly checkNever: true;
|
|
892
|
-
}
|
|
893
|
-
];
|
|
589
|
+
readonly "@typescript-eslint/no-meaningless-void-operator": readonly [2, {
|
|
590
|
+
readonly checkNever: true;
|
|
591
|
+
}];
|
|
894
592
|
readonly "@typescript-eslint/no-misused-new": 2;
|
|
895
593
|
readonly "@typescript-eslint/no-misused-promises": 2;
|
|
896
594
|
readonly "@typescript-eslint/no-misused-spread": 2;
|
|
@@ -916,22 +614,16 @@ export declare const defaults: {
|
|
|
916
614
|
readonly "@typescript-eslint/no-unsafe-declaration-merging": 2;
|
|
917
615
|
readonly "@typescript-eslint/no-unsafe-enum-comparison": 2;
|
|
918
616
|
readonly "@typescript-eslint/no-unsafe-function-type": 2;
|
|
919
|
-
readonly "@typescript-eslint/no-unsafe-member-access": readonly [
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
readonly allowOptionalChaining: true;
|
|
923
|
-
}
|
|
924
|
-
];
|
|
617
|
+
readonly "@typescript-eslint/no-unsafe-member-access": readonly [2, {
|
|
618
|
+
readonly allowOptionalChaining: true;
|
|
619
|
+
}];
|
|
925
620
|
readonly "@typescript-eslint/no-unsafe-return": 2;
|
|
926
621
|
readonly "@typescript-eslint/no-unsafe-unary-minus": 2;
|
|
927
622
|
readonly "@typescript-eslint/no-useless-empty-export": 2;
|
|
928
623
|
readonly "@typescript-eslint/no-wrapper-object-types": 2;
|
|
929
|
-
readonly "@typescript-eslint/parameter-properties": readonly [
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
readonly prefer: "parameter-property";
|
|
933
|
-
}
|
|
934
|
-
];
|
|
624
|
+
readonly "@typescript-eslint/parameter-properties": readonly [2, {
|
|
625
|
+
readonly prefer: "parameter-property";
|
|
626
|
+
}];
|
|
935
627
|
readonly "@typescript-eslint/prefer-as-const": 2;
|
|
936
628
|
readonly "@typescript-eslint/prefer-find": 2;
|
|
937
629
|
readonly "@typescript-eslint/prefer-for-of": 2;
|
|
@@ -949,32 +641,23 @@ export declare const defaults: {
|
|
|
949
641
|
readonly "@typescript-eslint/promise-function-async": 2;
|
|
950
642
|
readonly "@typescript-eslint/related-getter-setter-pairs": 2;
|
|
951
643
|
readonly "@typescript-eslint/require-array-sort-compare": 2;
|
|
952
|
-
readonly "@typescript-eslint/restrict-plus-operands": readonly [
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
{
|
|
965
|
-
readonly allowNullish: false;
|
|
966
|
-
readonly allowNever: false;
|
|
967
|
-
readonly allowRegExp: false;
|
|
968
|
-
}
|
|
969
|
-
];
|
|
644
|
+
readonly "@typescript-eslint/restrict-plus-operands": readonly [2, {
|
|
645
|
+
readonly allowAny: false;
|
|
646
|
+
readonly allowBoolean: false;
|
|
647
|
+
readonly allowNullish: false;
|
|
648
|
+
readonly allowNumberAndString: false;
|
|
649
|
+
readonly allowRegExp: false;
|
|
650
|
+
}];
|
|
651
|
+
readonly "@typescript-eslint/restrict-template-expressions": readonly [2, {
|
|
652
|
+
readonly allowNullish: false;
|
|
653
|
+
readonly allowNever: false;
|
|
654
|
+
readonly allowRegExp: false;
|
|
655
|
+
}];
|
|
970
656
|
readonly "@typescript-eslint/return-await": 2;
|
|
971
|
-
readonly "@typescript-eslint/strict-boolean-expressions": readonly [
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
readonly allowString: false;
|
|
976
|
-
}
|
|
977
|
-
];
|
|
657
|
+
readonly "@typescript-eslint/strict-boolean-expressions": readonly [2, {
|
|
658
|
+
readonly allowNullableObject: false;
|
|
659
|
+
readonly allowString: false;
|
|
660
|
+
}];
|
|
978
661
|
readonly "@typescript-eslint/switch-exhaustiveness-check": 2;
|
|
979
662
|
readonly "@typescript-eslint/unbound-method": 2;
|
|
980
663
|
readonly "@typescript-eslint/unified-signatures": 2;
|
|
@@ -983,37 +666,25 @@ export declare const defaults: {
|
|
|
983
666
|
} | {
|
|
984
667
|
id: "enable/extension";
|
|
985
668
|
rules: {
|
|
986
|
-
readonly "@typescript-eslint/dot-notation": readonly [
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
readonly allowIndexSignaturePropertyAccess: true;
|
|
992
|
-
}
|
|
993
|
-
];
|
|
669
|
+
readonly "@typescript-eslint/dot-notation": readonly [2, {
|
|
670
|
+
readonly allowPrivateClassPropertyAccess: true;
|
|
671
|
+
readonly allowProtectedClassPropertyAccess: true;
|
|
672
|
+
readonly allowIndexSignaturePropertyAccess: true;
|
|
673
|
+
}];
|
|
994
674
|
readonly "@typescript-eslint/no-implied-eval": 2;
|
|
995
675
|
readonly "@typescript-eslint/no-unused-vars": 2;
|
|
996
|
-
readonly "@typescript-eslint/only-throw-error": readonly [
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
};
|
|
1009
|
-
}
|
|
1010
|
-
];
|
|
1011
|
-
readonly "@typescript-eslint/prefer-promise-reject-errors": readonly [
|
|
1012
|
-
2,
|
|
1013
|
-
{
|
|
1014
|
-
readonly allowThrowingUnknown: true;
|
|
1015
|
-
}
|
|
1016
|
-
];
|
|
676
|
+
readonly "@typescript-eslint/only-throw-error": readonly [2, {
|
|
677
|
+
readonly allowThrowingAny: false;
|
|
678
|
+
}];
|
|
679
|
+
readonly "@typescript-eslint/prefer-destructuring": readonly [2, {
|
|
680
|
+
readonly AssignmentExpression: {
|
|
681
|
+
readonly array: false;
|
|
682
|
+
readonly object: false;
|
|
683
|
+
};
|
|
684
|
+
}];
|
|
685
|
+
readonly "@typescript-eslint/prefer-promise-reject-errors": readonly [2, {
|
|
686
|
+
readonly allowThrowingUnknown: true;
|
|
687
|
+
}];
|
|
1017
688
|
readonly "@typescript-eslint/require-await": 2;
|
|
1018
689
|
};
|
|
1019
690
|
})[];
|
|
@@ -1046,13 +717,10 @@ export declare const defaults: {
|
|
|
1046
717
|
} | {
|
|
1047
718
|
id: string;
|
|
1048
719
|
rules: {
|
|
1049
|
-
readonly "chai-friendly/no-unused-expressions": readonly [
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
readonly allowTernary: true;
|
|
1054
|
-
}
|
|
1055
|
-
];
|
|
720
|
+
readonly "chai-friendly/no-unused-expressions": readonly [2, {
|
|
721
|
+
readonly allowShortCircuit: true;
|
|
722
|
+
readonly allowTernary: true;
|
|
723
|
+
}];
|
|
1056
724
|
};
|
|
1057
725
|
} | {
|
|
1058
726
|
id: string;
|
|
@@ -1104,17 +772,10 @@ export declare const defaults: {
|
|
|
1104
772
|
readonly "svelte/valid-style-parse": 2;
|
|
1105
773
|
readonly "svelte/no-at-html-tags": 2;
|
|
1106
774
|
readonly "svelte/no-target-blank": 2;
|
|
1107
|
-
readonly "svelte/block-lang": readonly [
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
"ts"
|
|
1112
|
-
];
|
|
1113
|
-
readonly style: readonly [
|
|
1114
|
-
"css"
|
|
1115
|
-
];
|
|
1116
|
-
}
|
|
1117
|
-
];
|
|
775
|
+
readonly "svelte/block-lang": readonly [2, {
|
|
776
|
+
readonly script: readonly ["ts"];
|
|
777
|
+
readonly style: readonly ["css"];
|
|
778
|
+
}];
|
|
1118
779
|
readonly "svelte/button-has-type": 2;
|
|
1119
780
|
readonly "svelte/no-add-event-listener": 2;
|
|
1120
781
|
readonly "svelte/no-at-debug-tags": 2;
|
|
@@ -1125,21 +786,15 @@ export declare const defaults: {
|
|
|
1125
786
|
readonly "svelte/no-reactive-literals": 2;
|
|
1126
787
|
readonly "svelte/no-svelte-internal": 2;
|
|
1127
788
|
readonly "svelte/no-unnecessary-state-wrap": 2;
|
|
1128
|
-
readonly "svelte/no-unused-props": readonly [
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
readonly checkImportedTypes: true;
|
|
1132
|
-
}
|
|
1133
|
-
];
|
|
789
|
+
readonly "svelte/no-unused-props": readonly [2, {
|
|
790
|
+
readonly checkImportedTypes: true;
|
|
791
|
+
}];
|
|
1134
792
|
readonly "svelte/no-unused-svelte-ignore": 2;
|
|
1135
793
|
readonly "svelte/no-useless-children-snippet": 2;
|
|
1136
794
|
readonly "svelte/no-useless-mustaches": 2;
|
|
1137
|
-
readonly "svelte/prefer-const": readonly [
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
readonly destructuring: "all";
|
|
1141
|
-
}
|
|
1142
|
-
];
|
|
795
|
+
readonly "svelte/prefer-const": readonly [2, {
|
|
796
|
+
readonly destructuring: "all";
|
|
797
|
+
}];
|
|
1143
798
|
readonly "svelte/prefer-destructured-store-props": 2;
|
|
1144
799
|
readonly "svelte/prefer-writable-derived": 2;
|
|
1145
800
|
readonly "svelte/require-each-key": 2;
|
|
@@ -1147,38 +802,26 @@ export declare const defaults: {
|
|
|
1147
802
|
readonly "svelte/require-optimized-style-attribute": 2;
|
|
1148
803
|
readonly "svelte/require-stores-init": 2;
|
|
1149
804
|
readonly "svelte/valid-each-key": 2;
|
|
1150
|
-
readonly "svelte/consistent-selector-style": readonly [
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
readonly checkGlobal: true;
|
|
1154
|
-
}
|
|
1155
|
-
];
|
|
805
|
+
readonly "svelte/consistent-selector-style": readonly [2, {
|
|
806
|
+
readonly checkGlobal: true;
|
|
807
|
+
}];
|
|
1156
808
|
readonly "svelte/derived-has-same-inputs-outputs": 2;
|
|
1157
|
-
readonly "svelte/first-attribute-linebreak": readonly [
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
readonly singleline: "below";
|
|
1161
|
-
}
|
|
1162
|
-
];
|
|
809
|
+
readonly "svelte/first-attribute-linebreak": readonly [2, {
|
|
810
|
+
readonly singleline: "below";
|
|
811
|
+
}];
|
|
1163
812
|
readonly "svelte/html-closing-bracket-new-line": 2;
|
|
1164
|
-
readonly "svelte/html-closing-bracket-spacing": readonly [
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
readonly selfClosingTag: "never";
|
|
1168
|
-
}
|
|
1169
|
-
];
|
|
813
|
+
readonly "svelte/html-closing-bracket-spacing": readonly [2, {
|
|
814
|
+
readonly selfClosingTag: "never";
|
|
815
|
+
}];
|
|
1170
816
|
readonly "svelte/html-self-closing": 2;
|
|
1171
817
|
readonly "svelte/indent": 2;
|
|
1172
818
|
readonly "svelte/max-attributes-per-line": 2;
|
|
1173
819
|
readonly "svelte/mustache-spacing": 2;
|
|
1174
820
|
readonly "svelte/no-extra-reactive-curlies": 2;
|
|
1175
821
|
readonly "svelte/no-spaces-around-equal-signs-in-attribute": 2;
|
|
1176
|
-
readonly "svelte/prefer-class-directive": readonly [
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
readonly prefer: "empty";
|
|
1180
|
-
}
|
|
1181
|
-
];
|
|
822
|
+
readonly "svelte/prefer-class-directive": readonly [2, {
|
|
823
|
+
readonly prefer: "empty";
|
|
824
|
+
}];
|
|
1182
825
|
readonly "svelte/prefer-style-directive": 2;
|
|
1183
826
|
readonly "svelte/require-event-prefix": 2;
|
|
1184
827
|
readonly "svelte/shorthand-attribute": 2;
|
|
@@ -1193,10 +836,7 @@ export declare const defaults: {
|
|
|
1193
836
|
} | {
|
|
1194
837
|
id: "enable/extension";
|
|
1195
838
|
rules: {
|
|
1196
|
-
readonly "svelte/no-inner-declarations": readonly [
|
|
1197
|
-
2,
|
|
1198
|
-
"both"
|
|
1199
|
-
];
|
|
839
|
+
readonly "svelte/no-inner-declarations": readonly [2, "both"];
|
|
1200
840
|
readonly "svelte/no-trailing-spaces": 2;
|
|
1201
841
|
};
|
|
1202
842
|
})[];
|
|
@@ -1235,43 +875,24 @@ export declare const defaults: {
|
|
|
1235
875
|
readonly "@html-eslint/require-img-alt": 2;
|
|
1236
876
|
readonly "@html-eslint/require-input-label": 2;
|
|
1237
877
|
readonly "@html-eslint/require-meta-viewport": 2;
|
|
1238
|
-
readonly "@html-eslint/attrs-newline": readonly [
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
{
|
|
1247
|
-
readonly skip: readonly [
|
|
1248
|
-
"head"
|
|
1249
|
-
];
|
|
1250
|
-
readonly inline: readonly [
|
|
1251
|
-
"$inline"
|
|
1252
|
-
];
|
|
1253
|
-
}
|
|
1254
|
-
];
|
|
1255
|
-
readonly "@html-eslint/indent": readonly [
|
|
1256
|
-
2,
|
|
1257
|
-
2
|
|
1258
|
-
];
|
|
878
|
+
readonly "@html-eslint/attrs-newline": readonly [2, {
|
|
879
|
+
readonly ifAttrsMoreThan: 0;
|
|
880
|
+
}];
|
|
881
|
+
readonly "@html-eslint/element-newline": readonly [2, {
|
|
882
|
+
readonly skip: readonly ["head"];
|
|
883
|
+
readonly inline: readonly ["$inline"];
|
|
884
|
+
}];
|
|
885
|
+
readonly "@html-eslint/indent": readonly [2, 2];
|
|
1259
886
|
readonly "@html-eslint/lowercase": 2;
|
|
1260
|
-
readonly "@html-eslint/no-extra-spacing-attrs": readonly [
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
readonly disallowInAssignment: true;
|
|
1266
|
-
}
|
|
1267
|
-
];
|
|
887
|
+
readonly "@html-eslint/no-extra-spacing-attrs": readonly [2, {
|
|
888
|
+
readonly disallowMissing: true;
|
|
889
|
+
readonly disallowTabs: true;
|
|
890
|
+
readonly disallowInAssignment: true;
|
|
891
|
+
}];
|
|
1268
892
|
readonly "@html-eslint/no-extra-spacing-text": 2;
|
|
1269
|
-
readonly "@html-eslint/no-multiple-empty-lines": readonly [
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
readonly max: 1;
|
|
1273
|
-
}
|
|
1274
|
-
];
|
|
893
|
+
readonly "@html-eslint/no-multiple-empty-lines": readonly [2, {
|
|
894
|
+
readonly max: 1;
|
|
895
|
+
}];
|
|
1275
896
|
readonly "@html-eslint/no-trailing-spaces": 2;
|
|
1276
897
|
readonly "@html-eslint/quotes": 2;
|
|
1277
898
|
};
|
|
@@ -1327,45 +948,30 @@ export declare const defaults: {
|
|
|
1327
948
|
id: "enable/plugin/extension";
|
|
1328
949
|
rules: {
|
|
1329
950
|
readonly "jsonc/array-bracket-spacing": 2;
|
|
1330
|
-
readonly "jsonc/array-element-newline": readonly [
|
|
1331
|
-
2,
|
|
1332
|
-
"consistent"
|
|
1333
|
-
];
|
|
951
|
+
readonly "jsonc/array-element-newline": readonly [2, "consistent"];
|
|
1334
952
|
readonly "jsonc/comma-dangle": 2;
|
|
1335
953
|
readonly "jsonc/comma-style": 2;
|
|
1336
|
-
readonly "jsonc/indent": readonly [
|
|
1337
|
-
2,
|
|
1338
|
-
2
|
|
1339
|
-
];
|
|
954
|
+
readonly "jsonc/indent": readonly [2, 2];
|
|
1340
955
|
readonly "jsonc/key-spacing": 2;
|
|
1341
956
|
readonly "jsonc/no-floating-decimal": 2;
|
|
1342
|
-
readonly "jsonc/no-irregular-whitespace": readonly [
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
readonly skipJSXText: true;
|
|
1350
|
-
}
|
|
1351
|
-
];
|
|
957
|
+
readonly "jsonc/no-irregular-whitespace": readonly [2, {
|
|
958
|
+
readonly skipStrings: true;
|
|
959
|
+
readonly skipComments: true;
|
|
960
|
+
readonly skipRegExps: true;
|
|
961
|
+
readonly skipTemplates: true;
|
|
962
|
+
readonly skipJSXText: true;
|
|
963
|
+
}];
|
|
1352
964
|
readonly "jsonc/no-multi-str": 2;
|
|
1353
965
|
readonly "jsonc/no-octal-escape": 2;
|
|
1354
966
|
readonly "jsonc/no-octal": 2;
|
|
1355
967
|
readonly "jsonc/no-sparse-arrays": 2;
|
|
1356
968
|
readonly "jsonc/no-useless-escape": 2;
|
|
1357
|
-
readonly "jsonc/object-curly-newline": readonly [
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
}
|
|
1364
|
-
];
|
|
1365
|
-
readonly "jsonc/object-curly-spacing": readonly [
|
|
1366
|
-
2,
|
|
1367
|
-
"always"
|
|
1368
|
-
];
|
|
969
|
+
readonly "jsonc/object-curly-newline": readonly [2, {
|
|
970
|
+
readonly consistent: true;
|
|
971
|
+
readonly multiline: true;
|
|
972
|
+
readonly minProperties: 2;
|
|
973
|
+
}];
|
|
974
|
+
readonly "jsonc/object-curly-spacing": readonly [2, "always"];
|
|
1369
975
|
readonly "jsonc/object-property-newline": 2;
|
|
1370
976
|
readonly "jsonc/quote-props": 2;
|
|
1371
977
|
readonly "jsonc/quotes": 2;
|
|
@@ -1381,10 +987,7 @@ export declare const defaults: {
|
|
|
1381
987
|
jsoncc: {
|
|
1382
988
|
id: "disable/plugin";
|
|
1383
989
|
rules: {
|
|
1384
|
-
readonly "jsonc/comma-dangle": readonly [
|
|
1385
|
-
2,
|
|
1386
|
-
"always-multiline"
|
|
1387
|
-
];
|
|
990
|
+
readonly "jsonc/comma-dangle": readonly [2, "always-multiline"];
|
|
1388
991
|
};
|
|
1389
992
|
}[];
|
|
1390
993
|
yml: ({
|
|
@@ -1405,51 +1008,28 @@ export declare const defaults: {
|
|
|
1405
1008
|
} | {
|
|
1406
1009
|
id: "enable/plugin/extension";
|
|
1407
1010
|
rules: {
|
|
1408
|
-
readonly "yml/flow-mapping-curly-newline": readonly [
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
}
|
|
1415
|
-
];
|
|
1416
|
-
readonly "yml/flow-mapping-curly-spacing": readonly [
|
|
1417
|
-
2,
|
|
1418
|
-
"always"
|
|
1419
|
-
];
|
|
1011
|
+
readonly "yml/flow-mapping-curly-newline": readonly [2, {
|
|
1012
|
+
readonly consistent: true;
|
|
1013
|
+
readonly multiline: true;
|
|
1014
|
+
readonly minProperties: 2;
|
|
1015
|
+
}];
|
|
1016
|
+
readonly "yml/flow-mapping-curly-spacing": readonly [2, "always"];
|
|
1420
1017
|
readonly "yml/flow-sequence-bracket-newline": 2;
|
|
1421
1018
|
readonly "yml/flow-sequence-bracket-spacing": 2;
|
|
1422
1019
|
readonly "yml/key-spacing": 2;
|
|
1423
1020
|
readonly "yml/no-irregular-whitespace": 2;
|
|
1424
|
-
readonly "yml/no-multiple-empty-lines": readonly [
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
2,
|
|
1434
|
-
"always",
|
|
1435
|
-
{
|
|
1436
|
-
readonly exceptions: readonly [
|
|
1437
|
-
"#"
|
|
1438
|
-
];
|
|
1439
|
-
readonly markers: readonly [
|
|
1440
|
-
"-",
|
|
1441
|
-
"#",
|
|
1442
|
-
"##",
|
|
1443
|
-
"###",
|
|
1444
|
-
"####",
|
|
1445
|
-
"#####",
|
|
1446
|
-
"region",
|
|
1447
|
-
"endregion"
|
|
1448
|
-
];
|
|
1449
|
-
}
|
|
1450
|
-
];
|
|
1021
|
+
readonly "yml/no-multiple-empty-lines": readonly [2, {
|
|
1022
|
+
readonly max: 1;
|
|
1023
|
+
readonly maxBOF: 0;
|
|
1024
|
+
readonly maxEOF: 0;
|
|
1025
|
+
}];
|
|
1026
|
+
readonly "yml/spaced-comment": readonly [2, "always", {
|
|
1027
|
+
readonly exceptions: readonly ["#"];
|
|
1028
|
+
readonly markers: readonly ["-", "#", "##", "###", "####", "#####", "region", "endregion"];
|
|
1029
|
+
}];
|
|
1451
1030
|
};
|
|
1452
1031
|
})[];
|
|
1453
1032
|
};
|
|
1454
1033
|
};
|
|
1455
|
-
|
|
1034
|
+
export default _default;
|
|
1035
|
+
//# sourceMappingURL=index.d.ts.map
|