chore: run eslint

This commit is contained in:
zernonia 2023-09-06 09:57:37 +08:00
parent 746bcde87a
commit f979211d90
50 changed files with 54 additions and 54 deletions

View File

@ -139,7 +139,7 @@ export const add = new Command()
}
for (const file of item.files) {
let filePath = path.resolve(targetDir, file.name)
const filePath = path.resolve(targetDir, file.name)
// Run transformers.
const content = await transform({

View File

@ -140,7 +140,7 @@ export async function promptForConfig(
type: 'text',
name: 'tailwindCss',
message: `Where is your ${highlight('Tailwind CSS')} file?`,
initial: (prev,values) => defaultConfig?.tailwind.css ?? values.framework === 'nuxt' ? DEFAULT_TAILWIND_CSS_NUXT : DEFAULT_TAILWIND_CSS
initial: (prev, values) => defaultConfig?.tailwind.css ?? values.framework === 'nuxt' ? DEFAULT_TAILWIND_CSS_NUXT : DEFAULT_TAILWIND_CSS,
},
{
type: 'toggle',