-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathrules-snapshot.json
More file actions
46 lines (46 loc) · 1.7 KB
/
rules-snapshot.json
File metadata and controls
46 lines (46 loc) · 1.7 KB
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
{
"@typescript-eslint/unbound-method": "off",
"jest/consistent-test-it": ["error", { "fn": "it" }],
"jest/expect-expect": "error",
"jest/no-alias-methods": "error",
"jest/no-commented-out-tests": "error",
"jest/no-conditional-expect": "error",
"jest/no-deprecated-functions": "error",
"jest/no-disabled-tests": "error",
"jest/no-done-callback": "error",
"jest/no-duplicate-hooks": "error",
"jest/no-export": "error",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/no-interpolation-in-snapshots": "error",
"jest/no-jasmine-globals": "error",
"jest/no-mocks-import": "error",
"jest/no-restricted-matchers": [
"error",
{
"resolves": "Use `expect(await promise)` instead.",
"toBeFalsy": "Avoid `toBeFalsy`",
"toBeTruthy": "Avoid `toBeTruthy`",
"toMatchSnapshot": "Use `toMatchInlineSnapshot()` instead",
"toThrowErrorMatchingSnapshot": "Use `toThrowErrorMatchingInlineSnapshot()` instead"
}
],
"jest/no-standalone-expect": "error",
"jest/no-test-prefixes": "error",
"jest/no-test-return-statement": "error",
"jest/prefer-hooks-on-top": "error",
"jest/prefer-lowercase-title": ["error", { "ignore": ["describe"] }],
"jest/prefer-spy-on": "error",
"jest/prefer-strict-equal": "error",
"jest/prefer-to-be": "error",
"jest/prefer-to-contain": "error",
"jest/prefer-to-have-length": "error",
"jest/prefer-todo": "error",
"jest/require-to-throw-message": "error",
"jest/require-top-level-describe": "error",
"jest/unbound-method": "error",
"jest/valid-describe-callback": "error",
"jest/valid-expect": ["error", { "alwaysAwait": true }],
"jest/valid-expect-in-promise": "error",
"jest/valid-title": "error"
}