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
| ✔️ |`recommended`| enables all recommended rules in this plugin |
81
+
||`rules-recommended`| enables all recommended rules that are aimed at linting ESLint rule files |
82
+
||`tests-recommended`| enables all recommended rules that are aimed at linting ESLint test files |
83
+
||`all`| enables all rules in this plugin |
84
+
||`rules`| enables all rules that are aimed at linting ESLint rule files |
85
+
||`tests`| enables all rules that are aimed at linting ESLint test files |
86
+
87
+
The list of recommended rules will only change in a major release of this plugin. However, new non-recommended rules might be added in a minor release of this plugin. Therefore, the using the `all`, `rules`, and `tests` presets is **not recommended for production use**, because the addition of new rules in a minor release could break your build.
88
+
78
89
Presets are enabled by adding a line to the `extends` list in your config file. For example, to enable the `recommended` preset, use:
79
90
80
91
```json
@@ -84,13 +95,3 @@ Presets are enabled by adding a line to the `extends` list in your config file.
84
95
]
85
96
}
86
97
```
87
-
88
-
*`recommended` enables all recommended rules from this plugin.
89
-
*`rules-recommended` enables all recommended rules that are aimed at linting ESLint rule files.
90
-
*`tests-recommended` enables all recommended rules that are aimed at linting ESLint test files.
91
-
92
-
*`all` enables all rules in this plugin.
93
-
*`rules` enables all rules that are aimed at linting ESLint rule files.
94
-
*`tests` enables all rules that are aimed at linting ESLint test files.
95
-
96
-
The list of recommended rules will only change in a major release of this plugin. However, new non-recommended rules might be added in a minor release of this plugin. Therefore, the using the `all`, `rules`, and `tests` presets is **not recommended for production use**, because the addition of new rules in a minor release could break your build.
0 commit comments