Skip to content

Commit 076bc75

Browse files
committed
chore: export default
1 parent 1455d73 commit 076bc75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eslint.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { dmzj } from './src'
1+
import dmzj from './src'
22

33
export default dmzj()

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const dmzjRules: TypedFlatConfigItem[] = [
2525
},
2626
]
2727

28-
export function dmzj(...params: Parameters<typeof antfu>): FlatConfigComposer<TypedFlatConfigItem, ConfigNames> {
28+
export default function (...params: Parameters<typeof antfu>): FlatConfigComposer<TypedFlatConfigItem, ConfigNames> {
2929
if (params.length === 0) {
3030
return antfu({}, dmzjRules)
3131
}

0 commit comments

Comments
 (0)