-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 876 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
{
"env": {
"es6": true,
"node": true,
"jest": 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}],
"no-unused-vars": ["error", {"argsIgnorePattern": "next"}],
"prettier/prettier": ["error", {"singleQuote": true, "bracketSpacing": true, "printWidth": 120}]
}
}