@typescript-eslint/eslint-plugin 8.6.1-alpha.4 → 8.6.1-alpha.5
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.
@@ -146,9 +146,11 @@ Set this to `true` at your own risk.
|
|
146
146
|
|
147
147
|
:::danger Deprecated
|
148
148
|
|
149
|
-
|
150
|
-
|
151
|
-
|
149
|
+
This option will be removed in the next major version of typescript-eslint.
|
150
|
+
|
151
|
+
:::
|
152
|
+
|
153
|
+
If this is set to `false`, then the rule will error on every file whose `tsconfig.json` does _not_ have the `strictNullChecks` compiler option (or `strict`) set to `true`.
|
152
154
|
|
153
155
|
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 a lot less useful.
|
154
156
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@typescript-eslint/eslint-plugin",
|
3
|
-
"version": "8.6.1-alpha.
|
3
|
+
"version": "8.6.1-alpha.5",
|
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.6.1-alpha.
|
64
|
-
"@typescript-eslint/type-utils": "8.6.1-alpha.
|
65
|
-
"@typescript-eslint/utils": "8.6.1-alpha.
|
66
|
-
"@typescript-eslint/visitor-keys": "8.6.1-alpha.
|
63
|
+
"@typescript-eslint/scope-manager": "8.6.1-alpha.5",
|
64
|
+
"@typescript-eslint/type-utils": "8.6.1-alpha.5",
|
65
|
+
"@typescript-eslint/utils": "8.6.1-alpha.5",
|
66
|
+
"@typescript-eslint/visitor-keys": "8.6.1-alpha.5",
|
67
67
|
"graphemer": "^1.4.0",
|
68
68
|
"ignore": "^5.3.1",
|
69
69
|
"natural-compare": "^1.4.0",
|
@@ -74,8 +74,8 @@
|
|
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.6.1-alpha.
|
78
|
-
"@typescript-eslint/rule-tester": "8.6.1-alpha.
|
77
|
+
"@typescript-eslint/rule-schema-to-typescript-types": "8.6.1-alpha.5",
|
78
|
+
"@typescript-eslint/rule-tester": "8.6.1-alpha.5",
|
79
79
|
"ajv": "^6.12.6",
|
80
80
|
"cross-env": "^7.0.3",
|
81
81
|
"cross-fetch": "*",
|