Skip to content

Commit

Permalink
Disable sonar/no-base-to-string
Browse files Browse the repository at this point in the history
It doesn't work for JS, and it's already covered by
`@typescript-eslint/no-base-to-string`.
  • Loading branch information
EvgenyOrekhov committed Jan 11, 2024
1 parent c787766 commit f159706
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The most strict (yet practical) ESLint config.
Aims to include as many plugins and rules as possible to make your code
extremely consistent and robust.

**52 plugins. 1327 rules.**
**52 plugins. 1326 rules.**

## Usage

Expand Down Expand Up @@ -208,7 +208,7 @@ Base framework-agnostic config.
| [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) | 94 |
| [eslint-plugin-regexp](https://github.com/ota-meshi/eslint-plugin-regexp) | 79 |
| [eslint-plugin-putout](https://github.com/coderaiser/putout/tree/master/packages/eslint-plugin-putout) | 73 |
| [eslint-plugin-sonar](https://github.com/un-ts/eslint-plugin-sonar) | 52 |
| [eslint-plugin-sonar](https://github.com/un-ts/eslint-plugin-sonar) | 51 |
| [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) | 33 |
| [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs) | 31 |
| [HTML ESLint](https://github.com/yeonjuan/html-eslint) | 22 |
Expand All @@ -230,7 +230,7 @@ Base framework-agnostic config.
| [eslint-plugin-json](https://github.com/azeemba/eslint-plugin-json)¹ | 1 |
| [eslint-plugin-yml](https://github.com/ota-meshi/eslint-plugin-yml)¹ | 1 |
| [eslint-plugin-toml](https://github.com/ota-meshi/eslint-plugin-toml)¹ | 1 |
| **Total:** | **634** |
| **Total:** | **633** |

¹ json/yml/toml plugins actually include several rules, but I consider each
plugin as a single "no-invalid" rule.
Expand Down
1 change: 0 additions & 1 deletion base.json
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,6 @@
"sonar/no-angular-bypass-sanitization": "error",
"sonar/no-array-delete": "error",
"sonar/no-associative-arrays": "error",
"sonar/no-base-to-string": "error",
"sonar/no-clear-text-protocols": "error",
"sonar/no-dead-store": "error",
"sonar/no-empty-after-reluctant": "error",
Expand Down
1 change: 1 addition & 0 deletions disabled-rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
"sonar/mouse-events-a11y": "off",
"sonar/nested-control-flow": "off",
"sonar/new-operator-misuse": "off",
"sonar/no-base-to-string": "off",
"sonar/no-built-in-override": "off",
"sonar/no-case-label-in-switch": "off",
"sonar/no-commented-code": "off",
Expand Down

0 comments on commit f159706

Please sign in to comment.