Skip to content

Commit 79170da

Browse files
committed
docs(plugin-eslint): fix code fro new loader 2
1 parent 5d40c59 commit 79170da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/plugin-eslint/src/lib/runner/lint.unit.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import { lint } from './lint.js';
1010
* - No number: eslint-report.json (no dash)
1111
* - With number: eslint-report-123.json (with dash and digits)
1212
*/
13-
const ESLINT_REPORT_FILENAME_PATTERN = /eslint-report(?:-\d+)?\.json/;
13+
const ESLINT_REPORT_FILENAME_PATTERN =
14+
/--output-file=\.code-pushup\/eslint\/eslint-report(?:-\d+)?\.json/;
1415

1516
class MockESLint {
1617
calculateConfigForFile = vi.fn().mockImplementation(

0 commit comments

Comments
 (0)