diff --git a/rules/common/sonarjs.js b/rules/common/sonarjs.js index 0a49e21..fb71f57 100644 --- a/rules/common/sonarjs.js +++ b/rules/common/sonarjs.js @@ -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', }, }