-
-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Labels
Description
describe your issue
Based on the advice I received from #2179 I tried to add an identity hook to my script to troubleshoot why my configuration isn't working as expected.
This is the output of running pre-commit:
Firebase Identity....................................(no files to check)Skipped
- hook id: identity
Firebase Formatter...................................(no files to check)Skipped
I'm sure I'm not using this correctly, but there are no examples showing the right way to use this hook. I'd like the documentation to include an example.
pre-commit --version
pre-commit 2.16.0
.pre-commit-config.yaml
repos:
- repo: meta
hooks:
- id: identity
name: Firebase Identity
language: system
entry: bash -c 'cd firebase/functions && echo "$PWD"'
pass_filenames: false
types: [ts]
files: ^firebase/functions/.*
- repo: local
hooks:
- id: firebase-formatter
name: Firebase Formatter
language: system
entry: bash -c 'cd firebase/functions && echo "$PWD"'
pass_filenames: false
types: [ts]
files: ^firebase/functions/.*~/.cache/pre-commit/pre-commit.log (if present)
This file didn't exist.
Reactions are currently unavailable