Skip to content

Commit

Permalink
fix(test): fix test for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix committed Oct 10, 2024
1 parent 71f857b commit bd1b61f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import type { ESLint } from 'eslint';
import { FlatCompat } from '@eslint/eslintrc';

const __dirname = new URL('.', import.meta.url).pathname;
const compat = new FlatCompat({ resolvePluginsRelativeTo: __dirname });
import oxlint from '../src/index.js';

export const ESLintTestConfig: ESLint.Options = {
baseConfig: compat.extends('plugin:oxlint/all'),
baseConfig: oxlint.configs['flat/all'],
};

0 comments on commit bd1b61f

Please sign in to comment.