Skip to content

Commit

Permalink
feat(eslint-config): disable no duplicate string
Browse files Browse the repository at this point in the history
  • Loading branch information
tszhong0411 committed Mar 24, 2024
1 parent 345941a commit 5146ee9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/little-donkeys-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tszhong0411/eslint-config": patch
---

disable no duplicate string
2 changes: 1 addition & 1 deletion packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ module.exports = {
'unicorn/prefer-export-from': [2, { ignoreUsedVariables: true }],

// SonarJS
'sonarjs/no-duplicate-string': [2, { threshold: 5 }],
'sonarjs/no-duplicate-string': 0,

// Eslint comments
'eslint-comments/no-use': [
Expand Down

0 comments on commit 5146ee9

Please sign in to comment.