Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit a16a5b2

Browse files
committed
build(lint): disable Jest done callback rule in fixture tests via override
1 parent f61714b commit a16a5b2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,11 @@ module.exports = {
1919
'import/no-extraneous-dependencies': ['error', {devDependencies: true}],
2020
},
2121
},
22+
{
23+
files: ['test/fixture/**/*.+(js|ts)'],
24+
rules: {
25+
'jest/no-done-callback': 'off',
26+
},
27+
},
2228
],
2329
}

test/fixture/fixture.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable jest/no-done-callback */
2-
31
import * as path from 'path'
42
import * as playwright from '@playwright/test'
53

0 commit comments

Comments
 (0)