-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
29 lines (29 loc) · 972 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
{
"extends": ["@js-soft/ts", "@js-soft/ts/jest"],
"parserOptions": {
"project": ["./packages/*/tsconfig.json", "./packages/*/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",
"*.expectLastPublishedEvent",
"*.executeTests",
"expectThrows*"
]
}
],
"jest/max-nested-describe": ["error", { "max": 4 }],
"jest/no-conditional-in-test": "warn"
}
}