-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
82 lines (77 loc) · 1.3 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
module.exports = {
"env": {
"node": true,
"es6": true,
"jest": true,
"jasmine": true,
},
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:vue/recommended"
],
"plugins": [
"import",
"vue"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {
"import/no-unresolved": [2, {commonjs: true, amd: true}],
"no-underscore-dangle": 0,
"arrow-body-style": 0,
"import/no-extraneous-dependencies": 1,
"import/imports-first": 0,
"no-console": 1,
"no-restricted-syntax": 0,
"global-require": 0,
"import/no-dynamic-require": 0,
"import/prefer-default-export": 0,
"no-use-before-define": 0,
"no-param-reassign": 0,
"func-names": 0,
"vue/html-indent": [
"error",
4
],
"vue/html-self-closing": [
"error", {
"html": {
"void": "any",
"normal": "any",
"component": "any"
}
}
],
"vue/v-bind-style": [
"error",
"longform"
],
"vue/max-attributes-per-line": [
"error",
{
"multiline": {
"allowFirstLine": true
}
}
],
"vue/v-on-style": [
"error",
"longform"
],
"vue/singleline-html-element-content-newline": "off"
},
"overrides": [
{
"files": [
"scripts/**/*.js",
"migrations/**/*.js"
],
"rules": {
"no-console": 0
}
}
]
};