@typescript-eslint/eslint-plugin 7.0.3-alpha.7 → 7.0.3-alpha.9
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/configs/recommended-type-checked-only.js +34 -0
- package/dist/configs/recommended-type-checked-only.js.map +1 -0
- package/dist/configs/strict-type-checked-only.js +49 -0
- package/dist/configs/strict-type-checked-only.js.map +1 -0
- package/dist/configs/stylistic-type-checked-only.js +19 -0
- package/dist/configs/stylistic-type-checked-only.js.map +1 -0
- package/package.json +7 -7
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
+
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
+
// SEE https://typescript-eslint.io/users/configs
|
|
5
|
+
//
|
|
6
|
+
// For developers working in the typescript-eslint monorepo:
|
|
7
|
+
// You can regenerate it using `yarn generate:configs`
|
|
8
|
+
module.exports = {
|
|
9
|
+
extends: ['./configs/base', './configs/eslint-recommended'],
|
|
10
|
+
rules: {
|
|
11
|
+
'@typescript-eslint/await-thenable': 'error',
|
|
12
|
+
'@typescript-eslint/no-base-to-string': 'error',
|
|
13
|
+
'@typescript-eslint/no-duplicate-type-constituents': 'error',
|
|
14
|
+
'@typescript-eslint/no-floating-promises': 'error',
|
|
15
|
+
'@typescript-eslint/no-for-in-array': 'error',
|
|
16
|
+
'no-implied-eval': 'off',
|
|
17
|
+
'@typescript-eslint/no-implied-eval': 'error',
|
|
18
|
+
'@typescript-eslint/no-misused-promises': 'error',
|
|
19
|
+
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
|
20
|
+
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
|
21
|
+
'@typescript-eslint/no-unsafe-argument': 'error',
|
|
22
|
+
'@typescript-eslint/no-unsafe-assignment': 'error',
|
|
23
|
+
'@typescript-eslint/no-unsafe-call': 'error',
|
|
24
|
+
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
|
|
25
|
+
'@typescript-eslint/no-unsafe-member-access': 'error',
|
|
26
|
+
'@typescript-eslint/no-unsafe-return': 'error',
|
|
27
|
+
'require-await': 'off',
|
|
28
|
+
'@typescript-eslint/require-await': 'error',
|
|
29
|
+
'@typescript-eslint/restrict-plus-operands': 'error',
|
|
30
|
+
'@typescript-eslint/restrict-template-expressions': 'error',
|
|
31
|
+
'@typescript-eslint/unbound-method': 'error',
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=recommended-type-checked-only.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommended-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/recommended-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,mCAAmC,EAAE,OAAO;QAC5C,sCAAsC,EAAE,OAAO;QAC/C,mDAAmD,EAAE,OAAO;QAC5D,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,iBAAiB,EAAE,KAAK;QACxB,oCAAoC,EAAE,OAAO;QAC7C,wCAAwC,EAAE,OAAO;QACjD,mDAAmD,EAAE,OAAO;QAC5D,kDAAkD,EAAE,OAAO;QAC3D,uCAAuC,EAAE,OAAO;QAChD,yCAAyC,EAAE,OAAO;QAClD,mCAAmC,EAAE,OAAO;QAC5C,8CAA8C,EAAE,OAAO;QACvD,4CAA4C,EAAE,OAAO;QACrD,qCAAqC,EAAE,OAAO;QAC9C,eAAe,EAAE,KAAK;QACtB,kCAAkC,EAAE,OAAO;QAC3C,2CAA2C,EAAE,OAAO;QACpD,kDAAkD,EAAE,OAAO;QAC3D,mCAAmC,EAAE,OAAO;KAC7C;CAC6B,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
+
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
+
// SEE https://typescript-eslint.io/users/configs
|
|
5
|
+
//
|
|
6
|
+
// For developers working in the typescript-eslint monorepo:
|
|
7
|
+
// You can regenerate it using `yarn generate:configs`
|
|
8
|
+
module.exports = {
|
|
9
|
+
extends: ['./configs/base', './configs/eslint-recommended'],
|
|
10
|
+
rules: {
|
|
11
|
+
'@typescript-eslint/await-thenable': 'error',
|
|
12
|
+
'@typescript-eslint/no-array-delete': 'error',
|
|
13
|
+
'@typescript-eslint/no-base-to-string': 'error',
|
|
14
|
+
'@typescript-eslint/no-confusing-void-expression': 'error',
|
|
15
|
+
'@typescript-eslint/no-duplicate-type-constituents': 'error',
|
|
16
|
+
'@typescript-eslint/no-floating-promises': 'error',
|
|
17
|
+
'@typescript-eslint/no-for-in-array': 'error',
|
|
18
|
+
'no-implied-eval': 'off',
|
|
19
|
+
'@typescript-eslint/no-implied-eval': 'error',
|
|
20
|
+
'@typescript-eslint/no-meaningless-void-operator': 'error',
|
|
21
|
+
'@typescript-eslint/no-misused-promises': 'error',
|
|
22
|
+
'@typescript-eslint/no-mixed-enums': 'error',
|
|
23
|
+
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
|
24
|
+
'no-throw-literal': 'off',
|
|
25
|
+
'@typescript-eslint/no-throw-literal': 'error',
|
|
26
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
|
|
27
|
+
'@typescript-eslint/no-unnecessary-condition': 'error',
|
|
28
|
+
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
|
|
29
|
+
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
|
30
|
+
'@typescript-eslint/no-unsafe-argument': 'error',
|
|
31
|
+
'@typescript-eslint/no-unsafe-assignment': 'error',
|
|
32
|
+
'@typescript-eslint/no-unsafe-call': 'error',
|
|
33
|
+
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
|
|
34
|
+
'@typescript-eslint/no-unsafe-member-access': 'error',
|
|
35
|
+
'@typescript-eslint/no-unsafe-return': 'error',
|
|
36
|
+
'@typescript-eslint/no-useless-template-literals': 'error',
|
|
37
|
+
'@typescript-eslint/prefer-includes': 'error',
|
|
38
|
+
'prefer-promise-reject-errors': 'off',
|
|
39
|
+
'@typescript-eslint/prefer-promise-reject-errors': 'error',
|
|
40
|
+
'@typescript-eslint/prefer-reduce-type-parameter': 'error',
|
|
41
|
+
'@typescript-eslint/prefer-return-this-type': 'error',
|
|
42
|
+
'require-await': 'off',
|
|
43
|
+
'@typescript-eslint/require-await': 'error',
|
|
44
|
+
'@typescript-eslint/restrict-plus-operands': 'error',
|
|
45
|
+
'@typescript-eslint/restrict-template-expressions': 'error',
|
|
46
|
+
'@typescript-eslint/unbound-method': 'error',
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=strict-type-checked-only.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strict-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,mCAAmC,EAAE,OAAO;QAC5C,oCAAoC,EAAE,OAAO;QAC7C,sCAAsC,EAAE,OAAO;QAC/C,iDAAiD,EAAE,OAAO;QAC1D,mDAAmD,EAAE,OAAO;QAC5D,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,iBAAiB,EAAE,KAAK;QACxB,oCAAoC,EAAE,OAAO;QAC7C,iDAAiD,EAAE,OAAO;QAC1D,wCAAwC,EAAE,OAAO;QACjD,mCAAmC,EAAE,OAAO;QAC5C,mDAAmD,EAAE,OAAO;QAC5D,kBAAkB,EAAE,KAAK;QACzB,qCAAqC,EAAE,OAAO;QAC9C,2DAA2D,EAAE,OAAO;QACpE,6CAA6C,EAAE,OAAO;QACtD,kDAAkD,EAAE,OAAO;QAC3D,kDAAkD,EAAE,OAAO;QAC3D,uCAAuC,EAAE,OAAO;QAChD,yCAAyC,EAAE,OAAO;QAClD,mCAAmC,EAAE,OAAO;QAC5C,8CAA8C,EAAE,OAAO;QACvD,4CAA4C,EAAE,OAAO;QACrD,qCAAqC,EAAE,OAAO;QAC9C,iDAAiD,EAAE,OAAO;QAC1D,oCAAoC,EAAE,OAAO;QAC7C,8BAA8B,EAAE,KAAK;QACrC,iDAAiD,EAAE,OAAO;QAC1D,iDAAiD,EAAE,OAAO;QAC1D,4CAA4C,EAAE,OAAO;QACrD,eAAe,EAAE,KAAK;QACtB,kCAAkC,EAAE,OAAO;QAC3C,2CAA2C,EAAE,OAAO;QACpD,kDAAkD,EAAE,OAAO;QAC3D,mCAAmC,EAAE,OAAO;KAC7C;CAC6B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// THIS CODE WAS AUTOMATICALLY GENERATED
|
|
3
|
+
// DO NOT EDIT THIS CODE BY HAND
|
|
4
|
+
// SEE https://typescript-eslint.io/users/configs
|
|
5
|
+
//
|
|
6
|
+
// For developers working in the typescript-eslint monorepo:
|
|
7
|
+
// You can regenerate it using `yarn generate:configs`
|
|
8
|
+
module.exports = {
|
|
9
|
+
extends: ['./configs/base', './configs/eslint-recommended'],
|
|
10
|
+
rules: {
|
|
11
|
+
'dot-notation': 'off',
|
|
12
|
+
'@typescript-eslint/dot-notation': 'error',
|
|
13
|
+
'@typescript-eslint/non-nullable-type-assertion-style': 'error',
|
|
14
|
+
'@typescript-eslint/prefer-nullish-coalescing': 'error',
|
|
15
|
+
'@typescript-eslint/prefer-optional-chain': 'error',
|
|
16
|
+
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=stylistic-type-checked-only.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stylistic-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/stylistic-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,cAAc,EAAE,KAAK;QACrB,iCAAiC,EAAE,OAAO;QAC1C,sDAAsD,EAAE,OAAO;QAC/D,8CAA8C,EAAE,OAAO;QACvD,0CAA0C,EAAE,OAAO;QACnD,mDAAmD,EAAE,OAAO;KAC7D;CAC6B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/eslint-plugin",
|
|
3
|
-
"version": "7.0.3-alpha.
|
|
3
|
+
"version": "7.0.3-alpha.9",
|
|
4
4
|
"description": "TypeScript plugin for ESLint",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@eslint-community/regexpp": "^4.5.1",
|
|
64
|
-
"@typescript-eslint/scope-manager": "7.0.3-alpha.
|
|
65
|
-
"@typescript-eslint/type-utils": "7.0.3-alpha.
|
|
66
|
-
"@typescript-eslint/utils": "7.0.3-alpha.
|
|
67
|
-
"@typescript-eslint/visitor-keys": "7.0.3-alpha.
|
|
64
|
+
"@typescript-eslint/scope-manager": "7.0.3-alpha.9",
|
|
65
|
+
"@typescript-eslint/type-utils": "7.0.3-alpha.9",
|
|
66
|
+
"@typescript-eslint/utils": "7.0.3-alpha.9",
|
|
67
|
+
"@typescript-eslint/visitor-keys": "7.0.3-alpha.9",
|
|
68
68
|
"debug": "^4.3.4",
|
|
69
69
|
"graphemer": "^1.4.0",
|
|
70
70
|
"ignore": "^5.2.4",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"@types/debug": "*",
|
|
77
77
|
"@types/marked": "*",
|
|
78
78
|
"@types/natural-compare": "*",
|
|
79
|
-
"@typescript-eslint/rule-schema-to-typescript-types": "7.0.3-alpha.
|
|
80
|
-
"@typescript-eslint/rule-tester": "7.0.3-alpha.
|
|
79
|
+
"@typescript-eslint/rule-schema-to-typescript-types": "7.0.3-alpha.9",
|
|
80
|
+
"@typescript-eslint/rule-tester": "7.0.3-alpha.9",
|
|
81
81
|
"ajv": "^6.12.6",
|
|
82
82
|
"chalk": "^5.3.0",
|
|
83
83
|
"cross-env": "^7.0.3",
|