Skip to content

Commit 6bb7c9d

Browse files
committed
chore: use global install because dlx doesn't do the job
1 parent f28d0ec commit 6bb7c9d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

scripts/lint.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ const oxlintVersion = getDependencyVersion('oxlint')
3030
const oxfmtVersion = getDependencyVersion('oxfmt')
3131
const e18eVersion = getDependencyVersion('@e18e/eslint-plugin')
3232

33-
runCommand('pnpx', [
34-
`--package=@e18e/eslint-plugin@${e18eVersion}`,
35-
`--package=oxlint@${oxlintVersion}`,
36-
'oxlint',
37-
])
33+
// Peers of the lint config
34+
runCommand('pnpm', ['i', '-g', `@e18e/eslint-plugin@${e18eVersion}`])
35+
runCommand('pnpx', [`--package=oxlint@${oxlintVersion}`, 'oxlint'])
3836
runCommand('pnpx', [`oxfmt@${oxfmtVersion}`, '--check'])

0 commit comments

Comments
 (0)