From 17d153d1f821cdf05670629e8e3d0fcfa88e5843 Mon Sep 17 00:00:00 2001 From: Mitsukuni Key Sato Date: Mon, 16 Nov 2020 10:48:17 +0900 Subject: [PATCH] specify node version that workarounds of https://github.com/prettier/prettier/issues/9459 --- .pre-commit-config.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 51b4c7f1..63af7a15 100644 --- a/.pre-commit-config.yaml +++ b/.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 @@ -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 @@ -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"