Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 60795d1

Browse files
authored
feat: don't install @nuxtjs/eslint-config and @nuxtjs/eslint-config-typescript together (#633)
1 parent b6facaf commit 60795d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: packages/cna-template/template/nuxt/package.js

+3
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ module.exports = {
8585
if (!typescript || !eslint) {
8686
delete pkg.devDependencies['@nuxtjs/eslint-config-typescript']
8787
}
88+
if (typescript && eslint) {
89+
delete pkg.devDependencies['@nuxtjs/eslint-config']
90+
}
8891
if (typescript) {
8992
for (const key of Object.keys(scripts)) {
9093
scripts[key] = scripts[key].replace(/^nuxt( |$)/, 'nuxt-ts$1')

0 commit comments

Comments
 (0)