Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

eslint-plugin-vuetify

1.0.0-beta.7 • 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

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
// .eslintrc.js
module.exports = {
  extends: [
    'plugin:vue/base'
  ],
  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

16,185

Version

1.0.0-beta.7

License

MIT

Unpacked Size

19.5 kB

Total Files

18

Last publish

Collaborators

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