-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.eslintrc
36 lines (36 loc) · 980 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
{
"parser": "@typescript-eslint/parser",
"extends": ["airbnb-base"],
"plugins": ["@typescript-eslint"],
"env": {
"browser": true,
"node": true,
"jest": true
},
"rules": {
"semi": [2, "never"],
"object-curly-newline": [0],
"object-property-newline": [0],
"comma-dangle": [0],
"prefer-template": [0],
"import/extensions": [0], // handled by TS
"import/no-extraneous-dependencies": [0],
"import/no-unresolved": [0], // handled by TS
"react/prop-types": [0],
"no-confusing-arrow": [0],
"no-underscore-dangle": [0],
"no-unused-vars": [0], // handled by TS
"no-param-reassign": [0],
"no-plusplus": [0],
"guard-for-in": [0],
"no-restricted-syntax": [0],
"no-continue": [1],
"no-prototype-builtins": [0],
"max-len": [0, 80],
"no-mixed-operators": [0],
"no-lonely-if": [1],
"no-bitwise": [0],
"arrow-parens": [0],
"operator-linebreak": [0] // handled by Prettier
}
}