@typescript-eslint/eslint-plugin 8.19.1-alpha.3 → 8.19.1-alpha.4
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.
@@ -198,13 +198,13 @@ const x = Boolean(a ?? b);
|
|
198
198
|
|
199
199
|
### `allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing`
|
200
200
|
|
201
|
-
{/* insert option description */}
|
202
|
-
|
203
201
|
:::danger Deprecated
|
204
202
|
|
205
|
-
|
206
|
-
|
207
|
-
|
203
|
+
This option will be removed in the next major version of typescript-eslint.
|
204
|
+
|
205
|
+
:::
|
206
|
+
|
207
|
+
{/* insert option description */}
|
208
208
|
|
209
209
|
Without `strictNullChecks`, TypeScript essentially erases `undefined` and `null` from the types. This means when this rule inspects the types from a variable, **it will not be able to tell that the variable might be `null` or `undefined`**, which essentially makes this rule useless.
|
210
210
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@typescript-eslint/eslint-plugin",
|
3
|
-
"version": "8.19.1-alpha.
|
3
|
+
"version": "8.19.1-alpha.4",
|
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.19.1-alpha.
|
65
|
-
"@typescript-eslint/type-utils": "8.19.1-alpha.
|
66
|
-
"@typescript-eslint/utils": "8.19.1-alpha.
|
67
|
-
"@typescript-eslint/visitor-keys": "8.19.1-alpha.
|
64
|
+
"@typescript-eslint/scope-manager": "8.19.1-alpha.4",
|
65
|
+
"@typescript-eslint/type-utils": "8.19.1-alpha.4",
|
66
|
+
"@typescript-eslint/utils": "8.19.1-alpha.4",
|
67
|
+
"@typescript-eslint/visitor-keys": "8.19.1-alpha.4",
|
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.19.1-alpha.
|
79
|
-
"@typescript-eslint/rule-tester": "8.19.1-alpha.
|
78
|
+
"@typescript-eslint/rule-schema-to-typescript-types": "8.19.1-alpha.4",
|
79
|
+
"@typescript-eslint/rule-tester": "8.19.1-alpha.4",
|
80
80
|
"ajv": "^6.12.6",
|
81
81
|
"cross-env": "^7.0.3",
|
82
82
|
"cross-fetch": "*",
|