Skip to content

vuetifyjs/eslint-plugin-vuetify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 18, 2025
a24a889 Β· Mar 18, 2025
Nov 9, 2023
May 31, 2021
Apr 16, 2024
Oct 28, 2022
Nov 18, 2024
Nov 18, 2024
Oct 28, 2022
Oct 17, 2019
Nov 18, 2024
Oct 29, 2022
Nov 18, 2024
Mar 18, 2025
Mar 18, 2025

Repository files navigation

eslint-plugin-vuetify

This package is for migrating from Vuetify v2 to v3, use eslint-plugin-vuetify@vuetify-2 for v1 to v2.


Support the maintainer of this plugin:

Kael Watts-Deuchar

Become a Patron

πŸ’Ώ Install

You should have eslint and eslint-plugin-vue set up first.

yarn add eslint-plugin-vuetify -D
# OR
npm install eslint-plugin-vuetify --save-dev
// eslint.config.js
import vue from 'eslint-plugin-vue'
import vuetify from 'eslint-plugin-vuetify'

export default [
  ...vue.configs['flat/base'],
  ...vuetify.configs['flat/base'],
]

Eslint 8 can alternatively use the older configuration format:

// .eslintrc.js
module.exports = {
  extends: [
    'plugin:vue/base',
    'plugin:vuetify/base'
  ]
}

NOTE This plugin does not affect pug templates due to a limitation in vue-eslint-parser. I suggest converting your pug templates to HTML with pug-to-html in order to use this plugin.

Rules

Deprecations

These rules will help you avoid deprecated components, props, and classes. They are included in the base preset.

Grid system

These rules are designed to help migrate to the new grid system in Vuetify v2. They are included in the recommended preset.

πŸ’ͺ Supporting Vuetify

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:

πŸ“‘ License

MIT

Copyright (c) 2016-present Vuetify LLC