mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-01-26 03:34:03 +00:00
chore: tweaks to megalinter and grammar.js
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user