-
Notifications
You must be signed in to change notification settings - Fork 24
/
.eslintrc
48 lines (48 loc) · 1.14 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
47
48
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"classes": true
}
},
"env": {
"es6": true,
"node": true,
"browser": true,
"jest": true
},
"plugins": ["babel", "import"],
"extends": ["eslint-config-airbnb-base"],
"globals": {},
"rules": {
"function-paren-newline": "off",
"no-console": ["warn"],
"no-useless-escape": 0,
"no-empty": 0,
"comma-dangle": 0,
"arrow-parens": ["error", "as-needed"],
"import/prefer-default-export": "off",
"import/no-cycle": "off",
"no-underscore-dangle": "off",
"no-bitwise": "off",
"no-mixed-operators": "off",
"max-len": ["error", { "code": 120, "ignoreComments": true }],
"class-methods-use-this": "off",
"no-plusplus": "off",
"implicit-arrow-linebreak": "off",
"object-curly-newline": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "always",
"json": "always"
}
],
"operator-linebreak": ["warn", "after"]
}
}