Skip to content

Commit 0f9fc2c

Browse files
Update pre-commit rules
1 parent a5a7f93 commit 0f9fc2c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exclude: "^$"
22
fail_fast: false
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.3.0
5+
rev: v4.4.0
66
hooks:
77
- id: check-added-large-files
88
args: ["--maxkb=1024"]
@@ -35,17 +35,12 @@ repos:
3535
- id: mixed-line-ending
3636
args: ["--fix=lf"]
3737
description: Forces to replace line ending by the UNIX 'lf' character.
38-
39-
# Optional. Conflicts with prettier.
40-
# - id: pretty-format-json
41-
# args: ["--autofix", "--indent", "2", "--no-sort-keys"]
42-
4338
# This hook trims trailing whitespace.
4439
- id: trailing-whitespace
4540

4641
# Prettier is an opinionated code formatter.
4742
# It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
4843
- repo: https://github.com/pre-commit/mirrors-prettier
49-
rev: "v2.7.1"
44+
rev: "v3.0.0-alpha.4"
5045
hooks:
5146
- id: prettier

0 commit comments

Comments
 (0)