We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d327c35 commit f6dbb3aCopy full SHA for f6dbb3a
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+## Unreleased
4
+
5
+- Add default export to fix usage with jiti (fixes #50)
6
7
## 0.4.11
8
9
- Ignore type exports (ex. `export type foo = string;`) (fixes #47)
src/index.ts
@@ -3,3 +3,5 @@ import { onlyExportComponents } from "./only-export-components.ts";
export const rules = {
"only-export-components": onlyExportComponents,
};
+// eslint-disable-next-line @arnaud-barre/no-default-export
+export default { rules };
0 commit comments