Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Commit

Permalink
feat(sonarjs): error rule
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-leblanc committed Jun 14, 2022
1 parent 4df2b48 commit a21e816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/common/sonarjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
'sonarjs/no-useless-catch': 'warn',
'sonarjs/prefer-immediate-return': 'off',
'sonarjs/prefer-object-literal': 'warn',
'sonarjs/prefer-single-boolean-return': 'warn',
'sonarjs/prefer-single-boolean-return': 'error',
'sonarjs/prefer-while': 'warn',
},
}

0 comments on commit a21e816

Please sign in to comment.