Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3dda6d5

Browse filesBrowse files
authored
chore: limit prettier to specific files (#1509)
1 parent ffc9020 commit 3dda6d5
Copy full SHA for 3dda6d5

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎.pre-commit-config.yaml

Copy file name to clipboardExpand all lines: .pre-commit-config.yaml
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ repos:
3333
hooks:
3434
- id: prettier
3535
args: ["--tab-width", "2"]
36+
files: ".(css|html|js|json|md|toml|yaml)$"
3637
- repo: https://github.com/asottile/pyupgrade
3738
rev: v3.19.1
3839
hooks:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.