-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
30 lines (29 loc) · 929 Bytes
/
.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
{
"env": {
"browser": true,
"es2021": true,
"node": true,
"jest": true
},
"extends": ["airbnb-base", "plugin:prettier/recommended", "prettier"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["jest", "prettier"],
"rules": {
"prettier/prettier": ["error"],
"indent": ["error", 4],
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"linebreak-style": ["error", "unix"],
"semi": ["error", "never"],
"comma-dangle": ["error", "never"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"valid-jsdoc": "error",
"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"
}
}