@bedrockstreaming/eslint-config-vue

4.1.0 • Public • Published

@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,

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

Package Sidebar

Install

npm i @bedrockstreaming/eslint-config-vue

Weekly Downloads

0

Version

4.1.0

License

MIT

Unpacked Size

4.06 kB

Total Files

6

Last publish

Collaborators

  • tetsu9901
  • jsulpis
  • martinschneider01
  • jcoquet
  • fdubost
  • slashgear
  • hpierre74
  • nbazille