forked from wagerr/wagerr-electron-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
41 lines (41 loc) · 1020 Bytes
/
.eslintrc.json
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
{
"extends": [
"plugin:vue/recommended",
"eslint:recommended",
"airbnb-base",
"plugin:prettier/recommended",
"prettier/vue"
],
"plugins": ["import", "promise"],
"settings": {
"import/resolver": {
"webpack": {
"config": ".electron-vue/webpack.renderer.config.js"
}
}
},
"parserOptions": {
"parser": "babel-eslint",
"sourceType": "module"
},
"env": {
"browser": true,
"node": true
},
"rules": {
"arrow-parens": "off",
"consistent-return": "off",
"comma-dangle": "off",
"generator-star-spacing": "off",
"import/no-unresolved": "error",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"no-console": "off",
"no-use-before-define": "off",
"no-multi-assign": "off",
"prettier/prettier": ["error", { "singleQuote": true }],
"promise/param-names": "error",
"promise/always-return": "error",
"promise/catch-or-return": "error",
"promise/no-native": "off"
}
}