-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
46 lines (46 loc) · 1.26 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
// If you want to customize please check this
// https://simonkollross.de/posts/using-eslint-with-vuejs-and-laravel-mix
// To Customize .vue File Rules: https://github.com/vuejs/eslint-plugin-vue#bulb-rules
module.exports = {
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "babel-eslint",
"ecmaVersion": 8,
"sourceType": "module"
},
"extends": [
"standard",
"plugin:vue/essential",
],
"globals": {
"jQuery": false
},
"rules": {
"vue/max-attributes-per-line": "off",
"indent": ["error", 4],
"vue/html-indent": ["error", 4, {
"attribute": 1,
"baseIndent": 1,
"closeBracket": 0,
"alignAttributesVertically": true,
"ignores": []
}],
"semi": "off",
"dot-notation": "off",
"prefer-const": "off",
"no-trailing-spaces": "off",
"no-new": "off",
"no-useless-escape": "off",
"eqeqeq": "off",
"space-before-function-paren": "off",
"vue/script-indent": ["error", 4, { "baseIndent": 1 }]
},
"overrides": [
{
"files": ["*.vue"],
"rules": {
"indent": "off"
}
}
]
};