-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
50 lines (50 loc) · 1.19 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
{
"root": true,
"extends": [
"airbnb-typescript",
"airbnb/hooks",
"prettier",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["react", "@typescript-eslint", "prettier", "import"],
"env": {
"browser": true,
"jest": true,
"node": true,
"es6": true
},
"globals": {
"Atomics": "readonly",
"SharedBufferArray": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {"jsx": true},
"tsconfigRootDir": "./",
"project": "./tsconfig.eslint.json"
},
"settings": {
"react": {
"pragma": "React",
"version": "detect"
}
},
"rules": {
"max-len": ["error", {"code": 100}],
"prefer-promise-reject-errors": ["off"],
"react/jsx-filename-extension": ["off"],
"no-return-assign": ["off"],
"react/prop-types": 0,
"import/prefer-default-export": 0,
"no-use-before-define": 0,
"click-events-have-key-events": 0,
"no-static-element-interactions": 0,
"prefer-destructuring": 1,
"react/display-name": 0,
"func-names": 0,
"@typescript-eslint/ban-ts-comment": 0
}
}