-
Notifications
You must be signed in to change notification settings - Fork 27
/
.eslintrc
27 lines (27 loc) · 847 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
{
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:react/recommended", "plugin:react-hooks/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "react", "simple-import-sort", "unused-imports", "prettier"],
"rules": {
"no-tabs": "error",
"indent": "off",
"space-before-function-paren": "off",
"@typescript-eslint/indent": ["error", 4],
"@typescript-eslint/explicit-function-return-type": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"import/prefer-default-export": "off",
"react/react-in-jsx-scope": "off",
"prettier/prettier": "error"
},
"globals": {
"browser": false,
"window": true,
"document": true
},
"settings": {
"react": {
"version": "18"
}
}
}