-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
38 lines (38 loc) · 1.08 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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.eslint.json"
},
"extends": [
"eslint:recommended",
"airbnb-base",
"airbnb-typescript-base"
],
"plugins": [
"eslint-plugin-react",
"eslint-plugin-react-hooks"
],
"rules": {
"import/prefer-default-export": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/lines-between-class-members": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/array-type": 0,
"typescript-sort-keys/string-enum": 0,
"@typescript-eslint/no-unused-vars": ["error", { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }],
"object-shorthand": 0,
"no-restricted-syntax": 0,
"typescript-sort-keys/interface": 0,
"no-underscore-dangle": 0,
"max-classes-per-file": 0,
"no-lonely-if": 0,
"no-plusplus": 0,
"max-len": 0,
"no-trailing-spaces": 0,
"no-bitwise": 0
},
"ignorePatterns": ["vite.config.ts"]
}