Skip to content

Commit 5f65e09

Browse files
committed
docs: update docs to add other official configs from core
1 parent a74e496 commit 5f65e09

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Extends [eslint-config-airbnb](https://github.com/airbnb/javascript) and [eslint
1212
For more detail on the rules implemented, see the config itself:
1313

1414
- [recommended](./src/recommended.js)
15+
- [jquery](./src/jquery.js)
16+
- [legacy](./src/legacy.js)
17+
- [passing](./src/passing.js)
1518

1619
## Installation
1720

@@ -23,13 +26,36 @@ npm install eslint-plugin-drupal-contrib@2 --save-dev
2326

2427
## Usage
2528

26-
### Drupal 9.x
29+
### Recommended
2730

2831
Add the following to your eslint configuration file
2932

3033
```jsx
3134
extends: ["plugin:drupal-contrib/recommended"]
3235
```
36+
### jQuery
37+
38+
Add the following to your eslint configuration file
39+
40+
```jsx
41+
extends: ["plugin:drupal-contrib/jquery"]
42+
```
43+
44+
### Legacy
45+
46+
Add the following to your eslint configuration file
47+
48+
```jsx
49+
extends: ["plugin:drupal-contrib/legacy"]
50+
```
51+
52+
### Passing
53+
54+
Add the following to your eslint configuration file
55+
56+
```jsx
57+
extends: ["plugin:drupal-contrib/passing"]
58+
```
3359

3460
## Versioning
3561

0 commit comments

Comments
 (0)