Skip to content

Commit

Permalink
chore: update lint-staged typicode/husky#968 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinoli committed May 4, 2022
1 parent ef072f9 commit ae4a032
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 56 deletions.
2 changes: 1 addition & 1 deletion lint-staged.config.mjs
Expand Up @@ -2,7 +2,7 @@ export default {
'**/*.{js,vue}': filenames =>
// only lint changed files
`npm run lint -- --fix ${filenames.join(' ')}`,
'**/*.{json,md}': filenames =>
'{json,md}': filenames =>
// only format changed files
`prettier --write ${filenames.join(' ')}`
}
112 changes: 58 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -122,7 +122,7 @@
"file-loader": "^6.2.0",
"husky": "^7.0.4",
"jest": "^27.3.1",
"lint-staged": "^12.1.2",
"lint-staged": "^12.4.1",
"netlify-cli": "^9.13.4",
"prettier": "^2.5.1",
"raw-loader": "^4.0.2",
Expand Down

0 comments on commit ae4a032

Please sign in to comment.