1.0.2 • Published 23 days ago

@reflektor/eslint-plugin-vue v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
23 days ago

eslint-plugin-vue

ESLint plugin for Vue projects at Reflektor Digital.

What's inside this config?

The dependencies are listed as dependencies in package.json instead of just devDependencies so that those packages will be installed automatically when we install this plugin. Hence, the only other package we would need to install is eslint.

Installation

yarn add eslint @reflektor/eslint-plugin-vue -D

Usage

Once the package and dependencies are installed, we can apply this ESLint plugin into our project.

// .eslintrc.js

module.exports = {
  // ...
  plugins : [
    // ...
    '@reflektor/vue'
  ],
  extends : [
    // ...
    'plugin:@reflektor/vue/nuxt', // For Nuxt projects

    // OR
    'plugin:@reflektor/vue/base', // For regular Vue projects
  ]
};

Guidelines

License

MIT License