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
Copy file name to clipboardExpand all lines: readme.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -255,7 +255,7 @@ See [docs/deprecated-rules.md](docs/deprecated-rules.md)
255
255
256
256
## Recommended config
257
257
258
-
This plugin exports a [`recommended` config](index.js) that enforces good practices.
258
+
This plugin exports a [`recommended` config](configs/recommended.js) that enforces good practices.
259
259
260
260
Enable it in your `package.json` with the `extends` option:
261
261
@@ -272,6 +272,23 @@ See the [ESLint docs](https://eslint.org/docs/user-guide/configuring/configurati
272
272
273
273
**Note**: This config will also enable the correct [parser options](https://eslint.org/docs/user-guide/configuring/language-options#specifying-parser-options) and [environment](https://eslint.org/docs/user-guide/configuring/language-options#specifying-environments).
274
274
275
+
## All config
276
+
277
+
This plugin exports an [`all` config](configs/all.js) that makes use of all rules (except for deprecated ones).
278
+
279
+
Enable it in your `package.json` with the `extends` option:
280
+
281
+
```json
282
+
{
283
+
"name": "my-awesome-project",
284
+
"eslintConfig": {
285
+
"extends": "plugin:unicorn/all"
286
+
}
287
+
}
288
+
```
289
+
290
+
See the [ESLint docs](https://eslint.org/docs/user-guide/configuring/configuration-files#extending-configuration-files) for more information about extending config files.
0 commit comments