Skip to content

Commit afbdfc0

Browse files
committed
Add missing rules section
1 parent 5811f63 commit afbdfc0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

eslint.config.mjs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,14 @@ const config = createConfig([
9191
files: ['**/*.test.ts', '**/*.test.js'],
9292
extends: [jest, nodejs],
9393

94-
'jest/expect-expect': [
95-
'error',
96-
{
97-
assertFunctionNames: ['expect', 'expectTypeOf'],
98-
},
99-
],
94+
rules: {
95+
'jest/expect-expect': [
96+
'error',
97+
{
98+
assertFunctionNames: ['expect', 'expectTypeOf'],
99+
},
100+
],
101+
},
100102
},
101103

102104
// Packages that are Node.js-only

0 commit comments

Comments
 (0)