-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc
47 lines (47 loc) · 1.21 KB
/
.eslintrc
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
40
41
42
43
44
45
46
47
{
"root": true,
"ignorePatterns": ["resources/license.header.js"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json"
},
"plugins": [
"@typescript-eslint",
"header",
"jest-formatting",
"mocha",
"prettier",
"unicorn"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:mocha/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-unused-vars": ["off"],
"@typescript-eslint/strict-boolean-expressions": [
2,
{
"allowNullableObject": true,
"allowNullableBoolean": true,
"allowAny": true
}
],
"eqeqeq": 2,
"jest-formatting/padding-around-describe-blocks": 2,
"jest-formatting/padding-around-test-blocks": 2,
"header/header": [2, "./resources/license.header.js"],
"mocha/max-top-level-suites": "off",
"mocha/no-exports": "off",
"mocha/no-mocha-arrows": "off",
"no-console": 0,
"no-return-await": 2,
"no-unneeded-ternary": 2,
"no-unused-vars": "off",
"prettier/prettier": 2,
"unicorn/prefer-node-protocol": 2
}
}