eslint-config-vuetify
v4.4.0
Published
eslint config for vue.js projects
Readme
eslint-config-vuetify
✨ An opinionated eslint config for Vuetify, crafted to keep your code clean and consistent!
💿 Install
# npm
npm install -D eslint-config-vuetify
# yarn
yarn add -D eslint-config-vuetify
# pnpm
pnpm install -D eslint-config-vuetify
# bun
bun install -D eslint-config-vuetify
# deno
deno install --dev eslint-config-vuetify🚀 Usage
Update your eslint.config.js flat config to extend vuetify:
import vuetify from 'eslint-config-vuetify'
export default vuetify()Most features are automatically detected, but you can explicitly turn them on/off or customize them
import vuetify from 'eslint-config-vuetify'
export default vuetify({
vue: true,
ts: {
preset: 'all',
},
})You can provide additional ESLint configurations after the options object, or directly specify them for simpler use cases where the default settings work fine:
import vuetify from 'eslint-config-vuetify'
export default vuetify(
{
pnpm: false,
},
{
plugins: {
sonarjs,
},
rules: {
...sonarjs.configs.recommended.rules,
},
},
)import vuetify from 'eslint-config-vuetify'
export default vuetify({
rules: {
'no-console': 'error',
},
})💪 Supporting Vuetify
📑 License
Copyright (c) 2016-present Vuetify LLC
This project exists and thrives thanks to all the wonderful people who contribute 😍
