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
1212For 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
2831Add the following to your eslint configuration file
2932
3033``` jsx
3134extends: [" 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
You can’t perform that action at this time.
0 commit comments