From 78334e63824fb3734365b2f414475dd860fc53c1 Mon Sep 17 00:00:00 2001 From: Tania Allard Date: Tue, 2 Apr 2024 12:33:08 +0100 Subject: [PATCH] Add pre-commit ci config --- .pre-commit-config.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f2070c60d..0648293a0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,11 @@ +# Config for pre-commit CI https://pre-commit.ci/ +ci: + autofix_commit_msg: | + [pre-commit.ci] Automatic linting and formatting fixes + autofix_prs: true + autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate hooks" + autoupdate_schedule: monthly + # Fix the node version to avoid a GLIBC error # ref: https://stackoverflow.com/questions/71939099/bitbucket-pipeline-error-installing-pre-commit-ts-lint/71940852#71940852 default_language_version: