-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.eslintrc.json
58 lines (58 loc) · 1.25 KB
/
.eslintrc.json
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
{
"extends": [
"airbnb-base",
"airbnb-typescript/base",
"plugin:jest/recommended",
"plugin:prettier/recommended"
],
"plugins": [
"@typescript-eslint",
"prettier",
"jest"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2015, // Allows for the parsing of modern ECMAScript features
"project": ["./tsconfig.json"],
"sourceType": "module" // Allows for the use of imports
},
"env": {
"browser": true,
"node": true,
"jest": true
},
"overrides": [
{
"files": ["*.test.*"],
"rules": {
"no-undefined": "off"
}
}
],
"rules": {
"no-underscore-dangle": "off",
"prettier/prettier": "error",
"object-curly-newline": "off",
// "no-unused-vars": "off",
"no-continue": "off",
"max-len": [
2,
{
"code": 600
}
],
"comma-dangle": ["error", "always-multiline"],
// "no-param-reassign": 0,
"import/prefer-default-export": "off",
// "prefer-destructuring": 0,
"camelcase": 0,
// "array-callback-return": 0,
"quotes": ["error", "single"],
"semi": "off",
"@typescript-eslint/semi": [2, "never"],
"class-methods-use-this": "off"
},
"globals": {
"Web3": false
}
}