Skip to content

Commit 05ac8ba

Browse files
authored
fix(eslint): remove comment from generated config (vuejs#578)
1 parent fec5871 commit 05ac8ba

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

scripts/build.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ await esbuild.build({
5454
{
5555
name: '@vue/create-eslint-config fix',
5656
setup(build) {
57-
5857
// The renderEjsFile.js module uses file system APIs therefore after bundling it will not work.
5958
// So we need to preprocess it to remove the file system APIs.
6059
build.onLoad({ filter: /@vue.create-eslint-config.renderEjsFile\.js$/ }, (args) => {

utils/renderEslint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export function getAdditionalConfigs({
108108
]
109109
.map(JSON.stringify.bind(JSON))
110110
.join(',\n ')
111-
.replace(/"/g, "'")} // use single quotes as in the other configs
111+
.replace(/"/g, "'" /* use single quotes as in the other configs */)}
112112
],
113113
},`
114114
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy