-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
50 lines (50 loc) · 1.18 KB
/
.eslintrc
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
{
"extends": [
"plugin:vue/recommended",
"airbnb-base",
],
"plugins": [
"vue"
],
"env": {
"es6": true,
"browser": true,
"node": true
},
"globals": {
"Framework": true
},
"rules": {
"semi": [2, "never"],
"no-console": "off",
"linebreak-style": [0, "error", "windows"],
//fixes an issue with Express
"no-unused-vars": ["error", { "argsIgnorePattern": "next|value|to|from|savedPosition" }],
"vue/html-self-closing": "off",
"vue/html-closing-bracket-newline": ["error", {
"singleline": "never",
"multiline": "always"
}],
"no-param-reassign": [
"error",
{
"props": true,
"ignorePropertyModificationsFor": [
"state",
"acc",
"e",
"ctx",
"req",
"request",
"res",
"response",
"$scope"
]
}
],
},
"parserOptions": {
"sourceType": "module",
"parser": "babel-eslint"
}
}