You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@web-scrobbler/eslint-config

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web-scrobbler/eslint-config

ESLint configuration file for Web Scrobbler projects

3.0.0
Source
npmnpm
Version published
Maintainers
3
Created
Source

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.

Keywords

config

FAQs

Package last updated on 19 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts