Skip to content

Commit

Permalink
build: ignore docs files when running lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
allmarkedup committed Dec 11, 2022
1 parent a71b09e commit bbe97f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@
"watch": "^1.0.2"
},
"lint-staged": {
"**/*": [
"prettier --write --ignore-unknown"
"!(docs/**/*)": [
"prettier --write --ignore-unknown",
"npm run build"
],
"**/*.rb": [
"bundle exec standardrb --fix"
Expand Down

0 comments on commit bbe97f1

Please sign in to comment.