generated from Real-Dev-Squad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
31 lines (31 loc) · 909 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
{
"env": {
"browser": true,
"es2021": true,
"node": true,
"jest": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"globals": {
"describe": "readonly",
"it": "readonly",
"expect": "readonly"
},
"plugins": ["@typescript-eslint", "prettier", "simple-import-sort"],
"rules": {
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"react/react-in-jsx-scope": "off",
"no-mixed-spaces-and-tabs": "off",
"@typescript-eslint/no-var-requires": 0,
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
}
}