Enable eslint sonar prefer-object-literal
This commit is contained in:
+1
-2
@@ -75,8 +75,7 @@ module.exports = {
|
||||
|
||||
'sonarjs/cognitive-complexity': ['warn'],
|
||||
// TODO: Enable the following rules and fix issues
|
||||
'sonarjs/no-duplicate-string': ['off'],
|
||||
'sonarjs/prefer-object-literal': ['off']
|
||||
'sonarjs/no-duplicate-string': ['off']
|
||||
},
|
||||
settings: {
|
||||
react: {
|
||||
|
||||
Reference in New Issue
Block a user