-
Notifications
You must be signed in to change notification settings - Fork 37
/
.eslintrc.json
56 lines (52 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"env": {
"browser": true,
"es6": true,
"node": true,
"jest/globals": true
},
"ignorePatterns": [
"**/coverage",
"**/lib",
"**/temp",
"**/__generated__",
"**/compat" // apollo sources, necessary for backwards-compatibility testing of ForestRun
],
"plugins": ["check-file", "prettier", "jest", "@typescript-eslint"],
"extends": [
"plugin:prettier/recommended",
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"check-file/folder-match-with-fex": [
"error",
{
"*.test.{js,jsx,ts,tsx}": "**/__tests__/"
}
],
"prettier/prettier": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-empty-function": "off"
},
"overrides": [
{
"files": ["**/__tests__/**"],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
}
]
}