-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
32 lines (31 loc) · 919 Bytes
/
.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
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"parser": "@typescript-eslint/parser",
"root": true,
"plugins": ["jest", "eslint-plugin-react-memo", "@typescript-eslint"],
"extends": ["airbnb-base", "prettier", "eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parserOptions": {
"ecmaVersion": "latest"
},
"ignorePatterns": "external-modules",
"rules": {
"no-unused-vars": ["error", { "destructuredArrayIgnorePattern": "^_" }],
"no-use-before-define": [
"error",
{
"functions": false
}
],
"no-warning-comments": "error",
// "guard-for-in": "off",
"no-await-in-loop": "off",
"no-promise-executor-return": "off",
"import/no-unresolved": [2, { "ignore": ["vscode"] }],
"prefer-destructuring": "off",
"no-restricted-syntax": "off"
}
}