Skip to content

Commit

Permalink
Merge pull request #87 from lucasrmendonca/patch-2
Browse files Browse the repository at this point in the history
fix: wrong plugin syntax for jest config
  • Loading branch information
gajus authored Sep 9, 2024
2 parents 0ce418f + 7508ec4 commit 20ffdad
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions configurations/jest.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
const jest = require('eslint-plugin-jest');

module.exports.recommended = {
plugins: [
{
jest: require('eslint-plugin-jest'),
},
],
languageOptions: {
globals: jest.environments.globals.globals,
},
plugins: {
jest,
},
rules: {
'jest/consistent-test-it': 2,
'jest/expect-expect': 2,
Expand Down

0 comments on commit 20ffdad

Please sign in to comment.