@fmfe/eslint-config-fmfe-vue
Vuejs ESLint configuration of Followme Frontend Team Edit
Last updated 2 years ago by deboy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @fmfe/eslint-config-fmfe-vue 
SYNC missed versions from official npm registry.

eslint-config-fmfe-vue

ESLint configuration of Followme Frontend Team Vuejs group, base on standard.

usage

edit configuration file:

$ touch .eslintrc.js
module.exports = {
  extends: '@fmfe/fmfe-vue',
};

install

$ npm install eslint @fmfe/eslint-config-fmfe-vue -D
$ ./node_modules/.bin/eslint *.vue

or

$ npm install eslint @fmfe/eslint-config-fmfe-vue -g
$ eslint *.vue

rules

  • 基本规则
  • 附加规则
    • 行尾必须加分号
    • 缩进使用 4 个空格
    • 要求使用 let 或 const 而不是 var
    • 优先使用 const,其次才是 let

contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

license

this repo is released under the MIT License.

Current Tags

  • 0.0.2                                ...           latest (2 years ago)

2 Versions

  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 3
Last Month 2
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |