forked from lidofinance/solido-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
40 lines (40 loc) · 1.36 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
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": ["airbnb", "@lidofinance", "prettier"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": ["error", {}, { "usePrettierrc": true }],
"import/extensions": "off",
"import/no-mutable-exports": "off",
"react/prop-types": "off",
"react/destructuring-assignment": "off",
"react/require-default-props": "off",
"react/jsx-props-no-spreading": "off",
"react/function-component-definition": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-no-duplicate-props": ["error", { "ignoreCase": false }],
"jsx-a11y/anchor-is-valid": "off",
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"consistent-return": "off",
"no-bitwise": "off",
"no-nested-ternary": "off",
"no-restricted-syntax": "off",
"no-case-declarations": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": ["warn"],
"@typescript-eslint/no-explicit-any": ["warn"],
"@typescript-eslint/no-floating-promises": ["warn"],
"@typescript-eslint/no-unsafe-argument": ["warn"],
"react/jsx-filename-extension": [1, {"extensions": [".jsx", ".tsx"]}],
"react/default-props-match-prop-types": "off"
},
"settings": {
"import/resolver": {
"typescript": {}
}
}
}