Skip to content

Commit 581fd1e

Browse files
fix(sonarjs/no-duplicate-string): increase the number of duplicate strings needed to trigger rule
1 parent c9300ed commit 581fd1e

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-nested-template-literals": "off",
10+
"sonarjs/no-duplicate-string": ["error", 5],
1111
"sonarjs/no-small-switch": "off",
1212
"sonarjs/no-useless-cast": "off",
1313
},

0 commit comments

Comments
 (0)