File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/plugin-eslint/src/lib/runner Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,10 @@ import { setupESLint } from '../setup.js';
1414import type { LinterOutput , RuleOptionsPerFile } from './types.js' ;
1515
1616/**
17- * Regex pattern to match ESLint report filename format with OS-agnostic path separators .
17+ * Regex pattern to match ESLint report filename format.
1818 * Matches: eslint-report.json or eslint-report-{number}.json
19- * Handles both forward slashes (/) and backslashes (\) for cross-platform compatibility
2019 */
21- export const ESLINT_REPORT_FILENAME_PATTERN =
22- / - - o u t p u t - f i l e = " \. c o d e - p u s h u p [ / \\ ] e s l i n t [ / \\ ] e s l i n t - r e p o r t (?: - \d + ) ? \. j s o n " / ; // eslint-disable-line unicorn/better-regex
20+ export const ESLINT_REPORT_FILENAME_PATTERN = / e s l i n t - r e p o r t (?: - \d + ) ? \. j s o n " / ;
2321
2422export async function lint ( {
2523 eslintrc,
You can’t perform that action at this time.
0 commit comments