Skip to content

Commit

Permalink
build(eslint): only .ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
web-mech committed Aug 17, 2024
1 parent 22cd3ec commit f3b1c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint-staged.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const removeIgnoredFiles = async (files) => {
}

export default {
'*.{js,ts,mjs,vue}': async (files) => {
'*.ts': async (files) => {
const filesToLint = await removeIgnoredFiles(files)
return [`eslint ${filesToLint}`]
},
Expand Down

0 comments on commit f3b1c99

Please sign in to comment.