-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy path.eslintrc
34 lines (34 loc) · 919 Bytes
/
.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
{
"extends": [
"eslint:recommended",
"plugin:vue/recommended",
"prettier"
],
"plugins": [
"vue"
],
"parserOptions": {
"parser": "babel-eslint"
},
"env": {
"browser": true,
"node": true
},
"globals": {
"Nova": "readonly",
"_": "readonly"
},
"rules": {
"indent": ["error", 2],
"semi": ["error", "never"],
"quotes": ["error", "single"],
"comma-dangle": ["error", "always-multiline"],
"space-before-function-paren": ["error", "never"],
"object-curly-spacing": ["error", "always"],
"arrow-parens": ["error", "as-needed"],
"vue/html-indent": ["error", 2],
"vue/max-attributes-per-line": ["error", {"singleline": 5, "multiline": {"max": 1, "allowFirstLine": true}}],
"vue/component-name-in-template-casing": ["error", "PascalCase", {"registeredComponentsOnly": true}],
"vue/object-curly-spacing": ["error", "always"],
}
}