-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
59 lines (59 loc) · 1.31 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
56
57
58
59
{
"env": {
"es6": true,
"node": true,
"jest": true
},
"extends": ["airbnb", "prettier", "@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"extends": ["plugin:@typescript-eslint/recommended"],
"parserOptions": {
"ecmaVersion": 10,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"settings": {
"import/resolver": {
"babel-module": {}
}
},
"plugins": ["prettier", "import"],
"globals": {
"shallow": true,
"var2": false
},
"rules": {
"no-nested-ternary": 0,
"no-unused-vars": 0,
"react/prop-types": 0,
"func-names": 0,
"arrow-body-style": 0,
"arrow-parens": 0,
"consistent-return": 0,
"import/no-extraneous-dependencies": 0,
"import/no-cycle": 1,
"import/prefer-default-export": 0,
"linebreak-style": 0,
"max-len": 0,
"no-confusing-arrow": 0,
"no-console": [
"error",
{
"allow": ["warn", "error"]
}
],
"no-underscore-dangle": 0,
"prefer-promise-reject-errors": 0,
"no-plusplus": 0,
"prefer-template": 0,
"prefer-destructuring": 1,
"no-return-await": 0,
"lines-between-class-members": 0,
"no-unused-expressions": 0,
"no-return-assign": 0,
"no-restricted-syntax": 0,
"no-script-url": 0
}
}