-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
54 lines (54 loc) · 1.59 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
49
50
51
52
53
54
{
"parser": "@typescript-eslint/parser",
"plugins": [ "@typescript-eslint" ],
"extends": ["airbnb-base", "plugin:prettier/recommended", "prettier"],
"rules": {
"no-underscore-dangle": 0,
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"import/order": "off",
"func-names": "off",
"no-plusplus": "off",
"one-var": "off",
"no-use-before-define": "off",
"no-await-in-loop": "off",
"no-return-await": "off",
"import/no-extraneous-dependencies": "off",
"camelcase": "warn",
"no-unused-vars": "off",
"import/newline-after-import": "off",
"no-empty-function": "off",
"no-param-reassign": [1, { "props": true, "ignorePropertyModificationsFor": ["context"] }],
"prettier/prettier": [
"error",
{
"singleQuote": false,
"trailingComma": "all",
"printWidth": 80,
"useTab": true,
"tabWidth": 4
}
],
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
},
"ignorePatterns": ["./typechain-types/*"],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".d.ts", ".tsx"]
}
}
}
}