From 092911d317e92b63d570272da76753e4a46dc807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chastanet?= Date: Wed, 15 Nov 2023 20:48:25 +0100 Subject: [PATCH] megalinter hooks uses --bash-framework-config --- .pre-commit-hooks.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index c85ecda4..b5795063 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -20,7 +20,7 @@ language: script entry: bin/frameworkLint args: - [--expected-warnings-count, '0', --format, plain, --theme, default-force] + [--bash-framework-config, .framework-config, --expected-warnings-count, '0', --format, plain, --theme, default-force] pass_filenames: false types: ['executable', 'file', 'shell', 'text'] always_run: false @@ -46,8 +46,8 @@ Installing last version automatically language: script entry: bin/shellcheckLint - args: [-f, tty, --xargs, --staged] - pass_filenames: false + args: [--bash-framework-config, .framework-config, -f, tty, --xargs] + pass_filenames: true files: \.sh$ types: ['executable', 'file', 'shell', 'text']