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 21, 2020
1 parent af759c3 commit f625049
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 f625049

Please sign in to comment.