chore: tweaks to megalinter and grammar.js

This commit is contained in:
2025-11-25 22:54:57 +02:00
parent 3f6411b23f
commit 4344567555
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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,