Skip to content

Commit

Permalink
Add missing default export (fixes #50)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre committed Sep 14, 2024
1 parent d327c35 commit f6dbb3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Unreleased

- Add default export to fix usage with jiti (fixes #50)

## 0.4.11

- Ignore type exports (ex. `export type foo = string;`) (fixes #47)
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 comments on commit f6dbb3a

Please sign in to comment.