Skip to content

Commit

Permalink
fix(eslint): remove comment from generated config (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
cexbrayat authored Oct 11, 2024
1 parent fec5871 commit 05ac8ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ await esbuild.build({
{
name: '@vue/create-eslint-config fix',
setup(build) {

// The renderEjsFile.js module uses file system APIs therefore after bundling it will not work.
// So we need to preprocess it to remove the file system APIs.
build.onLoad({ filter: /@vue.create-eslint-config.renderEjsFile\.js$/ }, (args) => {
Expand Down
2 changes: 1 addition & 1 deletion utils/renderEslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function getAdditionalConfigs({
]
.map(JSON.stringify.bind(JSON))
.join(',\n ')
.replace(/"/g, "'")} // use single quotes as in the other configs
.replace(/"/g, "'" /* use single quotes as in the other configs */)}
],
},`
}
Expand Down

0 comments on commit 05ac8ba

Please sign in to comment.