Skip to content

Commit 33183c5

Browse files
committed
fix: use type-only export
1 parent 99c1934 commit 33183c5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@repo/eslint-config': patch
3+
---
4+
5+
fix: use type-only export

packages/eslint-config/src/default.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ import * as tseslint from 'typescript-eslint'
1010

1111
import { getDirname, getGitIgnoreFiles, getTsconfigRootDir } from './helpers'
1212

13-
import type { ConfigObject } from '@eslint/core'
1413
import type { Linter } from 'eslint'
1514

16-
export { defineConfig, ConfigObject as Config }
15+
export type { ConfigObject as Config } from '@eslint/core'
16+
17+
export { defineConfig }
1718

1819
const compat = new FlatCompat({
1920
// This helps FlatCompat resolve plugins relative to this config file

0 commit comments

Comments
 (0)