File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ Extends [eslint-config-airbnb](https://github.com/airbnb/javascript) and [eslint
12
12
For more detail on the rules implemented, see the config itself:
13
13
14
14
- [ recommended] ( ./src/recommended.js )
15
+ - [ jquery] ( ./src/jquery.js )
16
+ - [ legacy] ( ./src/legacy.js )
17
+ - [ passing] ( ./src/passing.js )
15
18
16
19
## Installation
17
20
@@ -23,13 +26,36 @@ npm install eslint-plugin-drupal-contrib@2 --save-dev
23
26
24
27
## Usage
25
28
26
- ### Drupal 9.x
29
+ ### Recommended
27
30
28
31
Add the following to your eslint configuration file
29
32
30
33
``` jsx
31
34
extends: [" plugin:drupal-contrib/recommended" ]
32
35
```
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
+ ```
33
59
34
60
## Versioning
35
61
You can’t perform that action at this time.
0 commit comments