-
Notifications
You must be signed in to change notification settings - Fork 65
/
.eslintrc
45 lines (45 loc) · 1.18 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json"
},
"plugins": [
"@typescript-eslint",
"header",
"jest-formatting",
"prettier",
"unicorn"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"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": ["error", "smart"],
"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": ["error", { "endOfLine": "auto" }],
"unicorn/prefer-node-protocol": 2
}
}