-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
29 lines (29 loc) · 864 Bytes
/
.eslintrc.json
File metadata and controls
29 lines (29 loc) · 864 Bytes
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
{
"extends": [
"eslint:recommended",
"airbnb-base",
"plugin:node/recommended",
"plugin:security/recommended",
"plugin:prettier/recommended"
],
"plugins": ["autofix", "security", "sort-requires", "prettier"],
"rules": {
"no-empty": [2, { "allowEmptyCatch": true }],
"no-await-in-loop": 0,
"no-nested-ternary": 0,
"security/detect-unsafe-regex": 0,
"security/detect-object-injection": 0,
"no-console": 0,
"no-unused-expressions": 0,
"no-process-exit": 0,
"camelcase": [
2,
{ "properties": "never", "ignoreDestructuring": true, "allow": ["_at$"] }
],
"no-plusplus": [2, { "allowForLoopAfterthoughts": true }],
"no-unused-vars": [2, { "args": "none" }],
"autofix/no-unused-vars": [2, { "args": "none" }],
"sort-requires/sort-requires": 2,
"prettier/prettier": 2
}
}