4.1.0 • Published 2 years ago
@bedrockstreaming/eslint-config-vue v4.1.0
@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:
- ESLint
- Prettier - Code formatter
- for Vue 2: Vetur
- for Vue 3: Volar
then add this setting in your
settings.json
file:
{
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
4.1.0
2 years ago
4.1.0-beta.3
2 years ago
4.0.4
2 years ago
4.0.1
2 years ago
4.0.0
2 years ago
4.0.0-beta.15
2 years ago
4.0.0-typescript.15
2 years ago
4.0.0-typescript.14
2 years ago
4.0.0-typescript.13
2 years ago