chore: comment out some duplicated/unecessary rules taking time

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
This commit is contained in:
Florent Benoit 2024-10-19 17:40:18 +02:00 committed by Florent BENOIT
parent a203fa1598
commit 14075a7bc9

View file

@ -216,6 +216,17 @@ export default [
'sonarjs/no-lonely-if': 'off',
'sonarjs/deprecation': 'off',
'sonarjs/use-type-alias': 'off',
// already enabled by eslint
'sonarjs/no-async-constructor': 'off',
// already enabled by typescript
'sonarjs/no-misused-promises': 'off',
'sonarjs/no-redeclare': 'off',
'sonarjs/no-dead-store': 'off',
// consuming too much time
'sonarjs/aws-restricted-ip-admin-access': 'off',
'sonarjs/arguments-order': 'off',
'sonarjs/no-redundant-assignments': 'off',
// failing with the AST parser
'sonarjs/sonar-no-fallthrough': 'off',
@ -225,6 +236,8 @@ export default [
'etc/no-deprecated': 'off',
// disable this rule as it's not compliant with eslint v9
'etc/no-commented-out-code': 'off',
// disable as it's consuming too much time
'etc/no-internal': 'off',
// redundant-undefined custom rules
'redundant-undefined/redundant-undefined': 'error',