-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
39 lines (39 loc) · 1.14 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
38
39
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"standard",
"plugin:prettier/recommended",
"eslint:recommended",
"plugin:mocha/recommended",
"plugin:node/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:security/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["prettier", "@typescript-eslint", "mocha"],
"rules": {
"no-useless-constructor": "off",
"mocha/no-mocha-arrows": "off",
"mocha/no-setup-in-describe": "off",
"prettier/prettier": "error",
"security/detect-object-injection": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"node/no-unsupported-features/es-syntax": "off",
"node/no-unpublished-import": "off",
"node/no-missing-import": [
"error",
{
"tryExtensions": [".js", ".json", ".node", ".ts"]
}
]
}
}