Skip to content

Commit

Permalink
fix: update lint-staged configuration
Browse files Browse the repository at this point in the history
Configure lint-staged to format only non-image files while making a commit.

fix #52
  • Loading branch information
satnaing committed Apr 17, 2023
1 parent 0e9f709 commit e654c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}
},
"lint-staged": {
"*": [
"!(*.{png,jpg,jpeg,webp})": [
"prettier --plugin-search-dir=. --write"
]
}
Expand Down

0 comments on commit e654c03

Please sign in to comment.