eslint config for vue.js projects
npm install eslint-config-vuetify


⨠An opinionated eslint config for Vuetify, crafted to keep your code clean and consistent!
``shnpm
npm install -D eslint-config-vuetify
$3
Update your
eslint.config.js flat config to _extend_ vuetify:`js
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
`js
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:
`js
import vuetify from 'eslint-config-vuetify'export default vuetify(
{
pnpm: false,
},
{
plugins: {
sonarjs,
},
rules: {
...sonarjs.configs.recommended.rules,
},
},
)
``js
import vuetify from 'eslint-config-vuetify'export default vuetify({
rules: {
'no-console': 'error',
},
})
``Vuetify is an open source MIT project that has been made possible due to the generous contributions by community backers. If you are interested in supporting this project, please consider:
Copyright (c) 2016-present Vuetify LLC
----
This project exists and thrives thanks to all the wonderful people who contribute š