Skip to content

Commit 6a13d18

Browse files
Willis Plummerbeefancohen
authored andcommitted
[docs] update instructions for using recommended rules (#122)
1 parent c90a574 commit 6a13d18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ Then configure the rules you want to use under the rules section.
6969
```
7070

7171

72-
You can also enable all the recommended rules at once. Replace `jsx-a11y` in `plugins`:
72+
You can also enable all the recommended rules at once. Add `plugin:jsx-a11y/recommended` in `extends`:
7373

7474
```json
7575
{
76-
"plugins": {
76+
"extends": {
7777
"plugin:jsx-a11y/recommended"
7878
}
7979
}

0 commit comments

Comments
 (0)