You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`eslint-config-flat-gitignore`| ignores all files from your `.gitignore` file || MIT |
13
-
|`@eslint/js`| standard ESLint rules |`recommended` plus hand-picked rules that were not included | MIT |
14
-
|`eslint-plugin-unicorn`| modern set of rules | I think pretty opinionated, so I carefully hand-picked rules, avoiding style related rules | MIT |
15
-
|`eslint-plugin-sonarjs`| ESLint plugin maintained by Sonar, designed to help developers write Clean Code | all `recommended` rules minus some disabled for better DX | LGPL-3.0-only |
16
-
|`@eslint-community/eslint-plugin-eslint-comments`| additional ESLint rules for ESLint directive comments (e.g. //eslint-disable-line) |`recommended` rules | MIT |
17
-
|`@eslint/json`| plugin that allows you to natively lint JSON and JSONC |`recommended` rules minus the `sort-keys`| Apache-2.0 |
18
-
|`eslint-plugin-regexp`| ESLint plugin for finding RegExp mistakes |`recommended` rules | MIT |
|`eslint-config-flat-gitignore`| ignores all files from your `.gitignore` file || MIT |
13
+
|`@eslint/js`| standard ESLint rules |`recommended` plus hand-picked rules that were not included | MIT |
14
+
|`eslint-plugin-unicorn`| modern set of rules | I think pretty opinionated, so I carefully hand-picked rules, avoiding style related rules | MIT |
15
+
|`eslint-plugin-sonarjs`|(Optional) ESLint plugin maintained by Sonar, designed to help developers write Clean Code | all `recommended` rules minus some disabled for better DX (auto-enabled when installed)| LGPL-3.0-only |
16
+
|`@eslint-community/eslint-plugin-eslint-comments`| additional ESLint rules for ESLint directive comments (e.g. //eslint-disable-line) |`recommended` rules | MIT |
17
+
|`@eslint/json`| plugin that allows you to natively lint JSON and JSONC |`recommended` rules minus the `sort-keys`| Apache-2.0 |
18
+
|`eslint-plugin-regexp`| ESLint plugin for finding RegExp mistakes |`recommended` rules | MIT |
19
19
20
20
## Installation
21
21
@@ -32,6 +32,10 @@ import javascript from "@zemd/eslint-js";
32
32
exportdefault [...javascript()];
33
33
```
34
34
35
+
## SonarJS rules (optional)
36
+
37
+
To stay compliant with enterprise policies that forbid LGPL software, SonarJS rules are **optional**. If you want to use them, install `eslint-plugin-sonarjs` and the rules will be detected and enabled automatically.
0 commit comments