Skip to content

Commit

Permalink
fix: do not update via linting on pre-commit stage
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Apr 30, 2024
1 parent 3ac25d5 commit 4635ad8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/modern-dodos-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"git-validator": minor
---

fix: do not update via linting on pre-commit stage
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @ts-check
import { resolveConfig } from "../utils.js";

const defaultConfig = { "*": ["npx git-validator lint -u"] };
const defaultConfig = { "*": ["npx git-validator lint"] };
export default (await resolveConfig("lint-staged"))?.config ?? defaultConfig;

0 comments on commit 4635ad8

Please sign in to comment.