Skip to content

Commit

Permalink
support: type:"module"
Browse files Browse the repository at this point in the history
  • Loading branch information
ryota-murakami committed Jul 31, 2023
1 parent 8e237c2 commit 1af6ac6
Show file tree
Hide file tree
Showing 2 changed files 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 @@ -14,7 +14,7 @@ const currentDir = process.cwd()

const file = {
eslintignore: '.eslintignore',
eslintrc: '.eslintrc.js',
eslintrc: '.eslintrc.cjs',
prettierrc: '.prettierrc',
}

Expand Down Expand Up @@ -55,7 +55,7 @@ program
.action(async () => {
fs.copyFileSync(
path.join(rootDir, 'index.js'),
path.join(currentDir, '.eslintrc.js')
path.join(currentDir, '.eslintrc.cjs')
)
await copyConfig('eslintignore')
await createPrettierConfig()
Expand Down
File renamed without changes.

0 comments on commit 1af6ac6

Please sign in to comment.