We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ccb45d commit 27f41dfCopy full SHA for 27f41df
1 file changed
.pre-commit-config.yaml
@@ -21,9 +21,11 @@ repos:
21
- 'eslint-config-prettier@10.0.1'
22
- globals@15.12.0
23
24
- - repo: https://github.com/pre-commit/mirrors-prettier
25
- rev: v4.0.0-alpha.8
+ - repo: local
26
hooks:
27
- - id: prettier
28
- files: \"\.(js|jsx|ts|tsx|json|css|md)\"$
29
- args: [ '--write' ]
+ - id: prettier-frontend
+ name: Prettier Frontend
+ entry: bash -c 'cd frontend && npx prettier --write .'
+ language: system
30
+ files: ^frontend/.*\.(js|jsx|ts|tsx|json|css|md)$
31
+ pass_filenames: false
0 commit comments