-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
47 lines (47 loc) · 1.48 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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "react"],
"extends": ["plugin:react/jsx-runtime", "plugin:@typescript-eslint/recommended", "airbnb", "airbnb/hooks", "airbnb-typescript"],
"parserOptions": {
"project": "./tsconfig.json",
"ecmaFeatures": {
"jsx": true
},
"jsxPragma": null
},
"rules": {
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"import/no-cycle": [0],
"object-curly-newline": "off",
"comma-dangle": "off",
"@typescript-eslint/comma-dangle": "off",
"no-shadow": "off",
"@typescript-eslint/no-shadow": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": "off",
"react/require-default-props": "off",
"no-redeclare": "off",
"@typescript-eslint/no-redeclare": "off",
"default-case": ["error", { "commentPattern": "^skip\\sdefault" }],
"no-param-reassign": ["error", { "props": false }],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"args": "all",
"argsIgnorePattern": "^_",
"caughtErrors": "all",
"caughtErrorsIgnorePattern": "^_",
"destructuredArrayIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"ignoreRestSiblings": true
}
],
"linebreak-style": ["off"],
"no-spaced-func": 0,
"quotes": "off",
"@typescript-eslint/quotes": "off",
"import/prefer-default-export": "off"
}
}