Skip to content

Commit f6dbb3a

Browse files
committed
Add missing default export (fixes #50)
1 parent d327c35 commit f6dbb3a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
- Add default export to fix usage with jiti (fixes #50)
6+
37
## 0.4.11
48

59
- Ignore type exports (ex. `export type foo = string;`) (fixes #47)

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ import { onlyExportComponents } from "./only-export-components.ts";
33
export const rules = {
44
"only-export-components": onlyExportComponents,
55
};
6+
// eslint-disable-next-line @arnaud-barre/no-default-export
7+
export default { rules };

0 commit comments

Comments
 (0)