Skip to content

Commit

Permalink
specify node version that workarounds of prettier/prettier#9459
Browse files Browse the repository at this point in the history
  • Loading branch information
key committed Nov 16, 2020
1 parent 8bc6ab1 commit 17d153d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .pre-commit-config.yaml
@@ -1,6 +1,9 @@
default_language_version:
python: python3
node: "14.13.0"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
rev: v3.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -13,7 +16,7 @@ repos:
args: ["--fix=lf"]

- repo: https://github.com/asottile/add-trailing-comma
sha: v0.8.0
rev: v2.0.1
hooks:
- id: add-trailing-comma

Expand All @@ -29,13 +32,13 @@ repos:
]

- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
rev: v5.6.4
hooks:
- id: isort
args: ["--apply"]

- repo: https://github.com/prettier/prettier
rev: 1.16.4
rev: 2.1.2
hooks:
- id: prettier
exclude: "templates|.aws"

0 comments on commit 17d153d

Please sign in to comment.