Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including eslint-plugin-vuetify with all npm packages installed. Try it out:

require("eslint/package.json"); // eslint is a peer dependency. require("vuetify/package.json"); // vuetify is a peer dependency. var eslintPluginVuetify = require("eslint-plugin-vuetify")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

eslint-plugin-vuetify v1.0.0-beta.6

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

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free