-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
25 lines (25 loc) · 1019 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
{
"env": { "browser": true, "es2020": true },
"extends": [
"standard-with-typescript",
"plugin:react-hooks/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": { "ecmaVersion": "latest", "sourceType": "module", "project": "./tsconfig.json" },
"plugins": ["react-refresh", "prettier"],
"rules": {
"react-refresh/only-export-components": "warn",
"prettier/prettier": "warn",
"@typescript-eslint/consistent-type-assertions": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-misused-promises": ["error", {"checksVoidReturn": false}]
},
"ignorePatterns": ["node_modules", "vite.config.ts", "contracts.ts"],
"root": true
}