Skip to content

Commit

Permalink
fix: revert name field, fix #11
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 10, 2024
1 parent 6c2ae2e commit 77d7bb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ export default function ignore(options: FlatGitignoreOptions = {}): FlatConfigIt
throw new Error('No .gitignore file found')

return {
name: options.name || 'gitignore',
// `name` is still not working well in ESLint v8
// name: options.name || 'gitignore',
ignores,
}
}

0 comments on commit 77d7bb9

Please sign in to comment.