-
Notifications
You must be signed in to change notification settings - Fork 32
/
.eslintrc.cjs
42 lines (40 loc) · 982 Bytes
/
.eslintrc.cjs
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
/* eslint-env node */
// cspell:words venv
module.exports = {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"coverage/**",
"typechain-types/**",
"venv/**"
],
"env": {
"node": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"root": true,
"rules": {
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-unused-vars": "error",
"lines-around-comment": [
"error",
{"allowBlockStart": true}
],
"no-console": "off",
// Replaced with @typescript-eslint/no-shadow
"no-shadow": "off",
"no-warning-comments": "warn",
"object-curly-spacing": "error",
"one-var": [
"error",
"never"
],
"padded-blocks": [
"error",
"never"
]
}
};