Skip to content

Commit 89550ed

Browse files
committed
chore(lint): allow default exports in config files
Add biome override to permit default exports in .config/ directory. Config files require default exports for tool compatibility (ESLint, Vitest, Taze) while the rest of the codebase uses named exports only.
1 parent 1f40dea commit 89550ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

biome.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,16 @@
180180
}
181181
}
182182
}
183+
},
184+
{
185+
"includes": [".config/**/*"],
186+
"linter": {
187+
"rules": {
188+
"style": {
189+
"noDefaultExport": "off"
190+
}
191+
}
192+
}
183193
}
184194
]
185195
}

0 commit comments

Comments
 (0)