Need private packages and team management tools?Check out npm Teams »

eslint-plugin-vuetify

1.0.0-beta.6 • Public • Published

eslint-plugin-vuetify (WIP)

An eslint plugin for Vuetify. Built for https://github.com/vuetifyjs/vuetify/pull/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

Keywords

none

Install

npm i eslint-plugin-vuetify

DownloadsWeekly Downloads

12,267

Version

1.0.0-beta.6

License

MIT

Unpacked Size

19.2 kB

Total Files

12

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar