Skip to content

Commit 9253aff

Browse files
committed
fix(core,github-action): consistent type imports
1 parent d4c03cb commit 9253aff

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.eslintrc.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
"node": true
1111
},
1212
"ignorePatterns": [
13-
"packages/*/dist/**/*"
14-
]
13+
"packages/*/dist/**/*",
14+
"packages/*/package/**/*"
15+
],
16+
"rules": {
17+
"@typescript-eslint/consistent-type-imports": "error"
18+
}
1519
}

packages/core/src/project/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ConventionalChangelog } from 'conventional-changelog'
55
import { concatStringStream } from '@simple-libs/stream-utils'
66
import { parseHostedGitUrl } from '@simple-libs/hosted-git-info'
77
import semver, { type ReleaseType } from 'semver'
8-
import { ProjectManifest } from '../manifest/index.js'
8+
import type { ProjectManifest } from '../manifest/index.js'
99
import {
1010
addReleaseNotes,
1111
extractLastRelease,

packages/github-action/src/releaser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getOctokit } from '@actions/github'
1+
import type { getOctokit } from '@actions/github'
22
import {
33
type Project,
44
type ReleaserOptions,

0 commit comments

Comments
 (0)