eslint-plugin-sonarjs
Version:
SonarJS rules for ESLint
19 lines (11 loc) ⢠495 B
Markdown
# sonarjs/no-duplicate-string
š String literals should not be duplicated.
š« This rule is _disabled_ in the ā
`recommended` config.
<!-- end auto-generated rule header -->
## Options
<!-- begin auto-generated rule options list -->
| Name | Type | Default |
| :-------------- | :------ | :----------------- |
| `ignoreStrings` | String | `application/json` |
| `threshold` | Integer | `3` |
<!-- end auto-generated rule options list -->