ESLint configuration file for Web Scrobbler projects.
You can install @web-scrobbler/eslint-config by a following way:
> npm install --save-dev @web-scrobbler/eslint-configAdd web-scrobbler to the extends array in your .eslintrc.* file:
{
"extends": ["some-other-config-you-use", "web-scrobbler"]
}Install peer dependencies first:
> npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parserThen, add web-scrobbler/typescript to the extends array in your .eslintrc.* file:
{
"extends": ["some-other-config-you-use", "web-scrobbler/typescript"]
}You don't need to include web-scrobbler config - web-scrobbler/typescript handles both JS and TS files.
Install peer dependencies first:
> npm install --save-dev eslint-plugin-vueThen, add web-scrobbler/vue cto the extends array in your .eslintrc.* file:
{
"extends": [
"some-other-config-you-use",
"web-scrobbler",
"web-scrobbler/vue"
]
}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.
Licensed under the MIT License.