-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
55 lines (55 loc) · 1.26 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"parser": "@babel/eslint-parser",
"extends": ["airbnb-base"],
"env": {
"node": true,
"jest": true,
"es6": true
},
"plugins": ["import"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"function-paren-newline": 0,
"quotes": 0,
"arrow-parens": [2, "always"],
"camelcase": 1,
"comma-dangle": [2, "always-multiline"],
"global-require": 0,
"import/first": 0,
"import/newline-after-import": 0,
"import/no-dynamic-require": 0,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default": 0,
"import/no-unresolved": 2,
"import/no-webpack-loader-syntax": 0,
"import/prefer-default-export": 0,
"implicit-arrow-linebreak": 0,
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"max-len": 0,
"newline-per-chained-call": 0,
"no-mixed-operators": 1,
"no-confusing-arrow": 0,
"no-console": 1,
"no-debugger": 1,
"no-use-before-define": 0,
"no-nested-ternary": 1,
"no-unused-expressions": [2, { "allowTernary": true }],
"object-curly-newline": 0,
"prefer-template": 1,
"class-methods-use-this": 0,
"require-yield": 0,
"valid-jsdoc": 1
}
}