typescript-eslint 0.0.1-alpha.0 → 7.0.1
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/LICENSE +21 -0
- package/README.md +12 -0
- package/dist/config-helper.d.ts +67 -0
- package/dist/config-helper.d.ts.map +1 -0
- package/dist/config-helper.js +41 -0
- package/dist/config-helper.js.map +1 -0
- package/dist/configs/all.d.ts +4 -0
- package/dist/configs/all.d.ts.map +1 -0
- package/dist/configs/all.js +165 -0
- package/dist/configs/all.js.map +1 -0
- package/dist/configs/base.d.ts +4 -0
- package/dist/configs/base.d.ts.map +1 -0
- package/dist/configs/base.js +12 -0
- package/dist/configs/base.js.map +1 -0
- package/dist/configs/disable-type-checked.d.ts +4 -0
- package/dist/configs/disable-type-checked.d.ts.map +1 -0
- package/dist/configs/disable-type-checked.js +65 -0
- package/dist/configs/disable-type-checked.js.map +1 -0
- package/dist/configs/eslint-recommended.d.ts +9 -0
- package/dist/configs/eslint-recommended.d.ts.map +1 -0
- package/dist/configs/eslint-recommended.js +13 -0
- package/dist/configs/eslint-recommended.js.map +1 -0
- package/dist/configs/recommended-type-checked.d.ts +4 -0
- package/dist/configs/recommended-type-checked.d.ts.map +1 -0
- package/dist/configs/recommended-type-checked.js +63 -0
- package/dist/configs/recommended-type-checked.js.map +1 -0
- package/dist/configs/recommended.d.ts +4 -0
- package/dist/configs/recommended.d.ts.map +1 -0
- package/dist/configs/recommended.js +42 -0
- package/dist/configs/recommended.js.map +1 -0
- package/dist/configs/strict-type-checked.d.ts +4 -0
- package/dist/configs/strict-type-checked.d.ts.map +1 -0
- package/dist/configs/strict-type-checked.js +88 -0
- package/dist/configs/strict-type-checked.js.map +1 -0
- package/dist/configs/strict.d.ts +4 -0
- package/dist/configs/strict.d.ts.map +1 -0
- package/dist/configs/strict.js +52 -0
- package/dist/configs/strict.js.map +1 -0
- package/dist/configs/stylistic-type-checked.d.ts +4 -0
- package/dist/configs/stylistic-type-checked.d.ts.map +1 -0
- package/dist/configs/stylistic-type-checked.js +44 -0
- package/dist/configs/stylistic-type-checked.js.map +1 -0
- package/dist/configs/stylistic.d.ts +4 -0
- package/dist/configs/stylistic.d.ts.map +1 -0
- package/dist/configs/stylistic.js +38 -0
- package/dist/configs/stylistic.js.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +66 -0
- package/dist/index.js.map +1 -0
- package/package.json +77 -7
- package/index.js +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 typescript-eslint and other contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# `typescript-eslint`
|
|
2
|
+
|
|
3
|
+
> Tooling which enables you to use TypeScript with ESLint
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/typescript-eslint)
|
|
6
|
+
[](https://www.npmjs.com/package/typescript-eslint)
|
|
7
|
+
|
|
8
|
+
👉 See **https://typescript-eslint.io/packages/typescript-eslint** for documentation on this package.
|
|
9
|
+
|
|
10
|
+
> See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code.
|
|
11
|
+
|
|
12
|
+
<!-- Local path for docs: docs/packages/typescript-eslint.mdx -->
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
|
2
|
+
interface ConfigWithExtends extends FlatConfig.Config {
|
|
3
|
+
/**
|
|
4
|
+
* Allows you to "extend" a set of configs similar to `extends` from the
|
|
5
|
+
* classic configs.
|
|
6
|
+
*
|
|
7
|
+
* This is just a convenience short-hand to help reduce duplication.
|
|
8
|
+
*
|
|
9
|
+
* ```js
|
|
10
|
+
* export default tseslint.config({
|
|
11
|
+
* files: ['** /*.ts'],
|
|
12
|
+
* extends: [
|
|
13
|
+
* eslint.configs.recommended,
|
|
14
|
+
* tseslint.configs.recommended,
|
|
15
|
+
* ],
|
|
16
|
+
* rules: {
|
|
17
|
+
* '@typescript-eslint/array-type': 'error',
|
|
18
|
+
* '@typescript-eslint/consistent-type-imports': 'error',
|
|
19
|
+
* },
|
|
20
|
+
* })
|
|
21
|
+
*
|
|
22
|
+
* // expands to
|
|
23
|
+
*
|
|
24
|
+
* export default [
|
|
25
|
+
* {
|
|
26
|
+
* ...eslint.configs.recommended,
|
|
27
|
+
* files: ['** /*.ts'],
|
|
28
|
+
* },
|
|
29
|
+
* ...tseslint.configs.recommended.map(conf => ({
|
|
30
|
+
* ...conf,
|
|
31
|
+
* files: ['** /*.ts'],
|
|
32
|
+
* })),
|
|
33
|
+
* {
|
|
34
|
+
* files: ['** /*.ts'],
|
|
35
|
+
* rules: {
|
|
36
|
+
* '@typescript-eslint/array-type': 'error',
|
|
37
|
+
* '@typescript-eslint/consistent-type-imports': 'error',
|
|
38
|
+
* },
|
|
39
|
+
* },
|
|
40
|
+
* ]
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
extends?: FlatConfig.ConfigArray;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Utility function to make it easy to strictly type your "Flat" config file
|
|
47
|
+
* @example
|
|
48
|
+
* ```js
|
|
49
|
+
* // @ts-check
|
|
50
|
+
*
|
|
51
|
+
* import eslint from '@eslint/js';
|
|
52
|
+
* import tseslint from 'typescript-eslint';
|
|
53
|
+
*
|
|
54
|
+
* export default tseslint.config(
|
|
55
|
+
* eslint.configs.recommended,
|
|
56
|
+
* ...tseslint.configs.recommended,
|
|
57
|
+
* {
|
|
58
|
+
* rules: {
|
|
59
|
+
* '@typescript-eslint/array-type': 'error',
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* );
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function config(...configs: ConfigWithExtends[]): FlatConfig.ConfigArray;
|
|
66
|
+
export {};
|
|
67
|
+
//# sourceMappingURL=config-helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-helper.d.ts","sourceRoot":"","sources":["../src/config-helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAErE,UAAU,iBAAkB,SAAQ,UAAU,CAAC,MAAM;IACnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC;CAClC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,MAAM,CACpB,GAAG,OAAO,EAAE,iBAAiB,EAAE,GAC9B,UAAU,CAAC,WAAW,CAiBxB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.config = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Utility function to make it easy to strictly type your "Flat" config file
|
|
6
|
+
* @example
|
|
7
|
+
* ```js
|
|
8
|
+
* // @ts-check
|
|
9
|
+
*
|
|
10
|
+
* import eslint from '@eslint/js';
|
|
11
|
+
* import tseslint from 'typescript-eslint';
|
|
12
|
+
*
|
|
13
|
+
* export default tseslint.config(
|
|
14
|
+
* eslint.configs.recommended,
|
|
15
|
+
* ...tseslint.configs.recommended,
|
|
16
|
+
* {
|
|
17
|
+
* rules: {
|
|
18
|
+
* '@typescript-eslint/array-type': 'error',
|
|
19
|
+
* },
|
|
20
|
+
* },
|
|
21
|
+
* );
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function config(...configs) {
|
|
25
|
+
return configs.flatMap(configWithExtends => {
|
|
26
|
+
const { extends: extendsArr, ...config } = configWithExtends;
|
|
27
|
+
if (extendsArr == null || extendsArr.length === 0) {
|
|
28
|
+
return config;
|
|
29
|
+
}
|
|
30
|
+
if (config.files) {
|
|
31
|
+
const files = config.files;
|
|
32
|
+
return [
|
|
33
|
+
...extendsArr.map(conf => ({ ...conf, files: [...files] })),
|
|
34
|
+
config,
|
|
35
|
+
];
|
|
36
|
+
}
|
|
37
|
+
return [...extendsArr, config];
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
exports.config = config;
|
|
41
|
+
//# sourceMappingURL=config-helper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-helper.js","sourceRoot":"","sources":["../src/config-helper.ts"],"names":[],"mappings":";;;AA8CA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,MAAM,CACpB,GAAG,OAA4B;IAE/B,OAAO,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE;QACzC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM,EAAE,GAAG,iBAAiB,CAAC;QAC7D,IAAI,UAAU,IAAI,IAAI,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAClD,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YACjB,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;YAC3B,OAAO;gBACL,GAAG,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC,EAAE,CAAC,CAAC;gBAC3D,MAAM;aACP,CAAC;QACJ,CAAC;QAED,OAAO,CAAC,GAAG,UAAU,EAAE,MAAM,CAAC,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC;AAnBD,wBAmBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"all.d.ts","sourceRoot":"","sources":["../../src/configs/all.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;iCAM3D,WAAW,MAAM,UACjB,WAAW,MAAM;AAF3B,wBAyJE"}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
+
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
+
// SEE https://typescript-eslint.io/linting/configs
|
|
5
|
+
//
|
|
6
|
+
// For developers working in the typescript-eslint monorepo:
|
|
7
|
+
// You can regenerate it using `yarn generate:configs`
|
|
8
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const base_1 = __importDefault(require("./base"));
|
|
13
|
+
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
|
14
|
+
exports.default = (plugin, parser) => [
|
|
15
|
+
(0, base_1.default)(plugin, parser),
|
|
16
|
+
(0, eslint_recommended_1.default)(plugin, parser),
|
|
17
|
+
{
|
|
18
|
+
rules: {
|
|
19
|
+
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
|
20
|
+
'@typescript-eslint/array-type': 'error',
|
|
21
|
+
'@typescript-eslint/await-thenable': 'error',
|
|
22
|
+
'@typescript-eslint/ban-ts-comment': 'error',
|
|
23
|
+
'@typescript-eslint/ban-tslint-comment': 'error',
|
|
24
|
+
'@typescript-eslint/ban-types': 'error',
|
|
25
|
+
'@typescript-eslint/class-literal-property-style': 'error',
|
|
26
|
+
'class-methods-use-this': 'off',
|
|
27
|
+
'@typescript-eslint/class-methods-use-this': 'error',
|
|
28
|
+
'@typescript-eslint/consistent-generic-constructors': 'error',
|
|
29
|
+
'@typescript-eslint/consistent-indexed-object-style': 'error',
|
|
30
|
+
'@typescript-eslint/consistent-type-assertions': 'error',
|
|
31
|
+
'@typescript-eslint/consistent-type-definitions': 'error',
|
|
32
|
+
'@typescript-eslint/consistent-type-exports': 'error',
|
|
33
|
+
'@typescript-eslint/consistent-type-imports': 'error',
|
|
34
|
+
'default-param-last': 'off',
|
|
35
|
+
'@typescript-eslint/default-param-last': 'error',
|
|
36
|
+
'dot-notation': 'off',
|
|
37
|
+
'@typescript-eslint/dot-notation': 'error',
|
|
38
|
+
'@typescript-eslint/explicit-function-return-type': 'error',
|
|
39
|
+
'@typescript-eslint/explicit-member-accessibility': 'error',
|
|
40
|
+
'@typescript-eslint/explicit-module-boundary-types': 'error',
|
|
41
|
+
'init-declarations': 'off',
|
|
42
|
+
'@typescript-eslint/init-declarations': 'error',
|
|
43
|
+
'max-params': 'off',
|
|
44
|
+
'@typescript-eslint/max-params': 'error',
|
|
45
|
+
'@typescript-eslint/member-ordering': 'error',
|
|
46
|
+
'@typescript-eslint/method-signature-style': 'error',
|
|
47
|
+
'@typescript-eslint/naming-convention': 'error',
|
|
48
|
+
'no-array-constructor': 'off',
|
|
49
|
+
'@typescript-eslint/no-array-constructor': 'error',
|
|
50
|
+
'@typescript-eslint/no-array-delete': 'error',
|
|
51
|
+
'@typescript-eslint/no-base-to-string': 'error',
|
|
52
|
+
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
|
|
53
|
+
'@typescript-eslint/no-confusing-void-expression': 'error',
|
|
54
|
+
'no-dupe-class-members': 'off',
|
|
55
|
+
'@typescript-eslint/no-dupe-class-members': 'error',
|
|
56
|
+
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
|
57
|
+
'@typescript-eslint/no-duplicate-type-constituents': 'error',
|
|
58
|
+
'@typescript-eslint/no-dynamic-delete': 'error',
|
|
59
|
+
'no-empty-function': 'off',
|
|
60
|
+
'@typescript-eslint/no-empty-function': 'error',
|
|
61
|
+
'@typescript-eslint/no-empty-interface': 'error',
|
|
62
|
+
'@typescript-eslint/no-explicit-any': 'error',
|
|
63
|
+
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
|
64
|
+
'@typescript-eslint/no-extraneous-class': 'error',
|
|
65
|
+
'@typescript-eslint/no-floating-promises': 'error',
|
|
66
|
+
'@typescript-eslint/no-for-in-array': 'error',
|
|
67
|
+
'no-implied-eval': 'off',
|
|
68
|
+
'@typescript-eslint/no-implied-eval': 'error',
|
|
69
|
+
'@typescript-eslint/no-import-type-side-effects': 'error',
|
|
70
|
+
'@typescript-eslint/no-inferrable-types': 'error',
|
|
71
|
+
'no-invalid-this': 'off',
|
|
72
|
+
'@typescript-eslint/no-invalid-this': 'error',
|
|
73
|
+
'@typescript-eslint/no-invalid-void-type': 'error',
|
|
74
|
+
'no-loop-func': 'off',
|
|
75
|
+
'@typescript-eslint/no-loop-func': 'error',
|
|
76
|
+
'no-loss-of-precision': 'off',
|
|
77
|
+
'@typescript-eslint/no-loss-of-precision': 'error',
|
|
78
|
+
'no-magic-numbers': 'off',
|
|
79
|
+
'@typescript-eslint/no-magic-numbers': 'error',
|
|
80
|
+
'@typescript-eslint/no-meaningless-void-operator': 'error',
|
|
81
|
+
'@typescript-eslint/no-misused-new': 'error',
|
|
82
|
+
'@typescript-eslint/no-misused-promises': 'error',
|
|
83
|
+
'@typescript-eslint/no-mixed-enums': 'error',
|
|
84
|
+
'@typescript-eslint/no-namespace': 'error',
|
|
85
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
|
86
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
|
87
|
+
'@typescript-eslint/no-non-null-assertion': 'error',
|
|
88
|
+
'no-redeclare': 'off',
|
|
89
|
+
'@typescript-eslint/no-redeclare': 'error',
|
|
90
|
+
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
|
91
|
+
'@typescript-eslint/no-require-imports': 'error',
|
|
92
|
+
'no-restricted-imports': 'off',
|
|
93
|
+
'@typescript-eslint/no-restricted-imports': 'error',
|
|
94
|
+
'no-shadow': 'off',
|
|
95
|
+
'@typescript-eslint/no-shadow': 'error',
|
|
96
|
+
'@typescript-eslint/no-this-alias': 'error',
|
|
97
|
+
'no-throw-literal': 'off',
|
|
98
|
+
'@typescript-eslint/no-throw-literal': 'error',
|
|
99
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
|
|
100
|
+
'@typescript-eslint/no-unnecessary-condition': 'error',
|
|
101
|
+
'@typescript-eslint/no-unnecessary-qualifier': 'error',
|
|
102
|
+
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
|
|
103
|
+
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
|
104
|
+
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
|
105
|
+
'@typescript-eslint/no-unsafe-argument': 'error',
|
|
106
|
+
'@typescript-eslint/no-unsafe-assignment': 'error',
|
|
107
|
+
'@typescript-eslint/no-unsafe-call': 'error',
|
|
108
|
+
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
|
109
|
+
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
|
|
110
|
+
'@typescript-eslint/no-unsafe-member-access': 'error',
|
|
111
|
+
'@typescript-eslint/no-unsafe-return': 'error',
|
|
112
|
+
'@typescript-eslint/no-unsafe-unary-minus': 'error',
|
|
113
|
+
'no-unused-expressions': 'off',
|
|
114
|
+
'@typescript-eslint/no-unused-expressions': 'error',
|
|
115
|
+
'no-unused-vars': 'off',
|
|
116
|
+
'@typescript-eslint/no-unused-vars': 'error',
|
|
117
|
+
'no-use-before-define': 'off',
|
|
118
|
+
'@typescript-eslint/no-use-before-define': 'error',
|
|
119
|
+
'no-useless-constructor': 'off',
|
|
120
|
+
'@typescript-eslint/no-useless-constructor': 'error',
|
|
121
|
+
'@typescript-eslint/no-useless-empty-export': 'error',
|
|
122
|
+
'@typescript-eslint/no-useless-template-literals': 'error',
|
|
123
|
+
'@typescript-eslint/no-var-requires': 'error',
|
|
124
|
+
'@typescript-eslint/non-nullable-type-assertion-style': 'error',
|
|
125
|
+
'@typescript-eslint/parameter-properties': 'error',
|
|
126
|
+
'@typescript-eslint/prefer-as-const': 'error',
|
|
127
|
+
'prefer-destructuring': 'off',
|
|
128
|
+
'@typescript-eslint/prefer-destructuring': 'error',
|
|
129
|
+
'@typescript-eslint/prefer-enum-initializers': 'error',
|
|
130
|
+
'@typescript-eslint/prefer-find': 'error',
|
|
131
|
+
'@typescript-eslint/prefer-for-of': 'error',
|
|
132
|
+
'@typescript-eslint/prefer-function-type': 'error',
|
|
133
|
+
'@typescript-eslint/prefer-includes': 'error',
|
|
134
|
+
'@typescript-eslint/prefer-literal-enum-member': 'error',
|
|
135
|
+
'@typescript-eslint/prefer-namespace-keyword': 'error',
|
|
136
|
+
'@typescript-eslint/prefer-nullish-coalescing': 'error',
|
|
137
|
+
'@typescript-eslint/prefer-optional-chain': 'error',
|
|
138
|
+
'prefer-promise-reject-errors': 'off',
|
|
139
|
+
'@typescript-eslint/prefer-promise-reject-errors': 'error',
|
|
140
|
+
'@typescript-eslint/prefer-readonly': 'error',
|
|
141
|
+
'@typescript-eslint/prefer-readonly-parameter-types': 'error',
|
|
142
|
+
'@typescript-eslint/prefer-reduce-type-parameter': 'error',
|
|
143
|
+
'@typescript-eslint/prefer-regexp-exec': 'error',
|
|
144
|
+
'@typescript-eslint/prefer-return-this-type': 'error',
|
|
145
|
+
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
|
|
146
|
+
'@typescript-eslint/prefer-ts-expect-error': 'error',
|
|
147
|
+
'@typescript-eslint/promise-function-async': 'error',
|
|
148
|
+
'@typescript-eslint/require-array-sort-compare': 'error',
|
|
149
|
+
'require-await': 'off',
|
|
150
|
+
'@typescript-eslint/require-await': 'error',
|
|
151
|
+
'@typescript-eslint/restrict-plus-operands': 'error',
|
|
152
|
+
'@typescript-eslint/restrict-template-expressions': 'error',
|
|
153
|
+
'no-return-await': 'off',
|
|
154
|
+
'@typescript-eslint/return-await': 'error',
|
|
155
|
+
'@typescript-eslint/sort-type-constituents': 'error',
|
|
156
|
+
'@typescript-eslint/strict-boolean-expressions': 'error',
|
|
157
|
+
'@typescript-eslint/switch-exhaustiveness-check': 'error',
|
|
158
|
+
'@typescript-eslint/triple-slash-reference': 'error',
|
|
159
|
+
'@typescript-eslint/typedef': 'error',
|
|
160
|
+
'@typescript-eslint/unbound-method': 'error',
|
|
161
|
+
'@typescript-eslint/unified-signatures': 'error',
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
];
|
|
165
|
+
//# sourceMappingURL=all.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"all.js","sourceRoot":"","sources":["../../src/configs/all.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mDAAmD;AACnD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D,kBAAe,CACb,MAAyB,EACzB,MAAyB,EAC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C3C,2CAA2C,EAAE,OAAO;YACpD,kDAAkD,EAAE,OAAO;YAC3D,iBAAiB,EAAE,KAAK;YACxB,iCAAiC,EAAE,OAAO;YAC1C,2CAA2C,EAAE,OAAO;YACpD,+CAA+C,EAAE,OAAO;YACxD,gDAAgD,EAAE,OAAO;YACzD,2CAA2C,EAAE,OAAO;YACpD,4BAA4B,EAAE,OAAO;YACrC,mCAAmC,EAAE,OAAO;YAC5C,uCAAuC,EAAE,OAAO;SACjD;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/configs/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;iCAG3D,WAAW,MAAM,UACjB,WAAW,MAAM,KACxB,WAAW,MAAM;AAHpB,wBAWG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = (plugin, parser) => ({
|
|
4
|
+
languageOptions: {
|
|
5
|
+
parser,
|
|
6
|
+
parserOptions: { sourceType: 'module' },
|
|
7
|
+
},
|
|
8
|
+
plugins: {
|
|
9
|
+
'@typescript-eslint': plugin,
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/configs/base.ts"],"names":[],"mappings":";;AAEA,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACN,EAAE,CAAC,CAAC;IACvB,eAAe,EAAE;QACf,MAAM;QACN,aAAa,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE;KACxC;IACD,OAAO,EAAE;QACP,oBAAoB,EAAE,MAAM;KAC7B;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disable-type-checked.d.ts","sourceRoot":"","sources":["../../src/configs/disable-type-checked.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;kCAG1D,WAAW,MAAM,WACjB,WAAW,MAAM,KACzB,WAAW,MAAM;AAHpB,wBA0DG"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
+
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
+
// SEE https://typescript-eslint.io/linting/configs
|
|
5
|
+
//
|
|
6
|
+
// For developers working in the typescript-eslint monorepo:
|
|
7
|
+
// You can regenerate it using `yarn generate:configs`
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.default = (_plugin, _parser) => ({
|
|
10
|
+
rules: {
|
|
11
|
+
'@typescript-eslint/await-thenable': 'off',
|
|
12
|
+
'@typescript-eslint/consistent-type-exports': 'off',
|
|
13
|
+
'@typescript-eslint/dot-notation': 'off',
|
|
14
|
+
'@typescript-eslint/naming-convention': 'off',
|
|
15
|
+
'@typescript-eslint/no-array-delete': 'off',
|
|
16
|
+
'@typescript-eslint/no-base-to-string': 'off',
|
|
17
|
+
'@typescript-eslint/no-confusing-void-expression': 'off',
|
|
18
|
+
'@typescript-eslint/no-duplicate-type-constituents': 'off',
|
|
19
|
+
'@typescript-eslint/no-floating-promises': 'off',
|
|
20
|
+
'@typescript-eslint/no-for-in-array': 'off',
|
|
21
|
+
'@typescript-eslint/no-implied-eval': 'off',
|
|
22
|
+
'@typescript-eslint/no-meaningless-void-operator': 'off',
|
|
23
|
+
'@typescript-eslint/no-misused-promises': 'off',
|
|
24
|
+
'@typescript-eslint/no-mixed-enums': 'off',
|
|
25
|
+
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
|
26
|
+
'@typescript-eslint/no-throw-literal': 'off',
|
|
27
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off',
|
|
28
|
+
'@typescript-eslint/no-unnecessary-condition': 'off',
|
|
29
|
+
'@typescript-eslint/no-unnecessary-qualifier': 'off',
|
|
30
|
+
'@typescript-eslint/no-unnecessary-type-arguments': 'off',
|
|
31
|
+
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
|
|
32
|
+
'@typescript-eslint/no-unsafe-argument': 'off',
|
|
33
|
+
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
34
|
+
'@typescript-eslint/no-unsafe-call': 'off',
|
|
35
|
+
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
|
|
36
|
+
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
37
|
+
'@typescript-eslint/no-unsafe-return': 'off',
|
|
38
|
+
'@typescript-eslint/no-unsafe-unary-minus': 'off',
|
|
39
|
+
'@typescript-eslint/no-useless-template-literals': 'off',
|
|
40
|
+
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
|
|
41
|
+
'@typescript-eslint/prefer-destructuring': 'off',
|
|
42
|
+
'@typescript-eslint/prefer-find': 'off',
|
|
43
|
+
'@typescript-eslint/prefer-includes': 'off',
|
|
44
|
+
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
|
45
|
+
'@typescript-eslint/prefer-optional-chain': 'off',
|
|
46
|
+
'@typescript-eslint/prefer-promise-reject-errors': 'off',
|
|
47
|
+
'@typescript-eslint/prefer-readonly': 'off',
|
|
48
|
+
'@typescript-eslint/prefer-readonly-parameter-types': 'off',
|
|
49
|
+
'@typescript-eslint/prefer-reduce-type-parameter': 'off',
|
|
50
|
+
'@typescript-eslint/prefer-regexp-exec': 'off',
|
|
51
|
+
'@typescript-eslint/prefer-return-this-type': 'off',
|
|
52
|
+
'@typescript-eslint/prefer-string-starts-ends-with': 'off',
|
|
53
|
+
'@typescript-eslint/promise-function-async': 'off',
|
|
54
|
+
'@typescript-eslint/require-array-sort-compare': 'off',
|
|
55
|
+
'@typescript-eslint/require-await': 'off',
|
|
56
|
+
'@typescript-eslint/restrict-plus-operands': 'off',
|
|
57
|
+
'@typescript-eslint/restrict-template-expressions': 'off',
|
|
58
|
+
'@typescript-eslint/return-await': 'off',
|
|
59
|
+
'@typescript-eslint/strict-boolean-expressions': 'off',
|
|
60
|
+
'@typescript-eslint/switch-exhaustiveness-check': 'off',
|
|
61
|
+
'@typescript-eslint/unbound-method': 'off',
|
|
62
|
+
},
|
|
63
|
+
languageOptions: { parserOptions: { project: false, program: null } },
|
|
64
|
+
});
|
|
65
|
+
//# sourceMappingURL=disable-type-checked.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disable-type-checked.js","sourceRoot":"","sources":["../../src/configs/disable-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mDAAmD;AACnD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;AAItD,kBAAe,CACb,OAA0B,EAC1B,OAA0B,EACP,EAAE,CAAC,CAAC;IACvB,KAAK,EAAE;QACL,mCAAmC,EAAE,KAAK;QAC1C,4CAA4C,EAAE,KAAK;QACnD,iCAAiC,EAAE,KAAK;QACxC,sCAAsC,EAAE,KAAK;QAC7C,oCAAoC,EAAE,KAAK;QAC3C,sCAAsC,EAAE,KAAK;QAC7C,iDAAiD,EAAE,KAAK;QACxD,mDAAmD,EAAE,KAAK;QAC1D,yCAAyC,EAAE,KAAK;QAChD,oCAAoC,EAAE,KAAK;QAC3C,oCAAoC,EAAE,KAAK;QAC3C,iDAAiD,EAAE,KAAK;QACxD,wCAAwC,EAAE,KAAK;QAC/C,mCAAmC,EAAE,KAAK;QAC1C,mDAAmD,EAAE,KAAK;QAC1D,qCAAqC,EAAE,KAAK;QAC5C,2DAA2D,EAAE,KAAK;QAClE,6CAA6C,EAAE,KAAK;QACpD,6CAA6C,EAAE,KAAK;QACpD,kDAAkD,EAAE,KAAK;QACzD,kDAAkD,EAAE,KAAK;QACzD,uCAAuC,EAAE,KAAK;QAC9C,yCAAyC,EAAE,KAAK;QAChD,mCAAmC,EAAE,KAAK;QAC1C,8CAA8C,EAAE,KAAK;QACrD,4CAA4C,EAAE,KAAK;QACnD,qCAAqC,EAAE,KAAK;QAC5C,0CAA0C,EAAE,KAAK;QACjD,iDAAiD,EAAE,KAAK;QACxD,sDAAsD,EAAE,KAAK;QAC7D,yCAAyC,EAAE,KAAK;QAChD,gCAAgC,EAAE,KAAK;QACvC,oCAAoC,EAAE,KAAK;QAC3C,8CAA8C,EAAE,KAAK;QACrD,0CAA0C,EAAE,KAAK;QACjD,iDAAiD,EAAE,KAAK;QACxD,oCAAoC,EAAE,KAAK;QAC3C,oDAAoD,EAAE,KAAK;QAC3D,iDAAiD,EAAE,KAAK;QACxD,uCAAuC,EAAE,KAAK;QAC9C,4CAA4C,EAAE,KAAK;QACnD,mDAAmD,EAAE,KAAK;QAC1D,2CAA2C,EAAE,KAAK;QAClD,+CAA+C,EAAE,KAAK;QACtD,kCAAkC,EAAE,KAAK;QACzC,2CAA2C,EAAE,KAAK;QAClD,kDAAkD,EAAE,KAAK;QACzD,iCAAiC,EAAE,KAAK;QACxC,+CAA+C,EAAE,KAAK;QACtD,gDAAgD,EAAE,KAAK;QACvD,mCAAmC,EAAE,KAAK;KAC3C;IACD,eAAe,EAAE,EAAE,aAAa,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;CACtE,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
|
2
|
+
/**
|
|
3
|
+
* This is a compatibility ruleset that:
|
|
4
|
+
* - disables rules from eslint:recommended which are already handled by TypeScript.
|
|
5
|
+
* - enables rules that make sense due to TS's typechecking / transpilation.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: (_plugin: FlatConfig.Plugin, _parser: FlatConfig.Parser) => FlatConfig.Config;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=eslint-recommended.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eslint-recommended.d.ts","sourceRoot":"","sources":["../../src/configs/eslint-recommended.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAErE;;;;GAIG;kCAEQ,WAAW,MAAM,WACjB,WAAW,MAAM,KACzB,WAAW,MAAM;AAHpB,wBAG4C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const eslint_recommended_raw_1 = __importDefault(require("@typescript-eslint/eslint-plugin/use-at-your-own-risk/eslint-recommended-raw"));
|
|
7
|
+
/**
|
|
8
|
+
* This is a compatibility ruleset that:
|
|
9
|
+
* - disables rules from eslint:recommended which are already handled by TypeScript.
|
|
10
|
+
* - enables rules that make sense due to TS's typechecking / transpilation.
|
|
11
|
+
*/
|
|
12
|
+
exports.default = (_plugin, _parser) => (0, eslint_recommended_raw_1.default)('minimatch');
|
|
13
|
+
//# sourceMappingURL=eslint-recommended.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eslint-recommended.js","sourceRoot":"","sources":["../../src/configs/eslint-recommended.ts"],"names":[],"mappings":";;;;;AAAA,0IAAkG;AAGlG;;;;GAIG;AACH,kBAAe,CACb,OAA0B,EAC1B,OAA0B,EACP,EAAE,CAAC,IAAA,gCAAM,EAAC,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommended-type-checked.d.ts","sourceRoot":"","sources":["../../src/configs/recommended-type-checked.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;iCAM3D,WAAW,MAAM,UACjB,WAAW,MAAM;AAF3B,wBAmDE"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
+
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
+
// SEE https://typescript-eslint.io/linting/configs
|
|
5
|
+
//
|
|
6
|
+
// For developers working in the typescript-eslint monorepo:
|
|
7
|
+
// You can regenerate it using `yarn generate:configs`
|
|
8
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const base_1 = __importDefault(require("./base"));
|
|
13
|
+
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
|
14
|
+
exports.default = (plugin, parser) => [
|
|
15
|
+
(0, base_1.default)(plugin, parser),
|
|
16
|
+
(0, eslint_recommended_1.default)(plugin, parser),
|
|
17
|
+
{
|
|
18
|
+
rules: {
|
|
19
|
+
'@typescript-eslint/await-thenable': 'error',
|
|
20
|
+
'@typescript-eslint/ban-ts-comment': 'error',
|
|
21
|
+
'@typescript-eslint/ban-types': 'error',
|
|
22
|
+
'no-array-constructor': 'off',
|
|
23
|
+
'@typescript-eslint/no-array-constructor': 'error',
|
|
24
|
+
'@typescript-eslint/no-base-to-string': 'error',
|
|
25
|
+
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
|
26
|
+
'@typescript-eslint/no-duplicate-type-constituents': 'error',
|
|
27
|
+
'@typescript-eslint/no-explicit-any': 'error',
|
|
28
|
+
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
|
29
|
+
'@typescript-eslint/no-floating-promises': 'error',
|
|
30
|
+
'@typescript-eslint/no-for-in-array': 'error',
|
|
31
|
+
'no-implied-eval': 'off',
|
|
32
|
+
'@typescript-eslint/no-implied-eval': 'error',
|
|
33
|
+
'no-loss-of-precision': 'off',
|
|
34
|
+
'@typescript-eslint/no-loss-of-precision': 'error',
|
|
35
|
+
'@typescript-eslint/no-misused-new': 'error',
|
|
36
|
+
'@typescript-eslint/no-misused-promises': 'error',
|
|
37
|
+
'@typescript-eslint/no-namespace': 'error',
|
|
38
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
|
39
|
+
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
|
40
|
+
'@typescript-eslint/no-this-alias': 'error',
|
|
41
|
+
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
|
42
|
+
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
|
43
|
+
'@typescript-eslint/no-unsafe-argument': 'error',
|
|
44
|
+
'@typescript-eslint/no-unsafe-assignment': 'error',
|
|
45
|
+
'@typescript-eslint/no-unsafe-call': 'error',
|
|
46
|
+
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
|
47
|
+
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
|
|
48
|
+
'@typescript-eslint/no-unsafe-member-access': 'error',
|
|
49
|
+
'@typescript-eslint/no-unsafe-return': 'error',
|
|
50
|
+
'no-unused-vars': 'off',
|
|
51
|
+
'@typescript-eslint/no-unused-vars': 'error',
|
|
52
|
+
'@typescript-eslint/no-var-requires': 'error',
|
|
53
|
+
'@typescript-eslint/prefer-as-const': 'error',
|
|
54
|
+
'require-await': 'off',
|
|
55
|
+
'@typescript-eslint/require-await': 'error',
|
|
56
|
+
'@typescript-eslint/restrict-plus-operands': 'error',
|
|
57
|
+
'@typescript-eslint/restrict-template-expressions': 'error',
|
|
58
|
+
'@typescript-eslint/triple-slash-reference': 'error',
|
|
59
|
+
'@typescript-eslint/unbound-method': 'error',
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
];
|
|
63
|
+
//# sourceMappingURL=recommended-type-checked.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommended-type-checked.js","sourceRoot":"","sources":["../../src/configs/recommended-type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AAE,OAAO;YAC7C,oCAAoC,EAAE,OAAO;YAC7C,eAAe,EAAE,KAAK;YACtB,kCAAkC,EAAE,OAAO;YAC3C,2CAA2C,EAAE,OAAO;YACpD,kDAAkD,EAAE,OAAO;YAC3D,2CAA2C,EAAE,OAAO;YACpD,mCAAmC,EAAE,OAAO;SAC7C;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommended.d.ts","sourceRoot":"","sources":["../../src/configs/recommended.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;iCAM3D,WAAW,MAAM,UACjB,WAAW,MAAM;AAF3B,wBA8BE"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
+
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
+
// SEE https://typescript-eslint.io/linting/configs
|
|
5
|
+
//
|
|
6
|
+
// For developers working in the typescript-eslint monorepo:
|
|
7
|
+
// You can regenerate it using `yarn generate:configs`
|
|
8
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const base_1 = __importDefault(require("./base"));
|
|
13
|
+
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
|
14
|
+
exports.default = (plugin, parser) => [
|
|
15
|
+
(0, base_1.default)(plugin, parser),
|
|
16
|
+
(0, eslint_recommended_1.default)(plugin, parser),
|
|
17
|
+
{
|
|
18
|
+
rules: {
|
|
19
|
+
'@typescript-eslint/ban-ts-comment': 'error',
|
|
20
|
+
'@typescript-eslint/ban-types': 'error',
|
|
21
|
+
'no-array-constructor': 'off',
|
|
22
|
+
'@typescript-eslint/no-array-constructor': 'error',
|
|
23
|
+
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
|
24
|
+
'@typescript-eslint/no-explicit-any': 'error',
|
|
25
|
+
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
|
26
|
+
'no-loss-of-precision': 'off',
|
|
27
|
+
'@typescript-eslint/no-loss-of-precision': 'error',
|
|
28
|
+
'@typescript-eslint/no-misused-new': 'error',
|
|
29
|
+
'@typescript-eslint/no-namespace': 'error',
|
|
30
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
|
31
|
+
'@typescript-eslint/no-this-alias': 'error',
|
|
32
|
+
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
|
33
|
+
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
|
34
|
+
'no-unused-vars': 'off',
|
|
35
|
+
'@typescript-eslint/no-unused-vars': 'error',
|
|
36
|
+
'@typescript-eslint/no-var-requires': 'error',
|
|
37
|
+
'@typescript-eslint/prefer-as-const': 'error',
|
|
38
|
+
'@typescript-eslint/triple-slash-reference': 'error',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
];
|
|
42
|
+
//# sourceMappingURL=recommended.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommended.js","sourceRoot":"","sources":["../../src/configs/recommended.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mDAAmD;AACnD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,KAAK,EAAE;YACL,mCAAmC,EAAE,OAAO;YAC5C,8BAA8B,EAAE,OAAO;YACvC,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,6CAA6C,EAAE,OAAO;YACtD,oCAAoC,EAAE,OAAO;YAC7C,gDAAgD,EAAE,OAAO;YACzD,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,mCAAmC,EAAE,OAAO;YAC5C,iCAAiC,EAAE,OAAO;YAC1C,wDAAwD,EAAE,OAAO;YACjE,kCAAkC,EAAE,OAAO;YAC3C,mDAAmD,EAAE,OAAO;YAC5D,kDAAkD,EAAE,OAAO;YAC3D,gBAAgB,EAAE,KAAK;YACvB,mCAAmC,EAAE,OAAO;YAC5C,oCAAoC,EAAE,OAAO;YAC7C,oCAAoC,EAAE,OAAO;YAC7C,2CAA2C,EAAE,OAAO;SACrD;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strict-type-checked.d.ts","sourceRoot":"","sources":["../../src/configs/strict-type-checked.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;iCAM3D,WAAW,MAAM,UACjB,WAAW,MAAM;AAF3B,wBA4EE"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
+
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
+
// SEE https://typescript-eslint.io/linting/configs
|
|
5
|
+
//
|
|
6
|
+
// For developers working in the typescript-eslint monorepo:
|
|
7
|
+
// You can regenerate it using `yarn generate:configs`
|
|
8
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const base_1 = __importDefault(require("./base"));
|
|
13
|
+
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
|
14
|
+
exports.default = (plugin, parser) => [
|
|
15
|
+
(0, base_1.default)(plugin, parser),
|
|
16
|
+
(0, eslint_recommended_1.default)(plugin, parser),
|
|
17
|
+
{
|
|
18
|
+
rules: {
|
|
19
|
+
'@typescript-eslint/await-thenable': 'error',
|
|
20
|
+
'@typescript-eslint/ban-ts-comment': 'error',
|
|
21
|
+
'@typescript-eslint/ban-types': 'error',
|
|
22
|
+
'no-array-constructor': 'off',
|
|
23
|
+
'@typescript-eslint/no-array-constructor': 'error',
|
|
24
|
+
'@typescript-eslint/no-array-delete': 'error',
|
|
25
|
+
'@typescript-eslint/no-base-to-string': 'error',
|
|
26
|
+
'@typescript-eslint/no-confusing-void-expression': 'error',
|
|
27
|
+
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
|
28
|
+
'@typescript-eslint/no-duplicate-type-constituents': 'error',
|
|
29
|
+
'@typescript-eslint/no-dynamic-delete': 'error',
|
|
30
|
+
'@typescript-eslint/no-explicit-any': 'error',
|
|
31
|
+
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
|
32
|
+
'@typescript-eslint/no-extraneous-class': 'error',
|
|
33
|
+
'@typescript-eslint/no-floating-promises': 'error',
|
|
34
|
+
'@typescript-eslint/no-for-in-array': 'error',
|
|
35
|
+
'no-implied-eval': 'off',
|
|
36
|
+
'@typescript-eslint/no-implied-eval': 'error',
|
|
37
|
+
'@typescript-eslint/no-invalid-void-type': 'error',
|
|
38
|
+
'no-loss-of-precision': 'off',
|
|
39
|
+
'@typescript-eslint/no-loss-of-precision': 'error',
|
|
40
|
+
'@typescript-eslint/no-meaningless-void-operator': 'error',
|
|
41
|
+
'@typescript-eslint/no-misused-new': 'error',
|
|
42
|
+
'@typescript-eslint/no-misused-promises': 'error',
|
|
43
|
+
'@typescript-eslint/no-mixed-enums': 'error',
|
|
44
|
+
'@typescript-eslint/no-namespace': 'error',
|
|
45
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
|
46
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
|
47
|
+
'@typescript-eslint/no-non-null-assertion': 'error',
|
|
48
|
+
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
|
49
|
+
'@typescript-eslint/no-this-alias': 'error',
|
|
50
|
+
'no-throw-literal': 'off',
|
|
51
|
+
'@typescript-eslint/no-throw-literal': 'error',
|
|
52
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
|
|
53
|
+
'@typescript-eslint/no-unnecessary-condition': 'error',
|
|
54
|
+
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
|
|
55
|
+
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
|
56
|
+
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
|
57
|
+
'@typescript-eslint/no-unsafe-argument': 'error',
|
|
58
|
+
'@typescript-eslint/no-unsafe-assignment': 'error',
|
|
59
|
+
'@typescript-eslint/no-unsafe-call': 'error',
|
|
60
|
+
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
|
61
|
+
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
|
|
62
|
+
'@typescript-eslint/no-unsafe-member-access': 'error',
|
|
63
|
+
'@typescript-eslint/no-unsafe-return': 'error',
|
|
64
|
+
'no-unused-vars': 'off',
|
|
65
|
+
'@typescript-eslint/no-unused-vars': 'error',
|
|
66
|
+
'no-useless-constructor': 'off',
|
|
67
|
+
'@typescript-eslint/no-useless-constructor': 'error',
|
|
68
|
+
'@typescript-eslint/no-useless-template-literals': 'error',
|
|
69
|
+
'@typescript-eslint/no-var-requires': 'error',
|
|
70
|
+
'@typescript-eslint/prefer-as-const': 'error',
|
|
71
|
+
'@typescript-eslint/prefer-includes': 'error',
|
|
72
|
+
'@typescript-eslint/prefer-literal-enum-member': 'error',
|
|
73
|
+
'prefer-promise-reject-errors': 'off',
|
|
74
|
+
'@typescript-eslint/prefer-promise-reject-errors': 'error',
|
|
75
|
+
'@typescript-eslint/prefer-reduce-type-parameter': 'error',
|
|
76
|
+
'@typescript-eslint/prefer-return-this-type': 'error',
|
|
77
|
+
'@typescript-eslint/prefer-ts-expect-error': 'error',
|
|
78
|
+
'require-await': 'off',
|
|
79
|
+
'@typescript-eslint/require-await': 'error',
|
|
80
|
+
'@typescript-eslint/restrict-plus-operands': 'error',
|
|
81
|
+
'@typescript-eslint/restrict-template-expressions': 'error',
|
|
82
|
+
'@typescript-eslint/triple-slash-reference': 'error',
|
|
83
|
+
'@typescript-eslint/unbound-method': 'error',
|
|
84
|
+
'@typescript-eslint/unified-signatures': 'error',
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
];
|
|
88
|
+
//# sourceMappingURL=strict-type-checked.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strict-type-checked.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mDAAmD;AACnD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,KAAK,EAAE;YACL,mCAAmC,EAAE,OAAO;YAC5C,mCAAmC,EAAE,OAAO;YAC5C,8BAA8B,EAAE,OAAO;YACvC,sBAAsB,EAAE,KAAK;YAC7B,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,sCAAsC,EAAE,OAAO;YAC/C,iDAAiD,EAAE,OAAO;YAC1D,6CAA6C,EAAE,OAAO;YACtD,mDAAmD,EAAE,OAAO;YAC5D,sCAAsC,EAAE,OAAO;YAC/C,oCAAoC,EAAE,OAAO;YAC7C,gDAAgD,EAAE,OAAO;YACzD,wCAAwC,EAAE,OAAO;YACjD,yCAAyC,EAAE,OAAO;YAClD,oCAAoC,EAAE,OAAO;YAC7C,iBAAiB,EAAE,KAAK;YACxB,oCAAo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YAC3D,2CAA2C,EAAE,OAAO;YACpD,mCAAmC,EAAE,OAAO;YAC5C,uCAAuC,EAAE,OAAO;SACjD;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strict.d.ts","sourceRoot":"","sources":["../../src/configs/strict.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;iCAM3D,WAAW,MAAM,UACjB,WAAW,MAAM;AAF3B,wBAwCE"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
+
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
+
// SEE https://typescript-eslint.io/linting/configs
|
|
5
|
+
//
|
|
6
|
+
// For developers working in the typescript-eslint monorepo:
|
|
7
|
+
// You can regenerate it using `yarn generate:configs`
|
|
8
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const base_1 = __importDefault(require("./base"));
|
|
13
|
+
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
|
14
|
+
exports.default = (plugin, parser) => [
|
|
15
|
+
(0, base_1.default)(plugin, parser),
|
|
16
|
+
(0, eslint_recommended_1.default)(plugin, parser),
|
|
17
|
+
{
|
|
18
|
+
rules: {
|
|
19
|
+
'@typescript-eslint/ban-ts-comment': 'error',
|
|
20
|
+
'@typescript-eslint/ban-types': 'error',
|
|
21
|
+
'no-array-constructor': 'off',
|
|
22
|
+
'@typescript-eslint/no-array-constructor': 'error',
|
|
23
|
+
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
|
24
|
+
'@typescript-eslint/no-dynamic-delete': 'error',
|
|
25
|
+
'@typescript-eslint/no-explicit-any': 'error',
|
|
26
|
+
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
|
27
|
+
'@typescript-eslint/no-extraneous-class': 'error',
|
|
28
|
+
'@typescript-eslint/no-invalid-void-type': 'error',
|
|
29
|
+
'no-loss-of-precision': 'off',
|
|
30
|
+
'@typescript-eslint/no-loss-of-precision': 'error',
|
|
31
|
+
'@typescript-eslint/no-misused-new': 'error',
|
|
32
|
+
'@typescript-eslint/no-namespace': 'error',
|
|
33
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
|
34
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
|
|
35
|
+
'@typescript-eslint/no-non-null-assertion': 'error',
|
|
36
|
+
'@typescript-eslint/no-this-alias': 'error',
|
|
37
|
+
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
|
38
|
+
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
|
39
|
+
'no-unused-vars': 'off',
|
|
40
|
+
'@typescript-eslint/no-unused-vars': 'error',
|
|
41
|
+
'no-useless-constructor': 'off',
|
|
42
|
+
'@typescript-eslint/no-useless-constructor': 'error',
|
|
43
|
+
'@typescript-eslint/no-var-requires': 'error',
|
|
44
|
+
'@typescript-eslint/prefer-as-const': 'error',
|
|
45
|
+
'@typescript-eslint/prefer-literal-enum-member': 'error',
|
|
46
|
+
'@typescript-eslint/prefer-ts-expect-error': 'error',
|
|
47
|
+
'@typescript-eslint/triple-slash-reference': 'error',
|
|
48
|
+
'@typescript-eslint/unified-signatures': 'error',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
//# sourceMappingURL=strict.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strict.js","sourceRoot":"","sources":["../../src/configs/strict.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mDAAmD;AACnD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D,kBAAe,CAC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
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
+
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
+
// SEE https://typescript-eslint.io/linting/configs
|
|
5
|
+
//
|
|
6
|
+
// For developers working in the typescript-eslint monorepo:
|
|
7
|
+
// You can regenerate it using `yarn generate:configs`
|
|
8
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const base_1 = __importDefault(require("./base"));
|
|
13
|
+
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
|
14
|
+
exports.default = (plugin, parser) => [
|
|
15
|
+
(0, base_1.default)(plugin, parser),
|
|
16
|
+
(0, eslint_recommended_1.default)(plugin, parser),
|
|
17
|
+
{
|
|
18
|
+
rules: {
|
|
19
|
+
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
|
20
|
+
'@typescript-eslint/array-type': 'error',
|
|
21
|
+
'@typescript-eslint/ban-tslint-comment': 'error',
|
|
22
|
+
'@typescript-eslint/class-literal-property-style': 'error',
|
|
23
|
+
'@typescript-eslint/consistent-generic-constructors': 'error',
|
|
24
|
+
'@typescript-eslint/consistent-indexed-object-style': 'error',
|
|
25
|
+
'@typescript-eslint/consistent-type-assertions': 'error',
|
|
26
|
+
'@typescript-eslint/consistent-type-definitions': 'error',
|
|
27
|
+
'dot-notation': 'off',
|
|
28
|
+
'@typescript-eslint/dot-notation': 'error',
|
|
29
|
+
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
|
|
30
|
+
'no-empty-function': 'off',
|
|
31
|
+
'@typescript-eslint/no-empty-function': 'error',
|
|
32
|
+
'@typescript-eslint/no-empty-interface': 'error',
|
|
33
|
+
'@typescript-eslint/no-inferrable-types': 'error',
|
|
34
|
+
'@typescript-eslint/non-nullable-type-assertion-style': 'error',
|
|
35
|
+
'@typescript-eslint/prefer-for-of': 'error',
|
|
36
|
+
'@typescript-eslint/prefer-function-type': 'error',
|
|
37
|
+
'@typescript-eslint/prefer-namespace-keyword': 'error',
|
|
38
|
+
'@typescript-eslint/prefer-nullish-coalescing': 'error',
|
|
39
|
+
'@typescript-eslint/prefer-optional-chain': 'error',
|
|
40
|
+
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
//# sourceMappingURL=stylistic-type-checked.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stylistic-type-checked.js","sourceRoot":"","sources":["../../src/configs/stylistic-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mDAAmD;AACnD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,KAAK,EAAE;YACL,iDAAiD,EAAE,OAAO;YAC1D,+BAA+B,EAAE,OAAO;YACxC,uCAAuC,EAAE,OAAO;YAChD,iDAAiD,EAAE,OAAO;YAC1D,oDAAoD,EAAE,OAAO;YAC7D,oDAAoD,EAAE,OAAO;YAC7D,+CAA+C,EAAE,OAAO;YACxD,gDAAgD,EAAE,OAAO;YACzD,cAAc,EAAE,KAAK;YACrB,iCAAiC,EAAE,OAAO;YAC1C,oDAAoD,EAAE,OAAO;YAC7D,mBAAmB,EAAE,KAAK;YAC1B,sCAAsC,EAAE,OAAO;YAC/C,uCAAuC,EAAE,OAAO;YAChD,wCAAwC,EAAE,OAAO;YACjD,sDAAsD,EAAE,OAAO;YAC/D,kCAAkC,EAAE,OAAO;YAC3C,yCAAyC,EAAE,OAAO;YAClD,6CAA6C,EAAE,OAAO;YACtD,8CAA8C,EAAE,OAAO;YACvD,0CAA0C,EAAE,OAAO;YACnD,mDAAmD,EAAE,OAAO;SAC7D;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stylistic.d.ts","sourceRoot":"","sources":["../../src/configs/stylistic.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;iCAM3D,WAAW,MAAM,UACjB,WAAW,MAAM;AAF3B,wBA0BE"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
+
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
+
// SEE https://typescript-eslint.io/linting/configs
|
|
5
|
+
//
|
|
6
|
+
// For developers working in the typescript-eslint monorepo:
|
|
7
|
+
// You can regenerate it using `yarn generate:configs`
|
|
8
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const base_1 = __importDefault(require("./base"));
|
|
13
|
+
const eslint_recommended_1 = __importDefault(require("./eslint-recommended"));
|
|
14
|
+
exports.default = (plugin, parser) => [
|
|
15
|
+
(0, base_1.default)(plugin, parser),
|
|
16
|
+
(0, eslint_recommended_1.default)(plugin, parser),
|
|
17
|
+
{
|
|
18
|
+
rules: {
|
|
19
|
+
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
|
20
|
+
'@typescript-eslint/array-type': 'error',
|
|
21
|
+
'@typescript-eslint/ban-tslint-comment': 'error',
|
|
22
|
+
'@typescript-eslint/class-literal-property-style': 'error',
|
|
23
|
+
'@typescript-eslint/consistent-generic-constructors': 'error',
|
|
24
|
+
'@typescript-eslint/consistent-indexed-object-style': 'error',
|
|
25
|
+
'@typescript-eslint/consistent-type-assertions': 'error',
|
|
26
|
+
'@typescript-eslint/consistent-type-definitions': 'error',
|
|
27
|
+
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
|
|
28
|
+
'no-empty-function': 'off',
|
|
29
|
+
'@typescript-eslint/no-empty-function': 'error',
|
|
30
|
+
'@typescript-eslint/no-empty-interface': 'error',
|
|
31
|
+
'@typescript-eslint/no-inferrable-types': 'error',
|
|
32
|
+
'@typescript-eslint/prefer-for-of': 'error',
|
|
33
|
+
'@typescript-eslint/prefer-function-type': 'error',
|
|
34
|
+
'@typescript-eslint/prefer-namespace-keyword': 'error',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
//# sourceMappingURL=stylistic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stylistic.js","sourceRoot":"","sources":["../../src/configs/stylistic.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,mDAAmD;AACnD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;;;;;AAItD,kDAAgC;AAChC,8EAA2D;AAE3D,kBAAe,CACb,MAAyB,EACzB,MAAyB,EACD,EAAE,CAAC;IAC3B,IAAA,cAAU,EAAC,MAAM,EAAE,MAAM,CAAC;IAC1B,IAAA,4BAAuB,EAAC,MAAM,EAAE,MAAM,CAAC;IACvC;QACE,KAAK,EAAE;YACL,iDAAiD,EAAE,OAAO;YAC1D,+BAA+B,EAAE,OAAO;YACxC,uCAAuC,EAAE,OAAO;YAChD,iDAAiD,EAAE,OAAO;YAC1D,oDAAoD,EAAE,OAAO;YAC7D,oDAAoD,EAAE,OAAO;YAC7D,+CAA+C,EAAE,OAAO;YACxD,gDAAgD,EAAE,OAAO;YACzD,oDAAoD,EAAE,OAAO;YAC7D,mBAAmB,EAAE,KAAK;YAC1B,sCAAsC,EAAE,OAAO;YAC/C,uCAAuC,EAAE,OAAO;YAChD,wCAAwC,EAAE,OAAO;YACjD,kCAAkC,EAAE,OAAO;YAC3C,yCAAyC,EAAE,OAAO;YAClD,6CAA6C,EAAE,OAAO;SACvD;KACF;CACF,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { FlatConfig } from '@typescript-eslint/utils/ts-eslint';
|
|
2
|
+
import { config } from './config-helper';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
config: typeof config;
|
|
5
|
+
configs: {
|
|
6
|
+
all: FlatConfig.ConfigArray;
|
|
7
|
+
base: FlatConfig.Config;
|
|
8
|
+
disableTypeChecked: FlatConfig.Config;
|
|
9
|
+
eslintRecommended: FlatConfig.Config;
|
|
10
|
+
recommended: FlatConfig.ConfigArray;
|
|
11
|
+
recommendedTypeChecked: FlatConfig.ConfigArray;
|
|
12
|
+
strict: FlatConfig.ConfigArray;
|
|
13
|
+
strictTypeChecked: FlatConfig.ConfigArray;
|
|
14
|
+
stylistic: FlatConfig.ConfigArray;
|
|
15
|
+
stylisticTypeChecked: FlatConfig.ConfigArray;
|
|
16
|
+
};
|
|
17
|
+
parser: {
|
|
18
|
+
meta?: import("@typescript-eslint/utils/ts-eslint").Parser.ParserMeta | undefined;
|
|
19
|
+
parseForESLint(text: string, options?: unknown): {
|
|
20
|
+
ast: unknown;
|
|
21
|
+
services?: unknown;
|
|
22
|
+
scopeManager?: unknown;
|
|
23
|
+
visitorKeys?: unknown;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
plugin: FlatConfig.Plugin;
|
|
27
|
+
};
|
|
28
|
+
export = _default;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAErE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBzC,kBAgBE"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
const eslint_plugin_1 = __importDefault(require("@typescript-eslint/eslint-plugin"));
|
|
29
|
+
const parserBase = __importStar(require("@typescript-eslint/parser"));
|
|
30
|
+
const config_helper_1 = require("./config-helper");
|
|
31
|
+
const all_1 = __importDefault(require("./configs/all"));
|
|
32
|
+
const base_1 = __importDefault(require("./configs/base"));
|
|
33
|
+
const disable_type_checked_1 = __importDefault(require("./configs/disable-type-checked"));
|
|
34
|
+
const eslint_recommended_1 = __importDefault(require("./configs/eslint-recommended"));
|
|
35
|
+
const recommended_1 = __importDefault(require("./configs/recommended"));
|
|
36
|
+
const recommended_type_checked_1 = __importDefault(require("./configs/recommended-type-checked"));
|
|
37
|
+
const strict_1 = __importDefault(require("./configs/strict"));
|
|
38
|
+
const strict_type_checked_1 = __importDefault(require("./configs/strict-type-checked"));
|
|
39
|
+
const stylistic_1 = __importDefault(require("./configs/stylistic"));
|
|
40
|
+
const stylistic_type_checked_1 = __importDefault(require("./configs/stylistic-type-checked"));
|
|
41
|
+
const parser = {
|
|
42
|
+
meta: parserBase.meta,
|
|
43
|
+
parseForESLint: parserBase.parseForESLint,
|
|
44
|
+
};
|
|
45
|
+
const plugin = {
|
|
46
|
+
meta: eslint_plugin_1.default.meta,
|
|
47
|
+
rules: eslint_plugin_1.default.rules,
|
|
48
|
+
};
|
|
49
|
+
module.exports = {
|
|
50
|
+
config: config_helper_1.config,
|
|
51
|
+
configs: {
|
|
52
|
+
all: (0, all_1.default)(plugin, parser),
|
|
53
|
+
base: (0, base_1.default)(plugin, parser),
|
|
54
|
+
disableTypeChecked: (0, disable_type_checked_1.default)(plugin, parser),
|
|
55
|
+
eslintRecommended: (0, eslint_recommended_1.default)(plugin, parser),
|
|
56
|
+
recommended: (0, recommended_1.default)(plugin, parser),
|
|
57
|
+
recommendedTypeChecked: (0, recommended_type_checked_1.default)(plugin, parser),
|
|
58
|
+
strict: (0, strict_1.default)(plugin, parser),
|
|
59
|
+
strictTypeChecked: (0, strict_type_checked_1.default)(plugin, parser),
|
|
60
|
+
stylistic: (0, stylistic_1.default)(plugin, parser),
|
|
61
|
+
stylisticTypeChecked: (0, stylistic_type_checked_1.default)(plugin, parser),
|
|
62
|
+
},
|
|
63
|
+
parser,
|
|
64
|
+
plugin,
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=index.js.map
|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jE;IACD,MAAM;IACN,MAAM;CACP,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,82 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-eslint",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "",
|
|
5
|
-
"
|
|
3
|
+
"version": "7.0.1",
|
|
4
|
+
"description": "Tooling which enables you to use TypeScript with ESLint",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist",
|
|
7
|
+
"_ts4.3",
|
|
8
|
+
"README.md",
|
|
9
|
+
"LICENSE"
|
|
10
|
+
],
|
|
11
|
+
"type": "commonjs",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./package.json": "./package.json"
|
|
18
|
+
},
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": "^16.0.0 || >=18.0.0"
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
|
|
25
|
+
"directory": "packages/typescript-eslint"
|
|
26
|
+
},
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
|
29
|
+
},
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"keywords": [
|
|
32
|
+
"ast",
|
|
33
|
+
"ecmascript",
|
|
34
|
+
"javascript",
|
|
35
|
+
"typescript",
|
|
36
|
+
"parser",
|
|
37
|
+
"syntax",
|
|
38
|
+
"eslint",
|
|
39
|
+
"eslintplugin",
|
|
40
|
+
"eslint-plugin"
|
|
41
|
+
],
|
|
6
42
|
"scripts": {
|
|
7
|
-
"
|
|
43
|
+
"build": "tsc -b tsconfig.build.json",
|
|
44
|
+
"postbuild": "downlevel-dts dist _ts4.3/dist --to=4.3",
|
|
45
|
+
"clean": "tsc -b tsconfig.build.json --clean",
|
|
46
|
+
"postclean": "rimraf dist && rimraf _ts4.3 && rimraf coverage",
|
|
47
|
+
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
|
|
48
|
+
"lint": "nx lint",
|
|
49
|
+
"test": "jest --coverage --passWithNoTests",
|
|
50
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"eslint": "^8.56.0"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "7.0.1",
|
|
57
|
+
"@typescript-eslint/parser": "7.0.1"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"downlevel-dts": "*",
|
|
61
|
+
"jest": "29.7.0",
|
|
62
|
+
"prettier": "^3.0.3",
|
|
63
|
+
"rimraf": "*",
|
|
64
|
+
"typescript": "*"
|
|
65
|
+
},
|
|
66
|
+
"peerDependenciesMeta": {
|
|
67
|
+
"typescript": {
|
|
68
|
+
"optional": true
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"funding": {
|
|
72
|
+
"type": "opencollective",
|
|
73
|
+
"url": "https://opencollective.com/typescript-eslint"
|
|
8
74
|
},
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
75
|
+
"typesVersions": {
|
|
76
|
+
"<4.7": {
|
|
77
|
+
"*": [
|
|
78
|
+
"_ts4.3/*"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
12
82
|
}
|
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
console.log('Nothing to see yet...');
|