File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -350,7 +350,11 @@ async function init() {
350
350
const needsRouter = argv . router || argv [ 'vue-router' ] || features . includes ( 'router' )
351
351
const needsPinia = argv . pinia || features . includes ( 'pinia' )
352
352
const needsVitest = argv . vitest || argv . tests || features . includes ( 'vitest' )
353
- const needsEslint = argv . eslint || argv [ 'eslint-with-prettier' ] || features . includes ( 'eslint' )
353
+ const needsEslint =
354
+ argv . eslint ||
355
+ argv [ 'eslint-with-oxlint' ] ||
356
+ argv [ 'eslint-with-prettier' ] ||
357
+ features . includes ( 'eslint' )
354
358
const needsPrettier =
355
359
argv . prettier || argv [ 'eslint-with-prettier' ] || features . includes ( 'prettier' )
356
360
const needsOxlint = argv [ 'eslint-with-oxlint' ] || result . experimentOxlint
@@ -486,7 +490,7 @@ async function init() {
486
490
}
487
491
488
492
// Render ESLint config
489
- if ( needsEslint || needsOxlint ) {
493
+ if ( needsEslint ) {
490
494
renderEslint ( root , {
491
495
needsTypeScript,
492
496
needsOxlint,
You can’t perform that action at this time.
0 commit comments