Skip to content

Commit 034abc7

Browse files
committed
ci/lint: simplify prettier
1 parent f5f7798 commit 034abc7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.pre-commit-config.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ repos:
3636
- id: dockerfilelint
3737

3838
- repo: https://github.com/pre-commit/mirrors-prettier
39-
rev: v3.0.3
39+
rev: v3.1.0
4040
hooks:
4141
- id: prettier
42+
files: \.(json|yml|yaml|toml)
4243
# https://prettier.io/docs/en/options.html#print-width
4344
args: ["--print-width=120"]

.prettierignore

-2
This file was deleted.

0 commit comments

Comments
 (0)