@eslinted/defaults 13.4.1 → 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 +463 -875
- 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 +2 -1
- 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 +2 -1
- package/dist/rules/ts/enable.d.ts.map +1 -1
- package/dist/rules/ts/enable.js +1 -1
- 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.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 +1 -1
- 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,31 +548,22 @@ 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;
|
|
@@ -855,34 +573,22 @@ export declare const defaults: {
|
|
|
855
573
|
readonly "@typescript-eslint/no-duplicate-type-constituents": 2;
|
|
856
574
|
readonly "@typescript-eslint/no-dynamic-delete": 2;
|
|
857
575
|
readonly "@typescript-eslint/no-empty-object-type": 2;
|
|
858
|
-
readonly "@typescript-eslint/no-explicit-any": readonly [
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
readonly fixToUnknown: true;
|
|
862
|
-
}
|
|
863
|
-
];
|
|
576
|
+
readonly "@typescript-eslint/no-explicit-any": readonly [2, {
|
|
577
|
+
readonly fixToUnknown: true;
|
|
578
|
+
}];
|
|
864
579
|
readonly "@typescript-eslint/no-extra-non-null-assertion": 2;
|
|
865
|
-
readonly "@typescript-eslint/no-extraneous-class": readonly [
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
];
|
|
871
|
-
readonly "@typescript-eslint/no-floating-promises": readonly [
|
|
872
|
-
2,
|
|
873
|
-
{
|
|
874
|
-
readonly checkThenables: true;
|
|
875
|
-
}
|
|
876
|
-
];
|
|
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
|
+
}];
|
|
877
586
|
readonly "@typescript-eslint/no-for-in-array": 2;
|
|
878
587
|
readonly "@typescript-eslint/no-import-type-side-effects": 2;
|
|
879
588
|
readonly "@typescript-eslint/no-inferrable-types": 2;
|
|
880
|
-
readonly "@typescript-eslint/no-meaningless-void-operator": readonly [
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
readonly checkNever: true;
|
|
884
|
-
}
|
|
885
|
-
];
|
|
589
|
+
readonly "@typescript-eslint/no-meaningless-void-operator": readonly [2, {
|
|
590
|
+
readonly checkNever: true;
|
|
591
|
+
}];
|
|
886
592
|
readonly "@typescript-eslint/no-misused-new": 2;
|
|
887
593
|
readonly "@typescript-eslint/no-misused-promises": 2;
|
|
888
594
|
readonly "@typescript-eslint/no-misused-spread": 2;
|
|
@@ -908,22 +614,16 @@ export declare const defaults: {
|
|
|
908
614
|
readonly "@typescript-eslint/no-unsafe-declaration-merging": 2;
|
|
909
615
|
readonly "@typescript-eslint/no-unsafe-enum-comparison": 2;
|
|
910
616
|
readonly "@typescript-eslint/no-unsafe-function-type": 2;
|
|
911
|
-
readonly "@typescript-eslint/no-unsafe-member-access": readonly [
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
readonly allowOptionalChaining: true;
|
|
915
|
-
}
|
|
916
|
-
];
|
|
617
|
+
readonly "@typescript-eslint/no-unsafe-member-access": readonly [2, {
|
|
618
|
+
readonly allowOptionalChaining: true;
|
|
619
|
+
}];
|
|
917
620
|
readonly "@typescript-eslint/no-unsafe-return": 2;
|
|
918
621
|
readonly "@typescript-eslint/no-unsafe-unary-minus": 2;
|
|
919
622
|
readonly "@typescript-eslint/no-useless-empty-export": 2;
|
|
920
623
|
readonly "@typescript-eslint/no-wrapper-object-types": 2;
|
|
921
|
-
readonly "@typescript-eslint/parameter-properties": readonly [
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
readonly prefer: "parameter-property";
|
|
925
|
-
}
|
|
926
|
-
];
|
|
624
|
+
readonly "@typescript-eslint/parameter-properties": readonly [2, {
|
|
625
|
+
readonly prefer: "parameter-property";
|
|
626
|
+
}];
|
|
927
627
|
readonly "@typescript-eslint/prefer-as-const": 2;
|
|
928
628
|
readonly "@typescript-eslint/prefer-find": 2;
|
|
929
629
|
readonly "@typescript-eslint/prefer-for-of": 2;
|
|
@@ -941,32 +641,23 @@ export declare const defaults: {
|
|
|
941
641
|
readonly "@typescript-eslint/promise-function-async": 2;
|
|
942
642
|
readonly "@typescript-eslint/related-getter-setter-pairs": 2;
|
|
943
643
|
readonly "@typescript-eslint/require-array-sort-compare": 2;
|
|
944
|
-
readonly "@typescript-eslint/restrict-plus-operands": readonly [
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
{
|
|
957
|
-
readonly allowNullish: false;
|
|
958
|
-
readonly allowNever: false;
|
|
959
|
-
readonly allowRegExp: false;
|
|
960
|
-
}
|
|
961
|
-
];
|
|
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
|
+
}];
|
|
962
656
|
readonly "@typescript-eslint/return-await": 2;
|
|
963
|
-
readonly "@typescript-eslint/strict-boolean-expressions": readonly [
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
readonly allowString: false;
|
|
968
|
-
}
|
|
969
|
-
];
|
|
657
|
+
readonly "@typescript-eslint/strict-boolean-expressions": readonly [2, {
|
|
658
|
+
readonly allowNullableObject: false;
|
|
659
|
+
readonly allowString: false;
|
|
660
|
+
}];
|
|
970
661
|
readonly "@typescript-eslint/switch-exhaustiveness-check": 2;
|
|
971
662
|
readonly "@typescript-eslint/unbound-method": 2;
|
|
972
663
|
readonly "@typescript-eslint/unified-signatures": 2;
|
|
@@ -975,37 +666,25 @@ export declare const defaults: {
|
|
|
975
666
|
} | {
|
|
976
667
|
id: "enable/extension";
|
|
977
668
|
rules: {
|
|
978
|
-
readonly "@typescript-eslint/dot-notation": readonly [
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
readonly allowIndexSignaturePropertyAccess: true;
|
|
984
|
-
}
|
|
985
|
-
];
|
|
669
|
+
readonly "@typescript-eslint/dot-notation": readonly [2, {
|
|
670
|
+
readonly allowPrivateClassPropertyAccess: true;
|
|
671
|
+
readonly allowProtectedClassPropertyAccess: true;
|
|
672
|
+
readonly allowIndexSignaturePropertyAccess: true;
|
|
673
|
+
}];
|
|
986
674
|
readonly "@typescript-eslint/no-implied-eval": 2;
|
|
987
675
|
readonly "@typescript-eslint/no-unused-vars": 2;
|
|
988
|
-
readonly "@typescript-eslint/only-throw-error": readonly [
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
};
|
|
1001
|
-
}
|
|
1002
|
-
];
|
|
1003
|
-
readonly "@typescript-eslint/prefer-promise-reject-errors": readonly [
|
|
1004
|
-
2,
|
|
1005
|
-
{
|
|
1006
|
-
readonly allowThrowingUnknown: true;
|
|
1007
|
-
}
|
|
1008
|
-
];
|
|
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
|
+
}];
|
|
1009
688
|
readonly "@typescript-eslint/require-await": 2;
|
|
1010
689
|
};
|
|
1011
690
|
})[];
|
|
@@ -1038,13 +717,10 @@ export declare const defaults: {
|
|
|
1038
717
|
} | {
|
|
1039
718
|
id: string;
|
|
1040
719
|
rules: {
|
|
1041
|
-
readonly "chai-friendly/no-unused-expressions": readonly [
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
readonly allowTernary: true;
|
|
1046
|
-
}
|
|
1047
|
-
];
|
|
720
|
+
readonly "chai-friendly/no-unused-expressions": readonly [2, {
|
|
721
|
+
readonly allowShortCircuit: true;
|
|
722
|
+
readonly allowTernary: true;
|
|
723
|
+
}];
|
|
1048
724
|
};
|
|
1049
725
|
} | {
|
|
1050
726
|
id: string;
|
|
@@ -1096,17 +772,10 @@ export declare const defaults: {
|
|
|
1096
772
|
readonly "svelte/valid-style-parse": 2;
|
|
1097
773
|
readonly "svelte/no-at-html-tags": 2;
|
|
1098
774
|
readonly "svelte/no-target-blank": 2;
|
|
1099
|
-
readonly "svelte/block-lang": readonly [
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
"ts"
|
|
1104
|
-
];
|
|
1105
|
-
readonly style: readonly [
|
|
1106
|
-
"css"
|
|
1107
|
-
];
|
|
1108
|
-
}
|
|
1109
|
-
];
|
|
775
|
+
readonly "svelte/block-lang": readonly [2, {
|
|
776
|
+
readonly script: readonly ["ts"];
|
|
777
|
+
readonly style: readonly ["css"];
|
|
778
|
+
}];
|
|
1110
779
|
readonly "svelte/button-has-type": 2;
|
|
1111
780
|
readonly "svelte/no-add-event-listener": 2;
|
|
1112
781
|
readonly "svelte/no-at-debug-tags": 2;
|
|
@@ -1117,21 +786,15 @@ export declare const defaults: {
|
|
|
1117
786
|
readonly "svelte/no-reactive-literals": 2;
|
|
1118
787
|
readonly "svelte/no-svelte-internal": 2;
|
|
1119
788
|
readonly "svelte/no-unnecessary-state-wrap": 2;
|
|
1120
|
-
readonly "svelte/no-unused-props": readonly [
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
readonly checkImportedTypes: true;
|
|
1124
|
-
}
|
|
1125
|
-
];
|
|
789
|
+
readonly "svelte/no-unused-props": readonly [2, {
|
|
790
|
+
readonly checkImportedTypes: true;
|
|
791
|
+
}];
|
|
1126
792
|
readonly "svelte/no-unused-svelte-ignore": 2;
|
|
1127
793
|
readonly "svelte/no-useless-children-snippet": 2;
|
|
1128
794
|
readonly "svelte/no-useless-mustaches": 2;
|
|
1129
|
-
readonly "svelte/prefer-const": readonly [
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
readonly destructuring: "all";
|
|
1133
|
-
}
|
|
1134
|
-
];
|
|
795
|
+
readonly "svelte/prefer-const": readonly [2, {
|
|
796
|
+
readonly destructuring: "all";
|
|
797
|
+
}];
|
|
1135
798
|
readonly "svelte/prefer-destructured-store-props": 2;
|
|
1136
799
|
readonly "svelte/prefer-writable-derived": 2;
|
|
1137
800
|
readonly "svelte/require-each-key": 2;
|
|
@@ -1139,38 +802,26 @@ export declare const defaults: {
|
|
|
1139
802
|
readonly "svelte/require-optimized-style-attribute": 2;
|
|
1140
803
|
readonly "svelte/require-stores-init": 2;
|
|
1141
804
|
readonly "svelte/valid-each-key": 2;
|
|
1142
|
-
readonly "svelte/consistent-selector-style": readonly [
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
readonly checkGlobal: true;
|
|
1146
|
-
}
|
|
1147
|
-
];
|
|
805
|
+
readonly "svelte/consistent-selector-style": readonly [2, {
|
|
806
|
+
readonly checkGlobal: true;
|
|
807
|
+
}];
|
|
1148
808
|
readonly "svelte/derived-has-same-inputs-outputs": 2;
|
|
1149
|
-
readonly "svelte/first-attribute-linebreak": readonly [
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
readonly singleline: "below";
|
|
1153
|
-
}
|
|
1154
|
-
];
|
|
809
|
+
readonly "svelte/first-attribute-linebreak": readonly [2, {
|
|
810
|
+
readonly singleline: "below";
|
|
811
|
+
}];
|
|
1155
812
|
readonly "svelte/html-closing-bracket-new-line": 2;
|
|
1156
|
-
readonly "svelte/html-closing-bracket-spacing": readonly [
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
readonly selfClosingTag: "never";
|
|
1160
|
-
}
|
|
1161
|
-
];
|
|
813
|
+
readonly "svelte/html-closing-bracket-spacing": readonly [2, {
|
|
814
|
+
readonly selfClosingTag: "never";
|
|
815
|
+
}];
|
|
1162
816
|
readonly "svelte/html-self-closing": 2;
|
|
1163
817
|
readonly "svelte/indent": 2;
|
|
1164
818
|
readonly "svelte/max-attributes-per-line": 2;
|
|
1165
819
|
readonly "svelte/mustache-spacing": 2;
|
|
1166
820
|
readonly "svelte/no-extra-reactive-curlies": 2;
|
|
1167
821
|
readonly "svelte/no-spaces-around-equal-signs-in-attribute": 2;
|
|
1168
|
-
readonly "svelte/prefer-class-directive": readonly [
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
readonly prefer: "empty";
|
|
1172
|
-
}
|
|
1173
|
-
];
|
|
822
|
+
readonly "svelte/prefer-class-directive": readonly [2, {
|
|
823
|
+
readonly prefer: "empty";
|
|
824
|
+
}];
|
|
1174
825
|
readonly "svelte/prefer-style-directive": 2;
|
|
1175
826
|
readonly "svelte/require-event-prefix": 2;
|
|
1176
827
|
readonly "svelte/shorthand-attribute": 2;
|
|
@@ -1185,10 +836,7 @@ export declare const defaults: {
|
|
|
1185
836
|
} | {
|
|
1186
837
|
id: "enable/extension";
|
|
1187
838
|
rules: {
|
|
1188
|
-
readonly "svelte/no-inner-declarations": readonly [
|
|
1189
|
-
2,
|
|
1190
|
-
"both"
|
|
1191
|
-
];
|
|
839
|
+
readonly "svelte/no-inner-declarations": readonly [2, "both"];
|
|
1192
840
|
readonly "svelte/no-trailing-spaces": 2;
|
|
1193
841
|
};
|
|
1194
842
|
})[];
|
|
@@ -1227,43 +875,24 @@ export declare const defaults: {
|
|
|
1227
875
|
readonly "@html-eslint/require-img-alt": 2;
|
|
1228
876
|
readonly "@html-eslint/require-input-label": 2;
|
|
1229
877
|
readonly "@html-eslint/require-meta-viewport": 2;
|
|
1230
|
-
readonly "@html-eslint/attrs-newline": readonly [
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
{
|
|
1239
|
-
readonly skip: readonly [
|
|
1240
|
-
"head"
|
|
1241
|
-
];
|
|
1242
|
-
readonly inline: readonly [
|
|
1243
|
-
"$inline"
|
|
1244
|
-
];
|
|
1245
|
-
}
|
|
1246
|
-
];
|
|
1247
|
-
readonly "@html-eslint/indent": readonly [
|
|
1248
|
-
2,
|
|
1249
|
-
2
|
|
1250
|
-
];
|
|
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];
|
|
1251
886
|
readonly "@html-eslint/lowercase": 2;
|
|
1252
|
-
readonly "@html-eslint/no-extra-spacing-attrs": readonly [
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
readonly disallowInAssignment: true;
|
|
1258
|
-
}
|
|
1259
|
-
];
|
|
887
|
+
readonly "@html-eslint/no-extra-spacing-attrs": readonly [2, {
|
|
888
|
+
readonly disallowMissing: true;
|
|
889
|
+
readonly disallowTabs: true;
|
|
890
|
+
readonly disallowInAssignment: true;
|
|
891
|
+
}];
|
|
1260
892
|
readonly "@html-eslint/no-extra-spacing-text": 2;
|
|
1261
|
-
readonly "@html-eslint/no-multiple-empty-lines": readonly [
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
readonly max: 1;
|
|
1265
|
-
}
|
|
1266
|
-
];
|
|
893
|
+
readonly "@html-eslint/no-multiple-empty-lines": readonly [2, {
|
|
894
|
+
readonly max: 1;
|
|
895
|
+
}];
|
|
1267
896
|
readonly "@html-eslint/no-trailing-spaces": 2;
|
|
1268
897
|
readonly "@html-eslint/quotes": 2;
|
|
1269
898
|
};
|
|
@@ -1319,45 +948,30 @@ export declare const defaults: {
|
|
|
1319
948
|
id: "enable/plugin/extension";
|
|
1320
949
|
rules: {
|
|
1321
950
|
readonly "jsonc/array-bracket-spacing": 2;
|
|
1322
|
-
readonly "jsonc/array-element-newline": readonly [
|
|
1323
|
-
2,
|
|
1324
|
-
"consistent"
|
|
1325
|
-
];
|
|
951
|
+
readonly "jsonc/array-element-newline": readonly [2, "consistent"];
|
|
1326
952
|
readonly "jsonc/comma-dangle": 2;
|
|
1327
953
|
readonly "jsonc/comma-style": 2;
|
|
1328
|
-
readonly "jsonc/indent": readonly [
|
|
1329
|
-
2,
|
|
1330
|
-
2
|
|
1331
|
-
];
|
|
954
|
+
readonly "jsonc/indent": readonly [2, 2];
|
|
1332
955
|
readonly "jsonc/key-spacing": 2;
|
|
1333
956
|
readonly "jsonc/no-floating-decimal": 2;
|
|
1334
|
-
readonly "jsonc/no-irregular-whitespace": readonly [
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
readonly skipJSXText: true;
|
|
1342
|
-
}
|
|
1343
|
-
];
|
|
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
|
+
}];
|
|
1344
964
|
readonly "jsonc/no-multi-str": 2;
|
|
1345
965
|
readonly "jsonc/no-octal-escape": 2;
|
|
1346
966
|
readonly "jsonc/no-octal": 2;
|
|
1347
967
|
readonly "jsonc/no-sparse-arrays": 2;
|
|
1348
968
|
readonly "jsonc/no-useless-escape": 2;
|
|
1349
|
-
readonly "jsonc/object-curly-newline": readonly [
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
}
|
|
1356
|
-
];
|
|
1357
|
-
readonly "jsonc/object-curly-spacing": readonly [
|
|
1358
|
-
2,
|
|
1359
|
-
"always"
|
|
1360
|
-
];
|
|
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"];
|
|
1361
975
|
readonly "jsonc/object-property-newline": 2;
|
|
1362
976
|
readonly "jsonc/quote-props": 2;
|
|
1363
977
|
readonly "jsonc/quotes": 2;
|
|
@@ -1373,10 +987,7 @@ export declare const defaults: {
|
|
|
1373
987
|
jsoncc: {
|
|
1374
988
|
id: "disable/plugin";
|
|
1375
989
|
rules: {
|
|
1376
|
-
readonly "jsonc/comma-dangle": readonly [
|
|
1377
|
-
2,
|
|
1378
|
-
"always-multiline"
|
|
1379
|
-
];
|
|
990
|
+
readonly "jsonc/comma-dangle": readonly [2, "always-multiline"];
|
|
1380
991
|
};
|
|
1381
992
|
}[];
|
|
1382
993
|
yml: ({
|
|
@@ -1397,51 +1008,28 @@ export declare const defaults: {
|
|
|
1397
1008
|
} | {
|
|
1398
1009
|
id: "enable/plugin/extension";
|
|
1399
1010
|
rules: {
|
|
1400
|
-
readonly "yml/flow-mapping-curly-newline": readonly [
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
}
|
|
1407
|
-
];
|
|
1408
|
-
readonly "yml/flow-mapping-curly-spacing": readonly [
|
|
1409
|
-
2,
|
|
1410
|
-
"always"
|
|
1411
|
-
];
|
|
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"];
|
|
1412
1017
|
readonly "yml/flow-sequence-bracket-newline": 2;
|
|
1413
1018
|
readonly "yml/flow-sequence-bracket-spacing": 2;
|
|
1414
1019
|
readonly "yml/key-spacing": 2;
|
|
1415
1020
|
readonly "yml/no-irregular-whitespace": 2;
|
|
1416
|
-
readonly "yml/no-multiple-empty-lines": readonly [
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
2,
|
|
1426
|
-
"always",
|
|
1427
|
-
{
|
|
1428
|
-
readonly exceptions: readonly [
|
|
1429
|
-
"#"
|
|
1430
|
-
];
|
|
1431
|
-
readonly markers: readonly [
|
|
1432
|
-
"-",
|
|
1433
|
-
"#",
|
|
1434
|
-
"##",
|
|
1435
|
-
"###",
|
|
1436
|
-
"####",
|
|
1437
|
-
"#####",
|
|
1438
|
-
"region",
|
|
1439
|
-
"endregion"
|
|
1440
|
-
];
|
|
1441
|
-
}
|
|
1442
|
-
];
|
|
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
|
+
}];
|
|
1443
1030
|
};
|
|
1444
1031
|
})[];
|
|
1445
1032
|
};
|
|
1446
1033
|
};
|
|
1447
|
-
|
|
1034
|
+
export default _default;
|
|
1035
|
+
//# sourceMappingURL=index.d.ts.map
|