Skip to content

Commit 3128fd0

Browse files
authored
chore: use consistent type imports (#138)
1 parent cfce458 commit 3128fd0

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.oxlintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"no-console": "warn",
1111
"no-await-in-loop": "off",
1212
"unicorn/no-array-sort": "off",
13-
"no-restricted-globals": "error"
13+
"no-restricted-globals": "error",
14+
"typescript/consistent-type-imports": "error"
1415
},
1516
"ignorePatterns": [
1617
".output/**",

app/composables/useRepoMeta.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
import {
2-
parseRepoUrl,
3-
GITLAB_HOSTS,
4-
type ProviderId,
5-
type RepoRef,
6-
} from '#shared/utils/git-providers'
1+
import type { ProviderId, RepoRef } from '#shared/utils/git-providers'
2+
import { parseRepoUrl, GITLAB_HOSTS } from '#shared/utils/git-providers'
73

84
export type RepoMetaLinks = {
95
repo: string

0 commit comments

Comments
 (0)