forked from arwes/arwes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
55 lines (55 loc) · 1.45 KB
/
.eslintrc
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"root": true,
"ignorePatterns": [
"node_modules",
"build",
"coverage",
"public",
"static",
"out",
"www",
"__testUtils__",
".deprecated",
".cache",
".next",
"apps/docs/next-env.d.ts"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": [
"react",
"react-hooks"
],
"extends": [
"standard-with-typescript"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-dynamic-delete": "off",
"@typescript-eslint/semi": ["error", "always"],
"@typescript-eslint/brace-style": ["error", "stroustrup"],
"@typescript-eslint/restrict-template-expressions": ["error", {
"allowAny": true
}],
"@typescript-eslint/no-unused-vars": ["error", {
"varsIgnorePattern": "^jsx$",
"ignoreRestSiblings": true
}],
"@typescript-eslint/promise-function-async": ["error", {
"checkArrowFunctions": false
}],
"@typescript-eslint/no-confusing-void-expression": [0],
"react/prop-types": "off",
"semi": ["error", "always"],
"brace-style": ["error", "stroustrup"],
"no-unused-vars": "off",
"no-use-before-define": "off",
"prefer-regex-literals": "off",
"prefer-promise-reject-errors": "off"
}
}