forked from trufflesuite/truffle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
35 lines (35 loc) · 911 Bytes
/
.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
{
"root": true,
"env": {
"es2021": true,
"node": true
},
"globals": {
"BUNDLE_VERSION": "readonly",
"BUNDLE_CHAIN_FILENAME": "readonly",
"BUNDLE_ANALYTICS_FILENAME": "readonly",
"BUNDLE_LIBRARY_FILENAME": "readonly",
"BUNDLE_CONSOLE_CHILD_FILENAME": "readonly"
},
"extends": [
"plugin:react-hooks/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"sourceType": "module"
},
"ignorePatterns": ["dist"],
"rules": {
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^debug$|^_" }
],
"quote-props": [ "error", "consistent" ],
"@typescript-eslint/semi": [ "error", "always" ],
"no-mixed-operators": "warn",
"no-tabs": "warn",
"no-useless-escape": "warn",
"no-undef": ["error", { "typeof": true }]
}
}