forked from ckb-js/ckb-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
35 lines (35 loc) · 905 Bytes
/
.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
module.exports = {
"extends": "airbnb-base",
"parser": "typescript-eslint-parser",
"plugins": ["prettier", "typescript", "jest"],
"rules": {
"prettier/prettier": ["warn", {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}],
"typescript/no-unused-vars": "warn",
// "comma-dangle": [2, "always"],
"no-underscore-dangle": ["error", {
"allowAfterThis": true
}],
"import/no-unresolved": "off",
"semi": [2, "never"],
"no-console": [0],
"no-unused-vars": [0],
"arrow-parens": [0],
"import/no-extraneous-dependencies": ['./'],
"indent": ["error", 2],
"no-mixed-operators": [0],
"implicit-arrow-linebreak": [0],
"no-unused-expression": [0],
"no-underscore-dangle": [0],
"no-plusplus": [0],
"no-bitwise": [0],
"no-control-regex": [0]
},
"env": {
"node": true,
"jest": true
}
}