We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb7c9d commit bee742fCopy full SHA for bee742f
1 file changed
scripts/lint.ts
@@ -30,7 +30,7 @@ const oxlintVersion = getDependencyVersion('oxlint')
30
const oxfmtVersion = getDependencyVersion('oxfmt')
31
const e18eVersion = getDependencyVersion('@e18e/eslint-plugin')
32
33
-// Peers of the lint config
34
-runCommand('pnpm', ['i', '-g', `@e18e/eslint-plugin@${e18eVersion}`])
35
-runCommand('pnpx', [`--package=oxlint@${oxlintVersion}`, 'oxlint'])
+// Install globally so we can also install peers
+runCommand('pnpm', ['i', '-g', `@e18e/eslint-plugin@${e18eVersion}`, `oxlint@${oxlintVersion}`])
+runCommand('pnpm', ['exec', 'oxlint'])
36
runCommand('pnpx', [`oxfmt@${oxfmtVersion}`, '--check'])
0 commit comments