Skip to content
This repository was archived by the owner on Mar 29, 2020. It is now read-only.

Commit 208793f

Browse files
committed
feat(base): add new eslint-plugin-jest rules
1 parent da6a72f commit 208793f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/eslint-config/jest.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ module.exports = {
1919
'jest/no-jasmine-globals': 'error',
2020
'jest/no-jest-import': 'error',
2121
'jest/no-large-snapshots': 'off',
22+
'jest/no-test-callback': 'error',
2223
'jest/no-test-prefixes': 'error',
2324
'jest/no-test-return-statement': 'error',
25+
'jest/no-truthy-falsy': 'error',
2426
'jest/prefer-expect-assertions': 'off',
2527
'jest/prefer-inline-snapshots': 'off',
28+
'jest/prefer-spy-on': 'error',
2629
'jest/prefer-strict-equal': 'error',
2730
'jest/prefer-to-be-null': 'error',
2831
'jest/prefer-to-be-undefined': 'error',

0 commit comments

Comments
 (0)