We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@typescript-eslint/strict-boolean-expressions
1 parent c0c2db9 commit 11498b2Copy full SHA for 11498b2
index.js
@@ -275,12 +275,17 @@ module.exports = {
275
'error',
276
'always'
277
],
278
- '@typescript-eslint/strict-boolean-expressions': [
279
- 'error',
280
- {
281
- allowNullable: true
282
- }
283
- ],
+
+ // TODO: Reconsider enabling it again in 2021.
+ // Disabled for now as it's too strict.
+ // Relevant discussion: https://github.com/sindresorhus/refined-github/pull/2521#discussion_r343013852
+ // '@typescript-eslint/strict-boolean-expressions': [
+ // 'error',
284
+ // {
285
+ // allowNullable: true
286
+ // }
287
+ // ],
288
289
'@typescript-eslint/triple-slash-reference': [
290
291
{
0 commit comments