forked from mesaugat/express-api-es6-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 812 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
35
36
37
38
39
{
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": [
"prettier",
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"plugins": [
"prettier"
],
"rules": {
"semi": 2,
"curly": 2,
"no-var": 2,
"eqeqeq": 2,
"eol-last": 2,
"key-spacing": 2,
"spaced-comment": 2,
"space-infix-ops": 2,
"space-before-blocks": 2,
"newline-before-return": 2,
"linebreak-style": [2, "unix"],
"indent": [2, 2, {"SwitchCase": 1}],
"object-curly-spacing": [2, "always"],
"camelcase": [2, {"properties": "never"}],
"quotes": [2, "single", {"allowTemplateLiterals": true}],
"prettier/prettier": ["error", {
"singleQuote": true,
"bracketSpacing": true
}]
}
}