eslint-config-awzzm-vue
v2.0.1
Published
An ESLint configuration for Vue.js and Nuxt.js
Downloads
66
Readme
Vue.js and NuxtJS Configuration
You don't need to install the base configuration (eslint-config-awzzm
)
because this configuration extends it.
npm install --save-dev eslint-config-awzzm-vue
# or
yarn add -D eslint-config-awzzm-vue
Add it to your ESLint configuration:
{
"extends": ["awzzm-vue"]
}
Note: If you need to use a custom ESLint parser, read this.
Most Significant Rules
- Script tag base intent multiplier is 1 (
vue/script-indent
)
// ✔️ Good
<script>
export default {
// ...
}
</script>
// ❌ Bad
<script>
export default {
// ...
}
</script>