forked from PopulateTools/gobierto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
30 lines (30 loc) · 803 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
{
"env": {
"es6": true,
"browser": true,
"jquery": true,
"node": true
},
"globals": {
"_": true,
"Vue": true,
"I18n": true
},
"extends": ["eslint:recommended", "plugin:vue/recommended"],
"parserOptions": {
"parser": "babel-eslint", // https://vuejs.github.io/eslint-plugin-vue/user-guide/#what-is-the-use-the-latest-vue-eslint-parser-error
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1 }],
"no-multi-spaces": "error",
"keyword-spacing": ["error", { "after": true, "before": true }],
"no-trailing-spaces": "error",
"object-curly-spacing": ["error", "always"],
"no-console": "off"
}
}