Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ryota-murakami committed Aug 8, 2023
1 parent c5169bf commit 8f783ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const destination = {
program
.command('config')
.description(
`create ${file.prettierrc}/${file.eslintrc}/${file.eslintignore} files your current directory.`
`create ${file.prettierrc}/${file.eslintrc}/${file.eslintignore} files your current directory.`,
)
.option('--prettier', `create ${file.prettierrc} only`)
.option('--eslint', `create ${file.eslintrc}/${file.eslintignore} only`)
Expand All @@ -55,7 +55,7 @@ program
.action(async () => {
fs.copyFileSync(
path.join(rootDir, 'index.js'),
path.join(currentDir, '.eslintrc.cjs')
path.join(currentDir, '.eslintrc.cjs'),
)
await copyConfig('eslintignore')
await createPrettierConfig()
Expand Down

0 comments on commit 8f783ce

Please sign in to comment.