-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
45 lines (45 loc) · 1.26 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
{
"extends": [
"plugin:react/recommended" ,
"plugin:@typescript-eslint/recommended",
"standard",
"standard-react",
"plugin:react-hooks/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 6,
"ecmaFeatures": {
"classes": true,
"jsx":true
}
},
"plugins": [
"react",
"@typescript-eslint",
],
"rules": {
"comma-dangle": ["error", "always-multiline"],
"react/no-unescaped-entities": "off",
"react/no-did-update-set-state": "off",
"react/display-name": "off",
"react/prop-types": "off",
"react/jsx-closing-tag-location": "off",
"react/jsx-fragments": "off",
"react/jsx-closing-bracket-location": "off",
"no-case-declarations": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"react/no-unused-prop-types": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}]
}
}