12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- // http://eslint.org/docs/user-guide/configuring
- module.exports = {
- root: true,
- parser: 'babel-eslint',
- parserOptions: {
- sourceType: 'module'
- },
- env: {
- browser: true,
- jquery: true
- },
- // https://github.com/standard/standard/blob/master/docs/RULES-en.md
- 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,
- 'no-undef': 0,
- 'semi': 0,
- 'quotes': 0,
- 'space-before-function-paren': 0,
- 'no-extend-native': 0,
- 'camelcase': 0,
- 'indent':0,
- 'space-before-blocks':0,
- 'no-unused-vars':0,
- 'comma-spacing':0,
- 'no-unused-vars':0,
- 'space-before-blocks':0,
- 'padded-blocks':0,
- 'no-tabs':0,
- 'brace-style':0,
- 'comma-dangle ':0,
- 'key-spacing':0,
- 'comma-dangle':0,
- 'no-mixed-spaces-and-tabs':0,
- 'no-multi-spaces':0,
- 'no-trailing-spaces':0,
- 'eol-last':0,
- 'no-constant-condition':0,
- 'space-in-parens':0,
- 'spaced-comment':0,
- 'no-cond-assign':0,
- 'eqeqeq':0,
- 'standard%2Fcomputed-property-even-spacing':0,
- 'block-spacing':0
- // 'computed-property-even-spacing': 0
- }
- }
|