generated from PaulRBerg/hardhat-template
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.eslintrc
60 lines (60 loc) · 1.29 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
55
56
57
58
59
60
{
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ".eslinttsconfigrc"
},
"plugins": ["@typescript-eslint"],
"root": true,
"rules": {
"import/extensions": 0,
"import/prefer-default-export": 0,
"camelcase": 1,
"no-await-in-loop": 1,
"no-restricted-syntax": 1,
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": ["test/**", "hardhat.config.ts", "hardhat.config.zksync.ts"]
}
],
"@typescript-eslint/no-floating-promises": [
"error",
{
"ignoreIIFE": true,
"ignoreVoid": true
}
],
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "_",
"varsIgnorePattern": "_"
}
],
"prefer-destructuring": [
"error",
{
"array": false,
"object": true
},
{
"enforceForRenamedProperties": false
}
]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}