Skip to content

Commit

Permalink
fix(git-validator): ignore unknown for formatter, align with linter
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed May 6, 2024
1 parent 2891f12 commit 14da17b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-badgers-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"git-validator": patch
---

fix(git-validator): ignore unknown for formatter, align with linter
1 change: 1 addition & 0 deletions packages/git-validator/src/command/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export async function format(paths = [], options = {}) {
...ignores,
"--config",
configPath,
"--ignore-unknown",
...(shouldWrite ? ["--write"] : ["--check"]),
...ps,
],
Expand Down

0 comments on commit 14da17b

Please sign in to comment.