-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
46 lines (46 loc) · 1.24 KB
/
.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
40
41
42
43
44
45
46
{
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"rules": {
"prettier/prettier": [2, {"semi": false }],
"no-extra-semi": 2,
"valid-jsdoc": "error",
"no-var": 2,
"eqeqeq": [2, "smart"],
"arrow-parens": [2, "as-needed"],
"consistent-this": 0,
"func-names": [2],
"generator-star-spacing": [2, "after"],
"indent": [2, 2],
"jsx-quotes": [1, "prefer-double"],
"quotes": [2, "backtick"],
"max-len": [1, 100, 2],
"new-cap": [2, {"capIsNew": false}],
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"no-unused-vars": [2, {"vars": "all", "varsIgnorePattern": "^___" }],
"object-curly-spacing": 0,
"one-var": 0,
"operator-linebreak": [2, "before"],
"prefer-reflect": 0,
"space-before-function-paren": [2, "never"],
"strict": 0,
"no-shadow": [2, { "builtinGlobals": false, "hoist": "all" }],
"import/named": 2,
"import/no-mutable-exports": 2,
"import/order": 2,
"import/extensions": [2, {
"json": "always",
"js": "never",
"validation": "always",
"task": "always"
}]
},
"extends": ["standard", "prettier"],
"plugins": ["babel", "fp", "import", "prettier"]
}