Skip to content

yayuyokitano/eslint-config-web-scrobbler

 
 

Repository files navigation

eslint-config-web-scrobbler NPM Test

ESLint configuration file for Web Scrobbler projects.

Usage

You can install eslint-config-web-scrobbler by a following way:

> npm install --save-dev eslint-config-web-scrobbler

JavaScript

Add web-scrobbler to the extends array in your .eslintrc.* file:

{
	"extends": ["some-other-config-you-use", "web-scrobbler"]
}

TypeScript

Install peer dependencies first:

> npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser

Then, 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.

Vue

Install peer dependencies first:

> npm install --save-dev eslint-plugin-vue

Then, 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.

License

Licensed under the MIT License.

About

ESLint configuration file for Web Scrobbler projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%