Skip to content

Instantly share code, notes, and snippets.

@babldev
Last active April 19, 2022 20:31
Show Gist options
  • Save babldev/9ac9c032ccd80a025e8f8ef21beb6430 to your computer and use it in GitHub Desktop.
Save babldev/9ac9c032ccd80a025e8f8ef21beb6430 to your computer and use it in GitHub Desktop.

Revisions

  1. babldev revised this gist Apr 19, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ repos:
    hooks:
    - id: typescript-check
    name: typescript-check
    entry: npx tsc --noEmit
    entry: npx tsc
    language: system
    types_or: [ts, tsx]
    pass_filenames: true
    pass_filenames: false
  2. babldev created this gist Apr 19, 2022.
    9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    repos:
    - repo: local
    hooks:
    - id: typescript-check
    name: typescript-check
    entry: npx tsc --noEmit
    language: system
    types_or: [ts, tsx]
    pass_filenames: true