Skip to content

icleolion/eslint-plugin-vuetify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-vuetify (WIP)

An eslint plugin for Vuetify. Built for vuetifyjs/vuetify#7327, requires vuetify >=2.0.0-beta.9


Support the maintainer of this plugin:

Kael Watts-Deuchar

Become a Patron

💿 Install

yarn add eslint-plugin-vuetify -D
# OR
npm install eslint-plugin-vuetify --save-dev
// .eslintrc.js
module.exports = {
  plugins: [
    'vuetify'
  ],
  rules: {
    'vuetify/no-deprecated-classes': 'error'
  }
}

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.

🚀 Usage

Add the grid-unknown-attributes and no-legacy-grid rules and the plugin will automatically update your templates.

// .eslintrc.js

'vuetify/grid-unknown-attributes': 'error',
'vuetify/no-legacy-grid': 'error',

💪 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%