-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
54 lines (54 loc) · 1.47 KB
/
.eslintrc.js
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
module.exports = exports = {
"root": true,
"parser": '@typescript-eslint/parser',
"plugins": ['@typescript-eslint'],
"extends": [
'prettier/@typescript-eslint',
'plugin:@typescript-eslint/recommended',
'airbnb-base'
],
"parserOptions": {
"project": './tsconfig.json'
},
"rules": {
"quotes": [0, "single"],
"trailing-comma": 0,
"default-case": 0,
"semi": 0,
"consistent-return": 0,
"class-methods-use-this": 0,
"import/prefer-default-export": 0,
"prefer-promise-reject-errors": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"no-inferrable-types": 0,
"no-increment-decrement": 0,
"no-await-in-loop": 0,
"no-console": 0,
"no-explicit-any": 0,
"no-unused-vars": 0,
"no-restricted-syntax": 0,
"max-line-length": [0, {
"limit": 180,
"ignore-pattern": '^import |^export {(.*?)}"}]',
}
],
"max-len": 0,
"no-plusplus": 1,
"no-implicit-dependencies": [0, "dev", "optional"],
"no-bitwise": 1,
"no-console": 0,
"no-continue": 0,
"no-useless-constructor": 0,
"array-type": [0, "array-simple"],
"quotemark": [0, "single", "backtick", "avoid-escape", "avoid-template"],
"interface-name": [0, "always-prefix"],
"align": [0, "parameters", "arguments", "members", "elements", "statemments"],
"space-before-function-paren": [0, "never"],
"import-name": [0, {
"lodash": "_",
"web3": "Web3",
"graphqlTag": "gql"
}]
}
}