@eslinted/defaults 17.2.7 → 17.2.8
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/index.d.ts +792 -1139
- package/dist/rules/css/index.d.ts +1 -2
- package/dist/rules/css/index.d.ts.map +1 -1
- package/dist/rules/css/index.js.map +1 -1
- package/dist/rules/disable.d.ts +1 -2
- package/dist/rules/disable.d.ts.map +1 -1
- package/dist/rules/disable.js.map +1 -1
- package/dist/rules/html/index.d.ts +17 -37
- package/dist/rules/html/index.d.ts.map +1 -1
- package/dist/rules/html/index.js.map +1 -1
- package/dist/rules/index.d.ts +792 -1139
- package/dist/rules/js.d.ts +357 -560
- package/dist/rules/js.eslint.d.ts +90 -184
- package/dist/rules/js.eslint.d.ts.map +1 -1
- package/dist/rules/js.eslint.js.map +1 -1
- package/dist/rules/js.stylistic.d.ts +108 -219
- package/dist/rules/js.stylistic.d.ts.map +1 -1
- package/dist/rules/js.stylistic.js.map +1 -1
- package/dist/rules/json/index.d.ts +53 -68
- package/dist/rules/json/json.d.ts +1 -2
- package/dist/rules/json/json.d.ts.map +1 -1
- package/dist/rules/json/json.js.map +1 -1
- package/dist/rules/json/plugin/extend.d.ts +16 -32
- package/dist/rules/json/plugin/extend.d.ts.map +1 -1
- package/dist/rules/json/plugin/extend.js.map +1 -1
- package/dist/rules/json/plugin/index.d.ts +1 -2
- package/dist/rules/json/plugin/index.d.ts.map +1 -1
- package/dist/rules/json/plugin/index.js.map +1 -1
- package/dist/rules/jsonc/index.d.ts +1 -2
- package/dist/rules/jsonc/index.d.ts.map +1 -1
- package/dist/rules/jsonc/index.js.map +1 -1
- package/dist/rules/jsoncc/index.d.ts +2 -6
- package/dist/rules/jsoncc/index.d.ts.map +1 -1
- package/dist/rules/jsoncc/index.js.map +1 -1
- package/dist/rules/mocha/chai/expect.d.ts +1 -2
- package/dist/rules/mocha/chai/expect.d.ts.map +1 -1
- package/dist/rules/mocha/chai/expect.js.map +1 -1
- package/dist/rules/mocha/chai/index.d.ts +5 -9
- package/dist/rules/mocha/chai/index.d.ts.map +1 -1
- package/dist/rules/mocha/chai/index.js.map +1 -1
- package/dist/rules/mocha/index.d.ts +26 -29
- package/dist/rules/mocha/mocha.d.ts +1 -2
- package/dist/rules/mocha/mocha.d.ts.map +1 -1
- package/dist/rules/mocha/mocha.js.map +1 -1
- package/dist/rules/svelte/disable.d.ts +1 -2
- package/dist/rules/svelte/disable.d.ts.map +1 -1
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/extend.d.ts +2 -6
- package/dist/rules/svelte/extend.d.ts.map +1 -1
- package/dist/rules/svelte/extend.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +93 -121
- package/dist/rules/svelte/svelte.d.ts +23 -49
- package/dist/rules/svelte/svelte.d.ts.map +1 -1
- package/dist/rules/svelte/svelte.js.map +1 -1
- package/dist/rules/ts/disable.d.ts +1 -2
- package/dist/rules/ts/disable.d.ts.map +1 -1
- package/dist/rules/ts/disable.js.map +1 -1
- package/dist/rules/ts/extend.d.ts +18 -31
- package/dist/rules/ts/extend.d.ts.map +1 -1
- package/dist/rules/ts/extend.js.map +1 -1
- package/dist/rules/ts/index.d.ts +169 -220
- package/dist/rules/ts/ts.d.ts +53 -93
- package/dist/rules/ts/ts.d.ts.map +1 -1
- package/dist/rules/ts/ts.js.map +1 -1
- package/dist/rules/yml/extend.d.ts +18 -44
- package/dist/rules/yml/extend.d.ts.map +1 -1
- package/dist/rules/yml/extend.js.map +1 -1
- package/dist/rules/yml/index.d.ts +33 -58
- package/dist/rules/yml/yml.d.ts +1 -2
- package/dist/rules/yml/yml.d.ts.map +1 -1
- package/dist/rules/yml/yml.js.map +1 -1
- package/package.json +1 -1
- package/src/_pattern/tsconfig.json +6 -0
- package/src/files/tsconfig.json +11 -0
- package/src/ignores/tsconfig.json +11 -0
- package/src/rules/css/index.ts +0 -2
- package/src/rules/disable.ts +0 -2
- package/src/rules/html/index.ts +0 -2
- package/src/rules/js.eslint.ts +0 -2
- package/src/rules/js.stylistic.ts +0 -2
- package/src/rules/json/json.ts +0 -2
- package/src/rules/json/plugin/extend.ts +0 -2
- package/src/rules/json/plugin/index.ts +0 -2
- package/src/rules/jsonc/index.ts +0 -2
- package/src/rules/jsoncc/index.ts +0 -2
- package/src/rules/mocha/chai/expect.ts +0 -2
- package/src/rules/mocha/chai/index.ts +0 -2
- package/src/rules/mocha/mocha.ts +0 -2
- package/src/rules/svelte/disable.ts +0 -2
- package/src/rules/svelte/extend.ts +0 -2
- package/src/rules/svelte/svelte.ts +0 -2
- package/src/rules/ts/disable.ts +0 -2
- package/src/rules/ts/extend.ts +0 -2
- package/src/rules/ts/ts.ts +0 -2
- package/src/rules/tsconfig.json +7 -0
- package/src/rules/yml/extend.ts +0 -2
- package/src/rules/yml/yml.ts +0 -2
- package/src/tsconfig-src.json +8 -0
- package/src/tsconfig.json +12 -7
- package/tests/tsconfig.json +1 -4
- package/typings/index.d.ts +5 -0
- package/dist/rules/state.d.ts +0 -6
- package/dist/rules/state.d.ts.map +0 -1
- package/dist/rules/state.js +0 -2
- package/dist/rules/state.js.map +0 -1
- package/src/rules/state.ts +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../src/rules/svelte/svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../src/rules/svelte/svelte.ts"],"names":[],"mappings":"AACA,eAAe;IACb,KAAK,EAAE;QAGL,+BAA+B,GAAU;QACzC,4BAA4B,GAAU;QACtC,+BAA+B,GAAU;QACzC,8BAA8B,GAAU;QACxC,iCAAiC,GAAU;QAC3C,+BAA+B,GAAU;QACzC,gCAAgC,GAAU;QAC1C,oCAAoC,GAAU;QAC9C,gCAAgC,GAAU;QAC1C,6BAA6B,GAAU;QACvC,8CAA8C,GAAU;QACxD,uBAAuB,GAAU;QACjC,qCAAqC,GAAU;QAC/C,4CAA4C,GAAU;QACtD,iCAAiC,GAAU;QAC3C,8CAA8C,GAAU;QACxD,sCAAsC,GAAU;QAChD,sBAAsB,GAAU;QAChC,0BAA0B,GAAU;QAKpC,wBAAwB,GAAU;QAClC,wBAAwB,GAAU;QAKlC,mBAAmB,EAAE;;YAEnB;gBACE,MAAM,EAAE,CAAC,IAAI,CAAC;gBACd,KAAK,EAAE,CAAC,KAAK,CAAC;aACf;SACF;QACD,wBAAwB,GAAU;QAClC,8BAA8B,GAAU;QACxC,yBAAyB,GAAU;QACnC,+BAA+B,GAAU;QACzC,yCAAyC,GAAU;QACnD,yBAAyB,GAAU;QACnC,8BAA8B,GAAU;QACxC,6BAA6B,GAAU;QACvC,2BAA2B,GAAU;QACrC,kCAAkC,GAAU;QAE5C,wBAAwB,EAAE;;YAExB;gBACE,kBAAkB,EAAE,IAAI;aACzB;SACF;QACD,gCAAgC,GAAU;QAC1C,oCAAoC,GAAU;QAC9C,6BAA6B,GAAU;QACvC,qBAAqB,EAAE;;YAErB;gBACE,aAAa,EAAE,KAAK;aACrB;SACF;QACD,wCAAwC,GAAU;QAClD,gCAAgC,GAAU;QAC1C,yBAAyB,GAAU;QACnC,uCAAuC,GAAU;QACjD,0CAA0C,GAAU;QACpD,4BAA4B,GAAU;QACtC,uBAAuB,GAAU;QAKjC,kCAAkC,EAAE;;YAElC;gBACE,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wCAAwC,GAAU;QAClD,kCAAkC,EAAE;;YAElC;gBACE,UAAU,EAAE,OAAO;aACpB;SACF;QACD,sCAAsC,GAAU;QAChD,qCAAqC,EAAE;;YAErC;gBACE,cAAc,EAAE,OAAO;aACxB;SACF;QAED,0BAA0B,GAAU;QACpC,eAAe,GAAU;QACzB,gCAAgC,GAAU;QAC1C,yBAAyB,GAAU;QACnC,kCAAkC,GAAU;QAE5C,kDAAkD,GAAU;QAC5D,+BAA+B,EAAE;;YAE/B;gBACE,MAAM,EAAE,OAAO;aAChB;SACF;QACD,+BAA+B,GAAU;QACzC,6BAA6B,GAAU;QACvC,4BAA4B,GAAU;QACtC,4BAA4B,GAAU;QAEtC,4BAA4B,GAAU;QAKtC,qDAAqD,GAAU;QAC/D,sCAAsC,GAAU;QAChD,sCAAsC,GAAU;QAKhD,0BAA0B,GAAU;QACpC,eAAe,GAAU;KAEjB;CACX,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { State } from "../state.js";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
rules: {
|
|
4
3
|
readonly "consistent-return": State.OFF;
|
|
@@ -23,4 +22,4 @@ declare const _default: {
|
|
|
23
22
|
};
|
|
24
23
|
};
|
|
25
24
|
export default _default;
|
|
26
|
-
//# sourceMappingURL=disable.d.ts.map
|
|
25
|
+
//# sourceMappingURL=disable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuBE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,KAAK,EAAE;QAEL,mBAAmB,GAAW;QAC9B,mBAAmB,GAAW;QAC9B,eAAe,GAAW;QAC1B,iBAAiB,GAAW;QAC5B,iBAAiB,GAAW;QAC5B,cAAc,GAAW;QACzB,uBAAuB,GAAW;QAClC,cAAc,GAAW;QACzB,gBAAgB,GAAW;QAC3B,kBAAkB,GAAW;QAC7B,iBAAiB,GAAW;QAC5B,8BAA8B,GAAW;QACzC,cAAc,GAAW;QACzB,cAAc,GAAW;QACzB,kBAAkB,GAAW;QAC7B,sBAAsB,GAAW;QACjC,UAAU,GAAW;QACrB,gBAAgB,GAAW;QAC3B,oBAAoB,GAAW;KACvB;CACX,CAAC"}
|
|
@@ -1,47 +1,34 @@
|
|
|
1
|
-
import { State } from "../state.js";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
rules: {
|
|
4
3
|
readonly "dot-notation": State.OFF;
|
|
5
|
-
readonly "ts/dot-notation": readonly [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
readonly allowIndexSignaturePropertyAccess: true;
|
|
11
|
-
}
|
|
12
|
-
];
|
|
4
|
+
readonly "ts/dot-notation": readonly [State.ON, {
|
|
5
|
+
readonly allowPrivateClassPropertyAccess: true;
|
|
6
|
+
readonly allowProtectedClassPropertyAccess: true;
|
|
7
|
+
readonly allowIndexSignaturePropertyAccess: true;
|
|
8
|
+
}];
|
|
13
9
|
readonly "no-implied-eval": State.OFF;
|
|
14
10
|
readonly "ts/no-implied-eval": State.ON;
|
|
15
11
|
readonly "no-restricted-imports": State.OFF;
|
|
16
12
|
readonly "no-unused-vars": State.OFF;
|
|
17
13
|
readonly "ts/no-unused-vars": State.ON;
|
|
18
14
|
readonly "no-throw-literal": State.OFF;
|
|
19
|
-
readonly "ts/only-throw-error": readonly [
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
readonly allowThrowingAny: false;
|
|
23
|
-
}
|
|
24
|
-
];
|
|
15
|
+
readonly "ts/only-throw-error": readonly [State.ON, {
|
|
16
|
+
readonly allowThrowingAny: false;
|
|
17
|
+
}];
|
|
25
18
|
readonly "prefer-destructuring": State.OFF;
|
|
26
|
-
readonly "ts/prefer-destructuring": readonly [
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
readonly
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
];
|
|
19
|
+
readonly "ts/prefer-destructuring": readonly [State.ON, {
|
|
20
|
+
readonly AssignmentExpression: {
|
|
21
|
+
readonly array: false;
|
|
22
|
+
readonly object: false;
|
|
23
|
+
};
|
|
24
|
+
}];
|
|
35
25
|
readonly "prefer-promise-reject-errors": State.OFF;
|
|
36
|
-
readonly "ts/prefer-promise-reject-errors": readonly [
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
readonly allowThrowingUnknown: true;
|
|
40
|
-
}
|
|
41
|
-
];
|
|
26
|
+
readonly "ts/prefer-promise-reject-errors": readonly [State.ON, {
|
|
27
|
+
readonly allowThrowingUnknown: true;
|
|
28
|
+
}];
|
|
42
29
|
readonly "require-await": State.OFF;
|
|
43
30
|
readonly "ts/require-await": State.ON;
|
|
44
31
|
};
|
|
45
32
|
};
|
|
46
33
|
export default _default;
|
|
47
|
-
//# sourceMappingURL=extend.d.ts.map
|
|
34
|
+
//# sourceMappingURL=extend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wBA8CE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":"AACA,eAAe;IACb,KAAK,EAAE;QACW,cAAc,GAAW;QACzC,iBAAiB,EAAE;;YAEjB;gBAEE,+BAA+B,EAAE,IAAI;gBACrC,iCAAiC,EAAE,IAAI;gBACvC,iCAAiC,EAAE,IAAI;aACxC;SACF;QACe,iBAAiB,GAAW;QAC5C,oBAAoB,GAAU;QAEd,uBAAuB,GAAW;QAElC,gBAAgB,GAAW;QAC3C,mBAAmB,GAAU;QACb,kBAAkB,GAAW;QAC7C,qBAAqB,EAAE;;YAErB;gBACE,gBAAgB,EAAE,KAAK;aACxB;SACF;QACe,sBAAsB,GAAW;QACjD,yBAAyB,EAAE;;YAEzB;gBACE,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK;oBACZ,MAAM,EAAE,KAAK;iBACd;aACF;SACF;QACe,8BAA8B,GAAW;QACzD,iCAAiC,EAAE;;YAEjC;gBACE,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACe,eAAe,GAAW;QAC1C,kBAAkB,GAAU;KACpB;CACX,CAAC"}
|
package/dist/rules/ts/index.d.ts
CHANGED
|
@@ -1,231 +1,180 @@
|
|
|
1
1
|
declare const _default: ({
|
|
2
2
|
rules: {
|
|
3
|
-
readonly "consistent-return":
|
|
4
|
-
readonly "constructor-super":
|
|
5
|
-
readonly "getter-return":
|
|
6
|
-
readonly "no-class-assign":
|
|
7
|
-
readonly "no-const-assign":
|
|
8
|
-
readonly "no-dupe-args":
|
|
9
|
-
readonly "no-dupe-class-members":
|
|
10
|
-
readonly "no-dupe-keys":
|
|
11
|
-
readonly "no-func-assign":
|
|
12
|
-
readonly "no-import-assign":
|
|
13
|
-
readonly "no-invalid-this":
|
|
14
|
-
readonly "no-new-native-nonconstructor":
|
|
15
|
-
readonly "no-obj-calls":
|
|
16
|
-
readonly "no-redeclare":
|
|
17
|
-
readonly "no-setter-return":
|
|
18
|
-
readonly "no-this-before-super":
|
|
19
|
-
readonly "no-undef":
|
|
20
|
-
readonly "no-unreachable":
|
|
21
|
-
readonly "no-unsafe-negation":
|
|
3
|
+
readonly "consistent-return": State.OFF;
|
|
4
|
+
readonly "constructor-super": State.OFF;
|
|
5
|
+
readonly "getter-return": State.OFF;
|
|
6
|
+
readonly "no-class-assign": State.OFF;
|
|
7
|
+
readonly "no-const-assign": State.OFF;
|
|
8
|
+
readonly "no-dupe-args": State.OFF;
|
|
9
|
+
readonly "no-dupe-class-members": State.OFF;
|
|
10
|
+
readonly "no-dupe-keys": State.OFF;
|
|
11
|
+
readonly "no-func-assign": State.OFF;
|
|
12
|
+
readonly "no-import-assign": State.OFF;
|
|
13
|
+
readonly "no-invalid-this": State.OFF;
|
|
14
|
+
readonly "no-new-native-nonconstructor": State.OFF;
|
|
15
|
+
readonly "no-obj-calls": State.OFF;
|
|
16
|
+
readonly "no-redeclare": State.OFF;
|
|
17
|
+
readonly "no-setter-return": State.OFF;
|
|
18
|
+
readonly "no-this-before-super": State.OFF;
|
|
19
|
+
readonly "no-undef": State.OFF;
|
|
20
|
+
readonly "no-unreachable": State.OFF;
|
|
21
|
+
readonly "no-unsafe-negation": State.OFF;
|
|
22
22
|
};
|
|
23
23
|
} | {
|
|
24
24
|
rules: {
|
|
25
|
-
readonly "ts/await-thenable":
|
|
26
|
-
readonly "ts/ban-ts-comment":
|
|
27
|
-
readonly "ts/ban-tslint-comment":
|
|
28
|
-
readonly "ts/class-literal-property-style":
|
|
29
|
-
readonly "ts/consistent-generic-constructors":
|
|
30
|
-
readonly "ts/consistent-type-assertions": readonly [
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
readonly "ts/
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
readonly "ts/
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
readonly "ts/no-
|
|
59
|
-
readonly "ts/no-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
readonly "ts/no-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
readonly "ts/no-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
readonly "ts/no-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
readonly "ts/no-
|
|
84
|
-
readonly "ts/no-
|
|
85
|
-
readonly "ts/no-
|
|
86
|
-
readonly "ts/no-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
readonly "ts/no-
|
|
93
|
-
readonly "ts/no-
|
|
94
|
-
readonly "ts/no-
|
|
95
|
-
readonly "ts/no-
|
|
96
|
-
readonly "ts/no-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
readonly "ts/no-
|
|
100
|
-
readonly "ts/no-
|
|
101
|
-
readonly "ts/no-
|
|
102
|
-
readonly "ts/no-
|
|
103
|
-
readonly "ts/
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
readonly "ts/
|
|
107
|
-
readonly "ts/
|
|
108
|
-
readonly "ts/
|
|
109
|
-
readonly "ts/
|
|
110
|
-
readonly "ts/
|
|
111
|
-
readonly "ts/
|
|
112
|
-
readonly "ts/
|
|
113
|
-
readonly "ts/
|
|
114
|
-
readonly "ts/
|
|
115
|
-
readonly "ts/
|
|
116
|
-
readonly "ts/
|
|
117
|
-
readonly "ts/
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
readonly "ts/
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
readonly "ts/
|
|
136
|
-
readonly "ts/
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
readonly "ts/
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
readonly "ts/
|
|
145
|
-
readonly "ts/
|
|
146
|
-
readonly "ts/prefer-string-starts-ends-with": import("../state.js").State.ON;
|
|
147
|
-
readonly "ts/promise-function-async": import("../state.js").State.ON;
|
|
148
|
-
readonly "ts/related-getter-setter-pairs": import("../state.js").State.ON;
|
|
149
|
-
readonly "ts/require-array-sort-compare": import("../state.js").State.ON;
|
|
150
|
-
readonly "ts/restrict-plus-operands": readonly [
|
|
151
|
-
import("../state.js").State.ON,
|
|
152
|
-
{
|
|
153
|
-
readonly allowAny: false;
|
|
154
|
-
readonly allowBoolean: false;
|
|
155
|
-
readonly allowNullish: false;
|
|
156
|
-
readonly allowNumberAndString: false;
|
|
157
|
-
readonly allowRegExp: false;
|
|
158
|
-
}
|
|
159
|
-
];
|
|
160
|
-
readonly "ts/restrict-template-expressions": readonly [
|
|
161
|
-
import("../state.js").State.ON,
|
|
162
|
-
{
|
|
163
|
-
readonly allowNullish: false;
|
|
164
|
-
readonly allowNever: false;
|
|
165
|
-
readonly allowRegExp: false;
|
|
166
|
-
}
|
|
167
|
-
];
|
|
168
|
-
readonly "ts/return-await": import("../state.js").State.ON;
|
|
169
|
-
readonly "ts/strict-boolean-expressions": readonly [
|
|
170
|
-
import("../state.js").State.ON,
|
|
171
|
-
{
|
|
172
|
-
readonly allowNullableObject: false;
|
|
173
|
-
readonly allowString: false;
|
|
174
|
-
}
|
|
175
|
-
];
|
|
176
|
-
readonly "ts/switch-exhaustiveness-check": readonly [
|
|
177
|
-
import("../state.js").State.ON,
|
|
178
|
-
{
|
|
179
|
-
readonly requireDefaultForNonUnion: true;
|
|
180
|
-
readonly considerDefaultExhaustiveForUnions: true;
|
|
181
|
-
}
|
|
182
|
-
];
|
|
183
|
-
readonly "ts/unbound-method": import("../state.js").State.ON;
|
|
184
|
-
readonly "ts/use-unknown-in-catch-callback-variable": import("../state.js").State.ON;
|
|
25
|
+
readonly "ts/await-thenable": State.ON;
|
|
26
|
+
readonly "ts/ban-ts-comment": State.ON;
|
|
27
|
+
readonly "ts/ban-tslint-comment": State.ON;
|
|
28
|
+
readonly "ts/class-literal-property-style": State.ON;
|
|
29
|
+
readonly "ts/consistent-generic-constructors": State.ON;
|
|
30
|
+
readonly "ts/consistent-type-assertions": readonly [State.ON, {
|
|
31
|
+
readonly arrayLiteralTypeAssertions: "never";
|
|
32
|
+
readonly objectLiteralTypeAssertions: "never";
|
|
33
|
+
}];
|
|
34
|
+
readonly "ts/consistent-type-exports": State.ON;
|
|
35
|
+
readonly "ts/consistent-type-imports": State.ON;
|
|
36
|
+
readonly "ts/explicit-member-accessibility": readonly [State.ON, {
|
|
37
|
+
readonly overrides: {
|
|
38
|
+
readonly constructors: "no-public";
|
|
39
|
+
};
|
|
40
|
+
}];
|
|
41
|
+
readonly "ts/member-ordering": readonly [State.ON, {
|
|
42
|
+
readonly default: {
|
|
43
|
+
readonly optionalityOrder: "required-first";
|
|
44
|
+
};
|
|
45
|
+
}];
|
|
46
|
+
readonly "ts/method-signature-style": State.ON;
|
|
47
|
+
readonly "ts/no-array-delete": State.ON;
|
|
48
|
+
readonly "ts/no-base-to-string": State.ON;
|
|
49
|
+
readonly "ts/no-confusing-non-null-assertion": State.ON;
|
|
50
|
+
readonly "ts/no-confusing-void-expression": State.ON;
|
|
51
|
+
readonly "ts/no-duplicate-enum-values": State.ON;
|
|
52
|
+
readonly "ts/no-duplicate-type-constituents": State.ON;
|
|
53
|
+
readonly "ts/no-dynamic-delete": State.ON;
|
|
54
|
+
readonly "ts/no-empty-object-type": State.ON;
|
|
55
|
+
readonly "ts/no-explicit-any": readonly [State.ON, {
|
|
56
|
+
readonly fixToUnknown: true;
|
|
57
|
+
}];
|
|
58
|
+
readonly "ts/no-extra-non-null-assertion": State.ON;
|
|
59
|
+
readonly "ts/no-extraneous-class": readonly [State.ON, {
|
|
60
|
+
readonly allowEmpty: true;
|
|
61
|
+
}];
|
|
62
|
+
readonly "ts/no-floating-promises": readonly [State.ON, {
|
|
63
|
+
readonly checkThenables: true;
|
|
64
|
+
}];
|
|
65
|
+
readonly "ts/no-for-in-array": State.ON;
|
|
66
|
+
readonly "ts/no-import-type-side-effects": State.ON;
|
|
67
|
+
readonly "ts/no-inferrable-types": State.ON;
|
|
68
|
+
readonly "ts/no-meaningless-void-operator": readonly [State.ON, {
|
|
69
|
+
readonly checkNever: true;
|
|
70
|
+
}];
|
|
71
|
+
readonly "ts/no-misused-new": State.ON;
|
|
72
|
+
readonly "ts/no-misused-promises": State.ON;
|
|
73
|
+
readonly "ts/no-misused-spread": State.ON;
|
|
74
|
+
readonly "ts/no-mixed-enums": State.ON;
|
|
75
|
+
readonly "ts/no-non-null-asserted-nullish-coalescing": State.ON;
|
|
76
|
+
readonly "ts/no-non-null-asserted-optional-chain": State.ON;
|
|
77
|
+
readonly "ts/no-redundant-type-constituents": State.ON;
|
|
78
|
+
readonly "ts/no-require-imports": State.ON;
|
|
79
|
+
readonly "ts/no-this-alias": State.ON;
|
|
80
|
+
readonly "ts/no-unnecessary-boolean-literal-compare": State.ON;
|
|
81
|
+
readonly "ts/no-unnecessary-condition": State.ON;
|
|
82
|
+
readonly "ts/no-unnecessary-parameter-property-assignment": State.ON;
|
|
83
|
+
readonly "ts/no-unnecessary-qualifier": State.ON;
|
|
84
|
+
readonly "ts/no-unnecessary-template-expression": State.ON;
|
|
85
|
+
readonly "ts/no-unnecessary-type-arguments": State.ON;
|
|
86
|
+
readonly "ts/no-unnecessary-type-assertion": State.ON;
|
|
87
|
+
readonly "ts/no-unnecessary-type-constraint": State.ON;
|
|
88
|
+
readonly "ts/no-unnecessary-type-conversion": State.ON;
|
|
89
|
+
readonly "ts/no-unnecessary-type-parameters": State.ON;
|
|
90
|
+
readonly "ts/no-unsafe-argument": State.ON;
|
|
91
|
+
readonly "ts/no-unsafe-assignment": State.ON;
|
|
92
|
+
readonly "ts/no-unsafe-call": State.ON;
|
|
93
|
+
readonly "ts/no-unsafe-declaration-merging": State.ON;
|
|
94
|
+
readonly "ts/no-unsafe-enum-comparison": State.ON;
|
|
95
|
+
readonly "ts/no-unsafe-function-type": State.ON;
|
|
96
|
+
readonly "ts/no-unsafe-member-access": readonly [State.ON, {
|
|
97
|
+
readonly allowOptionalChaining: true;
|
|
98
|
+
}];
|
|
99
|
+
readonly "ts/no-unsafe-return": State.ON;
|
|
100
|
+
readonly "ts/no-unsafe-unary-minus": State.ON;
|
|
101
|
+
readonly "ts/no-useless-empty-export": State.ON;
|
|
102
|
+
readonly "ts/no-wrapper-object-types": State.ON;
|
|
103
|
+
readonly "ts/parameter-properties": readonly [State.ON, {
|
|
104
|
+
readonly prefer: "parameter-property";
|
|
105
|
+
}];
|
|
106
|
+
readonly "ts/prefer-as-const": State.ON;
|
|
107
|
+
readonly "ts/prefer-find": State.ON;
|
|
108
|
+
readonly "ts/prefer-for-of": State.ON;
|
|
109
|
+
readonly "ts/prefer-function-type": State.ON;
|
|
110
|
+
readonly "ts/prefer-includes": State.ON;
|
|
111
|
+
readonly "ts/prefer-literal-enum-member": State.ON;
|
|
112
|
+
readonly "ts/prefer-namespace-keyword": State.ON;
|
|
113
|
+
readonly "ts/prefer-nullish-coalescing": State.ON;
|
|
114
|
+
readonly "ts/prefer-optional-chain": State.ON;
|
|
115
|
+
readonly "ts/prefer-readonly": State.ON;
|
|
116
|
+
readonly "ts/prefer-reduce-type-parameter": State.ON;
|
|
117
|
+
readonly "ts/prefer-regexp-exec": State.ON;
|
|
118
|
+
readonly "ts/prefer-return-this-type": State.ON;
|
|
119
|
+
readonly "ts/prefer-string-starts-ends-with": State.ON;
|
|
120
|
+
readonly "ts/promise-function-async": State.ON;
|
|
121
|
+
readonly "ts/related-getter-setter-pairs": State.ON;
|
|
122
|
+
readonly "ts/require-array-sort-compare": State.ON;
|
|
123
|
+
readonly "ts/restrict-plus-operands": readonly [State.ON, {
|
|
124
|
+
readonly allowAny: false;
|
|
125
|
+
readonly allowBoolean: false;
|
|
126
|
+
readonly allowNullish: false;
|
|
127
|
+
readonly allowNumberAndString: false;
|
|
128
|
+
readonly allowRegExp: false;
|
|
129
|
+
}];
|
|
130
|
+
readonly "ts/restrict-template-expressions": readonly [State.ON, {
|
|
131
|
+
readonly allowNullish: false;
|
|
132
|
+
readonly allowNever: false;
|
|
133
|
+
readonly allowRegExp: false;
|
|
134
|
+
}];
|
|
135
|
+
readonly "ts/return-await": State.ON;
|
|
136
|
+
readonly "ts/strict-boolean-expressions": readonly [State.ON, {
|
|
137
|
+
readonly allowNullableObject: false;
|
|
138
|
+
readonly allowString: false;
|
|
139
|
+
}];
|
|
140
|
+
readonly "ts/switch-exhaustiveness-check": readonly [State.ON, {
|
|
141
|
+
readonly requireDefaultForNonUnion: true;
|
|
142
|
+
readonly considerDefaultExhaustiveForUnions: true;
|
|
143
|
+
}];
|
|
144
|
+
readonly "ts/unbound-method": State.ON;
|
|
145
|
+
readonly "ts/use-unknown-in-catch-callback-variable": State.ON;
|
|
185
146
|
};
|
|
186
147
|
} | {
|
|
187
148
|
rules: {
|
|
188
|
-
readonly "dot-notation":
|
|
189
|
-
readonly "ts/dot-notation": readonly [
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
readonly "no-
|
|
198
|
-
readonly "ts/no-
|
|
199
|
-
readonly "no-
|
|
200
|
-
readonly "
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
readonly "
|
|
204
|
-
|
|
205
|
-
{
|
|
206
|
-
readonly
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
readonly "
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
];
|
|
219
|
-
readonly "prefer-promise-reject-errors": import("../state.js").State.OFF;
|
|
220
|
-
readonly "ts/prefer-promise-reject-errors": readonly [
|
|
221
|
-
import("../state.js").State.ON,
|
|
222
|
-
{
|
|
223
|
-
readonly allowThrowingUnknown: true;
|
|
224
|
-
}
|
|
225
|
-
];
|
|
226
|
-
readonly "require-await": import("../state.js").State.OFF;
|
|
227
|
-
readonly "ts/require-await": import("../state.js").State.ON;
|
|
149
|
+
readonly "dot-notation": State.OFF;
|
|
150
|
+
readonly "ts/dot-notation": readonly [State.ON, {
|
|
151
|
+
readonly allowPrivateClassPropertyAccess: true;
|
|
152
|
+
readonly allowProtectedClassPropertyAccess: true;
|
|
153
|
+
readonly allowIndexSignaturePropertyAccess: true;
|
|
154
|
+
}];
|
|
155
|
+
readonly "no-implied-eval": State.OFF;
|
|
156
|
+
readonly "ts/no-implied-eval": State.ON;
|
|
157
|
+
readonly "no-restricted-imports": State.OFF;
|
|
158
|
+
readonly "no-unused-vars": State.OFF;
|
|
159
|
+
readonly "ts/no-unused-vars": State.ON;
|
|
160
|
+
readonly "no-throw-literal": State.OFF;
|
|
161
|
+
readonly "ts/only-throw-error": readonly [State.ON, {
|
|
162
|
+
readonly allowThrowingAny: false;
|
|
163
|
+
}];
|
|
164
|
+
readonly "prefer-destructuring": State.OFF;
|
|
165
|
+
readonly "ts/prefer-destructuring": readonly [State.ON, {
|
|
166
|
+
readonly AssignmentExpression: {
|
|
167
|
+
readonly array: false;
|
|
168
|
+
readonly object: false;
|
|
169
|
+
};
|
|
170
|
+
}];
|
|
171
|
+
readonly "prefer-promise-reject-errors": State.OFF;
|
|
172
|
+
readonly "ts/prefer-promise-reject-errors": readonly [State.ON, {
|
|
173
|
+
readonly allowThrowingUnknown: true;
|
|
174
|
+
}];
|
|
175
|
+
readonly "require-await": State.OFF;
|
|
176
|
+
readonly "ts/require-await": State.ON;
|
|
228
177
|
};
|
|
229
178
|
})[];
|
|
230
179
|
export default _default;
|
|
231
|
-
//# sourceMappingURL=index.d.ts.map
|
|
180
|
+
//# sourceMappingURL=index.d.ts.map
|