Skip to content

Commit

Permalink
[misc] allow configuration related default exports
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhyde committed Jan 3, 2025
1 parent bbd45d2 commit 2b1e8f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { axiom } from '@2bad/axiom'

// biome-ignore lint/style/noDefaultExport: acceptable for this use case
export default axiom(import.meta.dirname)
2 changes: 2 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* eslint-disable import-x/no-default-export */
import tsconfigPaths from 'vite-tsconfig-paths'
import { coverageConfigDefaults, defineConfig } from 'vitest/config'

// biome-ignore lint/style/noDefaultExport: allow default export for vitest config
export default defineConfig({
test: {
exclude: ['build', 'node_modules'],
Expand Down

0 comments on commit 2b1e8f9

Please sign in to comment.