@typescript-eslint/eslint-plugin 8.0.0-alpha.60 → 8.0.0-alpha.62
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.
@@ -18,6 +18,11 @@ It can usually be replaced with explicit types such as `unknown`.
|
|
18
18
|
At best unnecessary type parameters make code harder to read.
|
19
19
|
At worst they can be used to disguise unsafe type assertions.
|
20
20
|
|
21
|
+
:::warning
|
22
|
+
This rule was recently added, and has a surprising amount of hidden complexity compared to most of our rules. If you encounter unexpected behavior with it, please check closely the [Limitations](#limitations) section below and our [issue tracker](https://github.com/typescript-eslint/typescript-eslint/issues?q=is%3Aissue+no-unnecessary-type-parameters).
|
23
|
+
If you don't see your case covered, please [reach out to us](https://typescript-eslint.io/contributing/issues)!
|
24
|
+
:::
|
25
|
+
|
21
26
|
## Examples
|
22
27
|
|
23
28
|
<Tabs>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@typescript-eslint/eslint-plugin",
|
3
|
-
"version": "8.0.0-alpha.
|
3
|
+
"version": "8.0.0-alpha.62",
|
4
4
|
"description": "TypeScript plugin for ESLint",
|
5
5
|
"files": [
|
6
6
|
"dist",
|
@@ -60,10 +60,10 @@
|
|
60
60
|
},
|
61
61
|
"dependencies": {
|
62
62
|
"@eslint-community/regexpp": "^4.10.0",
|
63
|
-
"@typescript-eslint/scope-manager": "8.0.0-alpha.
|
64
|
-
"@typescript-eslint/type-utils": "8.0.0-alpha.
|
65
|
-
"@typescript-eslint/utils": "8.0.0-alpha.
|
66
|
-
"@typescript-eslint/visitor-keys": "8.0.0-alpha.
|
63
|
+
"@typescript-eslint/scope-manager": "8.0.0-alpha.62",
|
64
|
+
"@typescript-eslint/type-utils": "8.0.0-alpha.62",
|
65
|
+
"@typescript-eslint/utils": "8.0.0-alpha.62",
|
66
|
+
"@typescript-eslint/visitor-keys": "8.0.0-alpha.62",
|
67
67
|
"graphemer": "^1.4.0",
|
68
68
|
"ignore": "^5.3.1",
|
69
69
|
"natural-compare": "^1.4.0",
|
@@ -74,13 +74,12 @@
|
|
74
74
|
"@types/marked": "^5.0.2",
|
75
75
|
"@types/mdast": "^4.0.3",
|
76
76
|
"@types/natural-compare": "*",
|
77
|
-
"@typescript-eslint/rule-schema-to-typescript-types": "8.0.0-alpha.
|
78
|
-
"@typescript-eslint/rule-tester": "8.0.0-alpha.
|
77
|
+
"@typescript-eslint/rule-schema-to-typescript-types": "8.0.0-alpha.62",
|
78
|
+
"@typescript-eslint/rule-tester": "8.0.0-alpha.62",
|
79
79
|
"ajv": "^6.12.6",
|
80
80
|
"cross-env": "^7.0.3",
|
81
81
|
"cross-fetch": "*",
|
82
82
|
"eslint": "*",
|
83
|
-
"espree": "^10.0.1",
|
84
83
|
"jest": "29.7.0",
|
85
84
|
"jest-specific-snapshot": "^8.0.0",
|
86
85
|
"json-schema": "*",
|