-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
32 lines (32 loc) · 868 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
31
32
{
"env": {
"node": true,
"es2021": true
},
"extends": ["eslint:recommended", "google", "plugin:security/recommended", "plugin:prettier/recommended"],
"plugins": ["security", "prettier"],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"valid-jsdoc": "off",
"require-jsdoc": "off",
"no-console": "error",
"func-names": "off",
"no-underscore-dangle": "off",
"consistent-return": "off",
"security/detect-object-injection": "off",
"class-methods-use-this": 0,
"no-nested-ternary": 1,
"no-param-reassign": 1,
"valid-typeof": 0,
"no-unused-expressions": 1,
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}
}