Skip to content

Commit

Permalink
build: use buildFromOxlintConfigFile in eslint config (#211)
Browse files Browse the repository at this point in the history
will create smaller refactor PRs to resolve the issues
  • Loading branch information
Sysix authored Nov 2, 2024
1 parent 6e82331 commit 3a23865
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions eslint.config.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import oxlint from './src/index.js';
import { buildFromOxlintConfigFile } from './src/index.js';
import unicorn from 'eslint-plugin-unicorn';
import eslint from '@eslint/js';
import eslintConfigPrettier from 'eslint-config-prettier';
import tseslint from 'typescript-eslint';

export default [
{
ignores: ['dist/'],
},
eslint.configs.recommended,
unicorn.configs['flat/recommended'],
...tseslint.configs.recommended,
eslintConfigPrettier,
oxlint.configs['flat/all'],
{
ignores: ['dist/'],
},
...buildFromOxlintConfigFile('oxlint.json'),
];

0 comments on commit 3a23865

Please sign in to comment.