forked from Particle-Network/particle-btc-connect
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
41 lines (41 loc) · 1.11 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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier", "react-hooks"],
"extends": ["eslint:recommended", "plugin:prettier/recommended", "plugin:@typescript-eslint/recommended"],
"env": {
"browser": true,
"node": true
},
"rules": {
"prettier/prettier": [
"error",
{
"plugins": []
}
],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"no-unused-vars": "off",
"linebreak-style": ["error", "unix"],
"no-console": 0,
"camelcase": 2,
"prefer-const": 1,
"no-debugger": 1,
"no-var": 2,
"no-alert": 2,
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": 1,
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/consistent-type-imports": 2,
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
}