-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy path.eslintrc
37 lines (36 loc) · 926 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"env": { "browser": true },
"extends": [
"plugin:@typescript-eslint/recommended",
"xo/esnext",
"xo-react/space",
"prettier"
],
"plugins": ["@typescript-eslint"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"useJSXTextNode": true,
"project": "./tsconfig.json"
},
"rules": {
"camelcase": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/indent": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"lines-between-class-members": 0,
"capitalized-comments": 0,
"react/prop-types": 0,
"react/jsx-tag-spacing": {
"closingSlash": "never",
"beforeSelfClosing": "always",
"afterOpening": "never",
"beforeClosing": "allow"
},
"react/jsx-closing-tag-location": 0,
"react/no-danger": 0,
"@typescript-eslint/explicit-member-accessibility": 0
}
}