forked from lidofinance/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 822 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
{
"plugins": ["prettier", "standard"],
"env": {
"node": true,
"es2022": true
},
"extends": ["standard", "plugin:prettier/recommended"],
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "script",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"prettier/prettier": "error",
"camelcase": "off",
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
"jsx-quotes": ["error", "prefer-single"],
"no-restricted-modules": ["error", {
"name": "@aragon/contract-helpers-test/src/asserts",
"message": "Please use helpers/assert instead."
}]
},
"overrides": [
{
"files": ["./scripts/{**/,}*.js", "./test/{**/,}*.js", "./e2e/test/{**/,}*.js"],
"env": {
"mocha": true
}
}
]
}