Skip to content

Commit

Permalink
fix: Add default node version for pre-commit #73
Browse files Browse the repository at this point in the history
If the cached pre-commit is deleted, pre-commit fails to install
prettier/prettier#9459
  • Loading branch information
bit172 committed Nov 22, 2020
1 parent 5d89dd1 commit 1f27a89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
@@ -1,3 +1,6 @@
default_language_version:
node: '12.18.0'

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
Expand Down

0 comments on commit 1f27a89

Please sign in to comment.