-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (34 loc) · 1007 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
{
"env": {
"browser": true,
"node": true
},
"extends": [
"airbnb",
"airbnb/hooks",
"airbnb-typescript",
"prettier"
],
"parserOptions": {
"project": ["renderer/tsconfig.json","main/tsconfig.json"]
},
"parser": "@typescript-eslint/parser",
"plugins": ["jsx-a11y","simple-import-sort", "@typescript-eslint", "prettier"],
"rules": {
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"no-restricted-syntax": "off",
"prettier/prettier": "error",
"comma-dangle": ["error", "never"],
"semi": ["error", "never"],
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-use-before-define": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"react/react-in-jsx-scope": "off",
"react-hooks/exhaustive-deps": "off",
"react/jsx-no-useless-fragment": "off",
"react/require-default-props": "off",
"react/no-array-index-key": "off"
}
}