Skip to content

Commit f7ea49d

Browse files
committed
fix: adjust sonarjs todo-tag rule severity in ESLint configuration
1 parent 75e6709 commit f7ea49d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default tseslint.config(
2222
],
2323
"@typescript-eslint/no-explicit-any": "off",
2424
"@typescript-eslint/explicit-function-return-type": "off",
25+
"sonarjs/todo-tag": "warn",
2526
},
2627
},
2728
{

test/rules-snapshot.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"sonarjs/prefer-single-boolean-return": [2],
107107
"sonarjs/unused-import": [2],
108108
"sonarjs/fixme-tag": [2],
109-
"sonarjs/todo-tag": [2],
109+
"sonarjs/todo-tag": [1],
110110
"sonarjs/useless-string-operation": [0],
111111
"sonarjs/no-unused-function-argument": [0],
112112
"sonarjs/no-duplicate-string": [0],

0 commit comments

Comments
 (0)