@ascendancyy/vue-cli-plugin-eslint

eslint plugin for vue-cli

use the official plugin
Last updated 2 years ago by ascendancyy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ascendancyy/vue-cli-plugin-eslint 
SYNC missed versions from official npm registry.

@ascendancyy/vue-cli-plugin-eslint

ESLint plugin for vue-cli

Injected commands

  • vue-cli-service lint

    Usage: vue-cli-service lint [options] [...files]
    
    Options:
    
      --format [formatter] specify formatter (default: codeframe)
      --no-fix             do not fix errors
    

    Lints and fixes files. If no specific files are given, it lints all files in src and test.

    Other ESLint CLI options are also supported.

Configuration (.eslintrc.*)

Lint-on-save during development with eslint-loader can be enabled with the lintOnSave option in vue.config.js:

module.exports = {
  // ...
  lintOnSave: true,
}

Installing in an already created project

npm install -D @ascendancyy/vue-cli-plugin-eslint
vue invoke @ascendancyy/vue-cli-plugin-eslint

There is also a shorthand to invoke the plugin
vue invoke @ascendancyy/eslint

Injected webpack-chain rules

  • config.rule('eslint')
  • config.rule('eslint').use('eslint-loader')

Current Tags

  • 1.3.4                                ...           latest (2 years ago)

9 Versions

  • 1.3.4 [deprecated]           ...           2 years ago
  • 1.3.3 [deprecated]           ...           2 years ago
  • 1.3.2 [deprecated]           ...           2 years ago
  • 1.3.1 [deprecated]           ...           2 years ago
  • 1.3.0 [deprecated]           ...           2 years ago
  • 1.2.0 [deprecated]           ...           2 years ago
  • 1.1.1 [deprecated]           ...           2 years ago
  • 1.1.0 [deprecated]           ...           2 years ago
  • 1.0.0 [deprecated]           ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 10
Last Month 34
Dependencies (8)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |