-
Notifications
You must be signed in to change notification settings - Fork 28
/
.eslintrc.js
43 lines (43 loc) · 1017 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 2017,
sourceType: "module"
},
env: {
browser: true,
node: true,
mocha: true,
jquery: true
},
"globals": {
"expect": true
},
extends: [
'plugin:vue/recommended',
'standard'
],
plugins: [
'vue'
],
rules: {
'generator-star-spacing': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
// allow debugger during development
"no-console": 0,
"vue/max-attributes-per-line": 0,
"vue/mustache-interpolation-spacing": 0,
"vue/attribute-hyphenation": 0,
"vue/singleline-html-element-content-newline": 0,
"vue/component-name-in-template-casing": 0,
"vue/multiline-html-element-content-newline": 0,
"vue/require-prop-types": 0,
"semi": ["error", "always"],
"quotes": ["error", "double"],
"no-unused-vars": 0,
"vue/no-v-html": 0,
"eol-last": 0,
"space-before-function-paren": 0
}
}