-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
32 lines (32 loc) · 1.01 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es2021": true,
"node": true,
"jest": true
},
"extends": ["love", "plugin:import/typescript", "plugin:prettier/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["jest", "@typescript-eslint", "prettier"],
"ignorePatterns": ["/dist", "/node_modules"],
"rules": {
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"indent": "off",
"@typescript-eslint/indent": ["error", 4],
"space-before-function-paren": "off",
"@typescript-eslint/space-before-function-paren": "off",
"no-unmodified-loop-condition": "off",
"@typescript-eslint/no-unmodified-loop-condition": "off",
"quotes": "off",
"@typescript-eslint/quotes": ["error", "single", { "allowTemplateLiterals": true }]
}
}