Skip to content

Commit b4b6f4a

Browse files
committed
Downgrade todo comments from error to warning
1 parent ea662e0 commit b4b6f4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/configs/javascript.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export default tseslint.config(
6363
'sonarjs/no-small-switch': 'warn',
6464
'sonarjs/prefer-immediate-return': 'warn',
6565
'sonarjs/no-duplicate-string': 'warn',
66+
...('todo-tag' in sonarjs.rules && { 'sonarjs/todo-tag': 'warn' }),
6667
'promise/always-return': ['error', { ignoreLastCallback: true }],
6768
},
6869
},

0 commit comments

Comments
 (0)