-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
28 lines (28 loc) · 900 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
{
"extends": ["@js-soft/ts", "@js-soft/ts/jest"],
"parserOptions": {
"project": ["./tsconfig.json", "./test/tsconfig.json"]
},
"ignorePatterns": ["jest.config.js", "Schemas.ts", "dist", "node_modules", "lib-web", "*.gen.js", "demo"],
"rules": {
"jest/expect-expect": [
"error",
{
"assertFunctionNames": [
"expect",
"verify",
"expectValid*",
"*.expectThrows*",
"expectValid*",
"*.expectThrows*",
"Then.*",
"*.expectPublishedEvents",
"*.executeTests",
"expectThrows*"
]
}
],
"jest/max-nested-describe": ["error", { "max": 4 }],
"jest/no-conditional-in-test": "warn"
}
}