-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
37 lines (35 loc) · 1.07 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
33
34
35
36
37
{
"env": {
"browser": true,
"es2021": true,
"node": true,
"jest": true
},
"extends": [
"airbnb-base",
"plugin:prettier/recommended",
"prettier",
"plugin:jsdoc/recommended"
],
"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 }],
"jsdoc/check-param-names": ["off", { "useDefaultObjectProperties": false }],
"jsdoc/no-undefined-types": ["off"],
"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"
}
}