-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
47 lines (47 loc) · 1.29 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
{
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"airbnb",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint"],
"ignorePatterns": ["/root/vite.config.ts"],
"rules": {
"no-console": ["error"],
"import/extensions": "off",
"react/jsx-filename-extension": 0,
"import/no-unresolved": 0,
"react/react-in-jsx-scope": "off",
"linebreak-style": 0,
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/style-prop-object": "off",
"no-confusing-arrow": "off",
"jsx-a11y/label-has-associated-control": "off",
"react/destructuring-assignment": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-no-useless-fragment": "off",
"no-empty": 0,
"no-unused-vars": 0,
"no-shadow": 0,
"no-unused-expressions": 0,
"react/require-default-props": 0,
"import/prefer-default-export": 0,
"react/no-unstable-nested-components": 0
}
}