You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran plugin at project, and seen many errors.
If maintainers approve adding this plugin, i would step by step make fixes at code, to make it simpler and more maintainible.
Some rules usually are off, such as 'no-duplicate-string' (at test folder), but some of them needed to fix
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I ran plugin at project, and seen many errors.
If maintainers approve adding this plugin, i would step by step make fixes at code, to make it simpler and more maintainible.
Some rules usually are off, such as 'no-duplicate-string' (at test folder), but some of them needed to fix
rule name // count of errors
'sonarjs/prefer-immediate-return': 'off', // 34
'sonarjs/cognitive-complexity': 'off', // 349
'sonarjs/no-duplicate-string': 'off', // 149
'sonarjs/no-duplicated-branches': 'off', // 6
'sonarjs/no-nested-template-literals': 'off', // 269
'sonarjs/no-collapsible-if': 'off', // 36
'sonarjs/no-identical-functions': 'off', // 63
'sonarjs/no-redundant-jump': 'off', // 5
'sonarjs/no-inverted-boolean-check': 'off', // 1
'sonarjs/no-unused-collection': 'off', // 3
'sonarjs/no-nested-switch': 'off', // 15
'sonarjs/no-small-switch': 'off', // 10
'sonarjs/no-redundant-boolean': 'off', // 3
'sonarjs/no-gratuitous-expressions': 'off' // 1
plugin homepage https://github.com/SonarSource/eslint-plugin-sonarjs
Beta Was this translation helpful? Give feedback.
All reactions