chore(pre-commit): exclude woff2 from the large-file check
This commit is contained in:
1 parent
8402bb8c48
commit
dcb178a71a
1 file changed
+3
@@ -32,6 +32,9 @@ repos:
|
|||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
args: [--maxkb=1024]
|
args: [--maxkb=1024]
|
||||||
|
# Self-hosted variable fonts are multi-MB by design (page-weight is
|
||||||
|
# a serving-layer concern, not a repo concern).
|
||||||
|
exclude: \.woff2$
|
||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
|
|
||||||
# ------------------------------------------------ conventional commits ---
|
# ------------------------------------------------ conventional commits ---
|
||||||
|
|||||||
Reference in new issue
Block a user