Skip to content

Commit

Permalink
chore: export default
Browse files Browse the repository at this point in the history
  • Loading branch information
dmZhan committed May 5, 2024
1 parent 1455d73 commit 076bc75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eslint.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { dmzj } from './src'
import dmzj from './src'

export default dmzj()
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const dmzjRules: TypedFlatConfigItem[] = [
},
]

export function dmzj(...params: Parameters<typeof antfu>): FlatConfigComposer<TypedFlatConfigItem, ConfigNames> {
export default function (...params: Parameters<typeof antfu>): FlatConfigComposer<TypedFlatConfigItem, ConfigNames> {
if (params.length === 0) {
return antfu({}, dmzjRules)
}
Expand Down

0 comments on commit 076bc75

Please sign in to comment.