chore: update pre-commit to handle js/ts/css files

This commit is contained in:
jo 2022-02-09 08:22:01 +01:00 committed by Jonas L
parent 6419435601
commit 9eab3b8d17
1 changed files with 3 additions and 2 deletions

View File

@ -32,7 +32,8 @@ repos:
rev: v2.5.1
hooks:
- id: prettier
files: \.(md|yml|yaml|json)$
files: \.(md|mdx|yml|yaml|js|jsx|ts|tsx|json|css)$
exclude: ^legacy/public
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
@ -58,4 +59,4 @@ repos:
args:
- --ignore-words=.codespellignore
- --builtin=clear,rare,informal
exclude: ^(legacy.*)$
exclude: (^legacy.*|yarn\.lock)$