-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
55 lines (55 loc) · 1.47 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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
"project": "./tsconfig.eslint.json"
},
"rules": {
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/no-use-before-define": ["error"],
"import/extensions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-use-before-define": 0,
"react/function-component-definition": [2, { "namedComponents": "arrow-function" }],
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"react/jsx-no-constructed-context-values": 0,
"react/jsx-props-no-spreading": 0,
"react/prop-types": 0
},
"plugins": ["@typescript-eslint", "import", "react"],
"extends": [
"airbnb",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended"
],
"ignorePatterns": [
"**/*.test.*",
"dist",
"test.setup.js",
"vite.config.js"
],
"settings": {
"import/resolver": {
"alias": {
"map": [
["@", "./src"],
["types", "./types/types"]
],
"extensions": [".ts", ".tsx"]
}
},
"react": {
"version": "16.14.0"
}
}
}