From 434456755538a722d6653a5412b4a011816645bd Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Tue, 25 Nov 2025 22:54:57 +0200 Subject: [PATCH] chore: tweaks to megalinter and grammar.js --- .mega-linter.yml | 3 ++- grammar.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.mega-linter.yml b/.mega-linter.yml index b64ac43..0ad7a6b 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -4,7 +4,8 @@ # See all available variables at # https://megalinter.io/configuration/ and in linters documentation -APPLY_FIXES: all +APPLY_FIXES: none +FLAVOR_SUGGESTIONS: true SHOW_ELAPSED_TIME: false # Show elapsed time at the end of MegaLinter run PARALLEL: true VALIDATE_ALL_CODEBASE: true diff --git a/grammar.js b/grammar.js index 5d2f90b..aeb0a6e 100644 --- a/grammar.js +++ b/grammar.js @@ -28,6 +28,7 @@ module.exports = grammar(bashGrammar, { // Extend the main statement rule to include ShellSpec blocks and directives _statement_not_subshell: ($, original) => choice( + // @ts-ignore original, $.shellspec_describe_block, $.shellspec_context_block,