4.0.0 • Published 2 years ago

@kocal/eslint-config-generator-plugin-vue v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ESLint config generator (plugin Vue)

npm.io

Installation

Install the plugin:

$ yarn add --dev @kocal/eslint-config-generator-plugin-vue

Usage

In your .eslintrc.js:

// enable Vue support
generateConfig({
  vue: true
});

// enable and configure Vue support
generateConfig({
  vue: {
    version: 3, // default: 2
    config: 'recommended', // default: 'recommended', available values: 'essential', 'recommended', 'strongly-recommended'
  }
});