-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
31 lines (31 loc) · 917 Bytes
/
.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
{
"root": true,
"plugins": ["@typescript-eslint", "header", "mocha", "prettier"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:mocha/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json"
},
"rules": {
"header/header": ["error", "./resources/license.header.js"],
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/return-await": "off",
"mocha/no-mocha-arrows": "off",
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
"allowNullableObject": true,
"allowNullableBoolean": true,
"allowAny": true
}
]
}
}