参考文档javascript
http://www.cnblogs.com/hahazexia/p/6393212.html
html
http://blog.guowenfh.com/2016/08/07/ESLint-Rules/vue
官网java
http://eslint.org/docs/rules/git
配置github
// http://eslint.org/docs/user-guide/configuringmodule.exports = { root: true, parser: 'babel-eslint', parserOptions: { sourceType: 'module' }, env: { browser: true, }, // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style extends: 'standard', // required to lint *.vue files plugins: [ 'html' ], // add your custom rules here 'rules': { // 规则 // allow paren-less arrow functions--容许箭头函数前面不写空格 'arrow-parens': 0, // allow async-await 'generator-star-spacing': 0, // allow debugger during development 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, // 不容许在生产环境使用debug 'semi': ['error', 'always'], // 结尾强制有分号 'indent': 0, 'space-before-function-paren': 0 // 能够xx(){} 原来 xx () {} }}