Skip to content

Commit

Permalink
feat(eslint-plugin-experience): enable jest all rules
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Oct 10, 2023
1 parent b4edfc0 commit be3cd3d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion projects/eslint-plugin-experience/configs/jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,25 @@ module.exports = {
{
files: ['*.spec.ts'],
parser: '@typescript-eslint/parser',
extends: ['plugin:jest/recommended'],
extends: ['plugin:jest/all'],
rules: {
'jest/expect-expect': 'off',
'jest/no-disabled-tests': 'off',
'jest/no-done-callback': 'off',
'jest/no-test-prefixes': 'off',
'jest/prefer-strict-equal': 'off',
'jest/prefer-each': 'off',
'jest/prefer-expect-assertions': 'off',
'jest/no-hooks': 'off',
'jest/require-hook': 'off',
'jest/no-conditional-in-test': 'off',
'jest/max-expects': 'off',
'jest/prefer-called-with': 'off',
'jest/unbound-method': 'off',
'jest/require-top-level-describe': 'off',
'jest/prefer-hooks-on-top': 'off',
'jest/require-to-throw-message': 'off',
'jest/max-nested-describe': 'off',
},
},
],
Expand Down

0 comments on commit be3cd3d

Please sign in to comment.