@typescript-eslint/eslint-plugin 8.4.1-alpha.11 → 8.4.1-alpha.12

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.
@@ -91,6 +91,10 @@ do {} while (true);
91
91
 
92
92
  ### `allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing`
93
93
 
94
+ :::danger Deprecated
95
+ This option will be removed in the next major version of typescript-eslint.
96
+ :::
97
+
94
98
  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`.
95
99
 
96
100
  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.
@@ -174,7 +174,11 @@ Also, if you would like to ignore all primitives types, you can set `ignorePrimi
174
174
 
175
175
  ### `allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing`
176
176
 
177
- Unless this is set to `true`, the rule will error on every file whose `tsconfig.json` does _not_ have the `strictNullChecks` compiler option (or `strict`) set to `true`.
177
+ :::danger Deprecated
178
+
179
+ > This option will be removed in the next major version of typescript-eslint.
180
+ > :::
181
+ > Unless this is set to `true`, the rule will error on every file whose `tsconfig.json` does _not_ have the `strictNullChecks` compiler option (or `strict`) set to `true`.
178
182
 
179
183
  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.
180
184
 
@@ -144,7 +144,11 @@ Set this to `true` at your own risk.
144
144
 
145
145
  ### `allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing`
146
146
 
147
- 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`.
147
+ :::danger Deprecated
148
+
149
+ > This option will be removed in the next major version of typescript-eslint.
150
+ > :::
151
+ > 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`.
148
152
 
149
153
  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.
150
154
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/eslint-plugin",
3
- "version": "8.4.1-alpha.11",
3
+ "version": "8.4.1-alpha.12",
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.4.1-alpha.11",
64
- "@typescript-eslint/type-utils": "8.4.1-alpha.11",
65
- "@typescript-eslint/utils": "8.4.1-alpha.11",
66
- "@typescript-eslint/visitor-keys": "8.4.1-alpha.11",
63
+ "@typescript-eslint/scope-manager": "8.4.1-alpha.12",
64
+ "@typescript-eslint/type-utils": "8.4.1-alpha.12",
65
+ "@typescript-eslint/utils": "8.4.1-alpha.12",
66
+ "@typescript-eslint/visitor-keys": "8.4.1-alpha.12",
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.4.1-alpha.11",
78
- "@typescript-eslint/rule-tester": "8.4.1-alpha.11",
77
+ "@typescript-eslint/rule-schema-to-typescript-types": "8.4.1-alpha.12",
78
+ "@typescript-eslint/rule-tester": "8.4.1-alpha.12",
79
79
  "ajv": "^6.12.6",
80
80
  "cross-env": "^7.0.3",
81
81
  "cross-fetch": "*",