Skip to content

Commit

Permalink
Updated jest eslint config usage
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Oct 29, 2024
1 parent 5649c78 commit 5756ab8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/frontend/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,12 @@ export default tseslint.config(
},
},
{
extends: [jest.recommended, jest.style],
...jest.configs["flat/recommended"],
...jest.configs["flat/style"],
files: ["__tests__/**/*.test.ts", "__test__/**/*.test.tsx"],
rules: {
...jest.configs["flat/recommended"].rules,
...jest.configs["flat/style"].rules,
"jest/consistent-test-it": ["error", { withinDescribe: "test" }],
"jest/no-conditional-in-test": "error",
"jest/no-confusing-set-timeout": "error",
Expand Down

0 comments on commit 5756ab8

Please sign in to comment.