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.
no-extra-boolean-cast
1 parent a26a2f6 commit a6dc171Copy full SHA for a6dc171
index.js
@@ -40,7 +40,12 @@ module.exports = {
40
],
41
'no-empty-static-block': 'error',
42
'no-ex-assign': 'error',
43
- 'no-extra-boolean-cast': 'error',
+ 'no-extra-boolean-cast': [
44
+ 'error',
45
+ {
46
+ enforceForInnerExpressions: true
47
+ },
48
+ ],
49
// Disabled because of https://github.com/eslint/eslint/issues/6028
50
// 'no-extra-parens': [
51
// 'error',
0 commit comments