forked from sonarwatch/token-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
33 lines (33 loc) · 806 Bytes
/
.eslintrc.json
File metadata and controls
33 lines (33 loc) · 806 Bytes
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
{
"env": {
"es2021": true,
"node": true,
"jest": true,
"browser": true
},
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"airbnb-typescript/base",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
"project": "./tsconfig.eslint.json"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/lines-between-class-members": "off",
"import/prefer-default-export": "off",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"no-continue": "off",
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"class-methods-use-this": [
"error",
{ "exceptMethods": ["uniformTokenAddress"] }
]
}
}