Skip to content

Commit 7f8c55d

Browse files
committed
Disable sonarjs/no-inverted-boolean-check
The autofix for one of our !!() expressions actually broke our code. Disabled. Release version 1.0.13.
1 parent 7d4efa1 commit 7f8c55d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module.exports = {
102102
'sonarjs/no-identical-conditions': 'warn',
103103
'sonarjs/no-identical-functions': 'warn',
104104
'sonarjs/no-identical-expressions': 'warn',
105-
'sonarjs/no-inverted-boolean-check': 'warn',
105+
'sonarjs/no-inverted-boolean-check': 'off',
106106
'sonarjs/no-one-iteration-loop': 'warn',
107107
'sonarjs/no-redundant-boolean': 'warn',
108108
'sonarjs/no-small-switch': 'warn',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-tree",
3-
"version": "1.0.12",
3+
"version": "1.0.13",
44
"description": "Shared Tree configuration that contains overrides and enhancements on top of the base frontier configuration.",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)