blessing-skin-server/.eslintrc.yml
2018-07-29 15:32:10 +08:00

44 lines
581 B
YAML

root: true
parser: vue-eslint-parser
parserOptions:
ecmaVersion: 2018
sourceType: module
parser: babel-eslint
env:
node: true
es6: true
browser: true
jest: true
jquery: true
extends:
- 'eslint:recommended'
- 'plugin:vue/essential'
rules:
linebreak-style:
- error
- unix
quotes:
- warn
- single
semi:
- error
- always
object-curly-spacing:
- error
- always
no-unused-vars: warn
no-console: 'off'
comma-style:
- warn
- last
prefer-const: warn
no-var: error
eqeqeq: error
globals:
blessing: false