2015-09-30 22:15:19 +00:00
|
|
|
---
|
|
|
|
root: true
|
|
|
|
|
2019-01-28 15:53:00 +00:00
|
|
|
parserOptions:
|
|
|
|
ecmaVersion: 2017
|
|
|
|
|
2015-09-30 22:15:19 +00:00
|
|
|
env:
|
2016-11-20 13:23:35 +00:00
|
|
|
es6: true
|
2015-09-30 22:15:19 +00:00
|
|
|
browser: true
|
|
|
|
mocha: true
|
|
|
|
node: true
|
|
|
|
|
|
|
|
rules:
|
2017-09-18 02:04:29 +00:00
|
|
|
block-scoped-var: error
|
|
|
|
curly: [error, all]
|
|
|
|
dot-notation: error
|
|
|
|
eqeqeq: error
|
|
|
|
handle-callback-err: error
|
|
|
|
linebreak-style: [error, unix]
|
|
|
|
no-alert: error
|
|
|
|
no-catch-shadow: error
|
|
|
|
no-control-regex: off
|
2019-06-25 08:51:47 +00:00
|
|
|
no-console: error
|
2017-09-18 02:04:29 +00:00
|
|
|
no-duplicate-imports: error
|
|
|
|
no-else-return: error
|
|
|
|
no-implicit-globals: error
|
|
|
|
no-shadow: error
|
|
|
|
no-template-curly-in-string: error
|
|
|
|
no-unsafe-negation: error
|
|
|
|
no-useless-computed-key: error
|
2018-02-18 19:56:39 +00:00
|
|
|
no-useless-constructor: error
|
2017-09-18 02:04:29 +00:00
|
|
|
no-useless-return: error
|
2019-07-17 07:45:34 +00:00
|
|
|
no-use-before-define:
|
|
|
|
- error
|
|
|
|
- functions: false
|
2018-01-11 11:33:36 +00:00
|
|
|
no-var: error
|
2018-03-05 00:59:16 +00:00
|
|
|
object-shorthand:
|
|
|
|
- error
|
|
|
|
- methods
|
|
|
|
- avoidExplicitReturnArrows: true
|
2018-02-19 11:08:03 +00:00
|
|
|
padding-line-between-statements:
|
|
|
|
- error
|
|
|
|
- blankLine: always
|
|
|
|
prev:
|
|
|
|
- block
|
|
|
|
- block-like
|
|
|
|
next: "*"
|
|
|
|
- blankLine: always
|
|
|
|
prev: "*"
|
|
|
|
next:
|
|
|
|
- block
|
|
|
|
- block-like
|
2017-09-18 02:04:29 +00:00
|
|
|
prefer-const: error
|
2018-02-18 19:56:39 +00:00
|
|
|
prefer-rest-params: error
|
|
|
|
prefer-spread: error
|
2017-09-18 02:04:29 +00:00
|
|
|
spaced-comment: [error, always]
|
2018-07-06 18:15:15 +00:00
|
|
|
strict: off
|
2017-09-18 02:04:29 +00:00
|
|
|
yoda: error
|
2018-07-06 18:15:15 +00:00
|
|
|
vue/require-default-prop: off
|
2018-07-29 17:57:14 +00:00
|
|
|
vue/no-v-html: off
|
2018-09-05 07:11:58 +00:00
|
|
|
vue/no-use-v-if-with-v-for: off
|
2015-09-30 22:15:19 +00:00
|
|
|
|
2018-07-06 18:15:15 +00:00
|
|
|
plugins:
|
|
|
|
- vue
|
|
|
|
|
|
|
|
extends:
|
|
|
|
- eslint:recommended
|
|
|
|
- plugin:vue/recommended
|
2019-07-17 09:32:26 +00:00
|
|
|
- prettier
|
|
|
|
- prettier/vue
|