forked from mtfoley/pr-compliance-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
37 lines (36 loc) · 1.06 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
{
"env": {
"node": true,
"es6": true,
"jest/globals": true
},
"extends": [
"plugin:github/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["jest", "@typescript-eslint"],
"rules": {
// These rules would be nice to enable / make more strict eventually
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/restrict-template-expressions": [
"error",
{"allowAny": true}
],
// These rules do not match our code style
"camelcase": "off",
"i18n-text/no-en": "off",
"import/no-namespace": "off"
}
}