Commit 0f6a8af
committed
More easier
This makes setting `plugins` unnecessary when using `plugin:jsx-a11y/***` configs.
Before
------
```json
{
"extends": ["plugin:jsx-a11y/recommended"],
"plugins": ["jsx-a11y"]
}
```
After
-----
```json
{
"extends": ["plugin:jsx-a11y/recommended"]
}
```
For example, `eslint-plugin-react` has a similar behavior:
https://github.com/yannickcr/eslint-plugin-react/blob/3008e85553b0ba66f396e2d6690eea420838bfec/index.js#L117plugin:jsx-a11y/{recommended,strict} configs1 parent 93265cb commit 0f6a8af
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
163 | 169 | | |
164 | 170 | | |
165 | 171 | | |
| |||
0 commit comments