Skip to content

Commit

Permalink
fix: Remove pre-commit step no-commit-to-branch
Browse files Browse the repository at this point in the history
GitHub already protects master/main, so this is redundant

Signed-off-by: Julian Psotta <22392104+MichaelsJP@users.noreply.github.com>
  • Loading branch information
MichaelsJP authored and TheGreatRefrigerator committed Dec 12, 2022
1 parent 2e82146 commit af8a313
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ repos:
- id: mixed-line-ending
args: ["--fix=lf"]
description: Forces to replace line ending by the UNIX 'lf' character.
- id: no-commit-to-branch
args: [--branch, master, --branch, main]
- id: check-added-large-files
args: ["--maxkb=500"]
- repo: https://github.com/pre-commit/mirrors-eslint
Expand Down

0 comments on commit af8a313

Please sign in to comment.