Skip to content

Commit

Permalink
chore: move file
Browse files Browse the repository at this point in the history
  • Loading branch information
haiweilian committed Nov 1, 2024
1 parent 6337b78 commit 9cd4c45
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/create-lint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async function main() {
(options.module
? configFile
: configFile.replace(/\.js$/, '.mjs')
).slice(configFile.indexOf('/') + 1)
).slice(configFile.lastIndexOf('/') + 1)
)
)
})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default () => {
return {
pkg: [],
file: ['file-basic/.editorconfig'],
file: ['file-basic/editorconfig/.editorconfig'],
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default () => {
return {
pkg: [],
file: ['file-basic/.gitignore'],
file: ['file-basic/gitignore/.gitignore'],
}
}
2 changes: 1 addition & 1 deletion packages/create-lint/template/file-basic/npmrc/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default () => {
return {
pkg: [],
file: ['file-basic/.npmrc'],
file: ['file-basic/npmrc/.npmrc'],
}
}

0 comments on commit 9cd4c45

Please sign in to comment.