Skip to content

Commit d1d3f70

Browse files
fix: update sonarjs/no-duplicate-string config
1 parent a5a783c commit d1d3f70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/sonarjs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const settings: Linter.Config = {
77

88
rules: {
99
"sonarjs/cognitive-complexity": "off",
10-
"sonarjs/no-duplicate-string": ["error", 5],
10+
"sonarjs/no-duplicate-string": ["error", { threshold: 5 }],
1111
"sonarjs/no-small-switch": "off",
1212
"sonarjs/no-useless-cast": "off",
1313
"sonarjs/max-switch-cases": "off",

0 commit comments

Comments
 (0)