Skip to content

Commit 1f19ac4

Browse files
committed
Add notes about using subconfigs
1 parent 552e1a7 commit 1f19ac4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ Then, add `web-scrobbler/typescript` cto the `extends` array in your `.eslintrc.
3636
}
3737
```
3838

39+
You don't need to include `web-scrobbler` config - `web-scrobbler/typescript` handles both JS and TS files.
40+
3941
### Vue
4042

4143
Install peer dependencies first:
@@ -56,6 +58,8 @@ Then, add `web-scrobbler/vue` cto the `extends` array in your `.eslintrc.*` file
5658
}
5759
```
5860

61+
`web-scrobbler/vue` config is applied to Vue SFCs only, so you should add `web-scrobbler` (or `web-scrobbler/typescript`) and `web-scrobbler/vue` configs to the `extends` array.
62+
5963
## License
6064

6165
Licensed under the [MIT License](./LICENSE).

0 commit comments

Comments
 (0)