-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.eslintrc.json
30 lines (28 loc) · 872 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint"
],
"plugins": ["react", "react-hooks", "prettier"],
"rules": {
"semi": "warn",
"no-unused-vars": "off",
"no-cond-assign": "error",
"no-debugger": "warn",
"no-dupe-args": "error",
"no-caller": "error",
"no-unmodified-loop-condition": "error",
"no-with": "error",
"no-catch-shadow": "error",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"prettier/prettier": "warn"
}
}