Skip to content

Commit

Permalink
fix: eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ModyQyW committed Nov 14, 2024
1 parent 9d9f99f commit 2020f8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/eslint/configs/ignores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ import { GLOB_EXCLUDE } from "../../constants.ts";
import type { Config, IgnoresOptions } from "../types.ts";

export function ignores(options: IgnoresOptions = {}): Config[] {
const { ignores = GLOB_EXCLUDE } = options;
return [{ ignores }];
return [{ ignores: options.ignores ?? GLOB_EXCLUDE }];
}

0 comments on commit 2020f8a

Please sign in to comment.