@typescript-eslint/eslint-plugin 8.21.0 → 8.21.1-alpha.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/docs/rules/no-explicit-any.mdx +1 -0
- package/docs/rules/no-unsafe-argument.mdx +1 -0
- package/docs/rules/no-unsafe-assignment.mdx +1 -0
- package/docs/rules/no-unsafe-call.mdx +1 -0
- package/docs/rules/no-unsafe-function-type.mdx +1 -0
- package/docs/rules/no-unsafe-member-access.mdx +1 -0
- package/docs/rules/no-unsafe-return.mdx +1 -0
- package/docs/rules/use-unknown-in-catch-callback-variable.mdx +4 -0
- package/package.json +7 -7
@@ -162,6 +162,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates
|
|
162
162
|
|
163
163
|
## Related To
|
164
164
|
|
165
|
+
- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys)
|
165
166
|
- [`no-unsafe-argument`](./no-unsafe-argument.mdx)
|
166
167
|
- [`no-unsafe-assignment`](./no-unsafe-assignment.mdx)
|
167
168
|
- [`no-unsafe-call`](./no-unsafe-call.mdx)
|
@@ -90,6 +90,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates
|
|
90
90
|
|
91
91
|
## Related To
|
92
92
|
|
93
|
+
- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys)
|
93
94
|
- [`no-explicit-any`](./no-explicit-any.mdx)
|
94
95
|
- [`no-unsafe-assignment`](./no-unsafe-assignment.mdx)
|
95
96
|
- [`no-unsafe-call`](./no-unsafe-call.mdx)
|
@@ -93,6 +93,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates
|
|
93
93
|
|
94
94
|
## Related To
|
95
95
|
|
96
|
+
- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys)
|
96
97
|
- [`no-explicit-any`](./no-explicit-any.mdx)
|
97
98
|
- [`no-unsafe-argument`](./no-unsafe-argument.mdx)
|
98
99
|
- [`no-unsafe-call`](./no-unsafe-call.mdx)
|
@@ -112,6 +112,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates
|
|
112
112
|
|
113
113
|
## Related To
|
114
114
|
|
115
|
+
- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys)
|
115
116
|
- [`no-explicit-any`](./no-explicit-any.mdx)
|
116
117
|
- [`no-unsafe-argument`](./no-unsafe-argument.mdx)
|
117
118
|
- [`no-unsafe-assignment`](./no-unsafe-assignment.mdx)
|
@@ -58,6 +58,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates
|
|
58
58
|
|
59
59
|
## Related To
|
60
60
|
|
61
|
+
- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys)
|
61
62
|
- [`no-empty-object-type`](./no-empty-object-type.mdx)
|
62
63
|
- [`no-restricted-types`](./no-restricted-types.mdx)
|
63
64
|
- [`no-unsafe-call`](./no-unsafe-call.mdx)
|
@@ -73,6 +73,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates
|
|
73
73
|
|
74
74
|
## Related To
|
75
75
|
|
76
|
+
- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys)
|
76
77
|
- [`no-explicit-any`](./no-explicit-any.mdx)
|
77
78
|
- [`no-unsafe-argument`](./no-unsafe-argument.mdx)
|
78
79
|
- [`no-unsafe-assignment`](./no-unsafe-assignment.mdx)
|
@@ -118,6 +118,7 @@ You might consider using [ESLint disable comments](https://eslint.org/docs/lates
|
|
118
118
|
|
119
119
|
## Related To
|
120
120
|
|
121
|
+
- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys)
|
121
122
|
- [`no-explicit-any`](./no-explicit-any.mdx)
|
122
123
|
- [`no-unsafe-argument`](./no-unsafe-argument.mdx)
|
123
124
|
- [`no-unsafe-assignment`](./no-unsafe-assignment.mdx)
|
@@ -91,3 +91,7 @@ For further reading on this, you may also want to look into
|
|
91
91
|
If your codebase is not yet able to enable `useUnknownInCatchVariables`, it likely would be similarly difficult to enable this rule.
|
92
92
|
|
93
93
|
If you have modified the global type declarations in order to make `then()` and `catch()` callbacks use the `unknown` type without an explicit type annotation, you do not need this rule.
|
94
|
+
|
95
|
+
## Related To
|
96
|
+
|
97
|
+
- [Avoiding `any`s with Linting and TypeScript](/blog/avoiding-anys)
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@typescript-eslint/eslint-plugin",
|
3
|
-
"version": "8.21.
|
3
|
+
"version": "8.21.1-alpha.1",
|
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.10.0",
|
64
|
-
"@typescript-eslint/scope-manager": "8.21.
|
65
|
-
"@typescript-eslint/type-utils": "8.21.
|
66
|
-
"@typescript-eslint/utils": "8.21.
|
67
|
-
"@typescript-eslint/visitor-keys": "8.21.
|
64
|
+
"@typescript-eslint/scope-manager": "8.21.1-alpha.1",
|
65
|
+
"@typescript-eslint/type-utils": "8.21.1-alpha.1",
|
66
|
+
"@typescript-eslint/utils": "8.21.1-alpha.1",
|
67
|
+
"@typescript-eslint/visitor-keys": "8.21.1-alpha.1",
|
68
68
|
"graphemer": "^1.4.0",
|
69
69
|
"ignore": "^5.3.1",
|
70
70
|
"natural-compare": "^1.4.0",
|
@@ -75,8 +75,8 @@
|
|
75
75
|
"@types/marked": "^5.0.2",
|
76
76
|
"@types/mdast": "^4.0.3",
|
77
77
|
"@types/natural-compare": "*",
|
78
|
-
"@typescript-eslint/rule-schema-to-typescript-types": "8.21.
|
79
|
-
"@typescript-eslint/rule-tester": "8.21.
|
78
|
+
"@typescript-eslint/rule-schema-to-typescript-types": "8.21.1-alpha.1",
|
79
|
+
"@typescript-eslint/rule-tester": "8.21.1-alpha.1",
|
80
80
|
"ajv": "^6.12.6",
|
81
81
|
"cross-env": "^7.0.3",
|
82
82
|
"cross-fetch": "*",
|