Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@bedrockstreaming/eslint-config-vue

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bedrockstreaming/eslint-config-vue

ESLint config used in Bedrock Streaming's Vue projects

latest
Source
npmnpm
Version
4.1.0
Version published
Maintainers
3
Created
Source

@bedrockstreaming/eslint-config-vue

Install

With NPM

npm install --save-dev @bedrockstreaming/eslint-config-vue

With Yarn

yarn add -D @bedrockstreaming/eslint-config-vue

Usage

Extends the configuration in the .eslintrc or .eslintrc.json file at the root of your project.

// For Vue 2:
{
  "extends": "@bedrockstreaming/vue"
}
// or, for Vue 2 using TypeScript:
{
  "extends": ["@bedrockstreaming/vue", "@bedrockstreaming/vue/typescript"],
}
// or, for Vue 3:
{
  "extends": "@bedrockstreaming/vue/vue3"
}
// or, for Vue 3 using TypeScript:
{
  "extends": ["@bedrockstreaming/vue/vue3", "@bedrockstreaming/vue/typescript"],
}

VS Code configuration

For a full linting and formatting experience in VS Code,

  • install these extensions:

  • then add this setting in your settings.json file:

{
  "editor.defaultFormatter": "esbenp.prettier-vscode"
}

Keywords

linting

FAQs

Package last updated on 18 Feb 2022

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