mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-03-14 11:03:28 +00:00
chore: tweaks to megalinter and grammar.js
This commit is contained in:
@@ -4,7 +4,8 @@
|
|||||||
# See all available variables at
|
# See all available variables at
|
||||||
# https://megalinter.io/configuration/ and in linters documentation
|
# 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
|
SHOW_ELAPSED_TIME: false # Show elapsed time at the end of MegaLinter run
|
||||||
PARALLEL: true
|
PARALLEL: true
|
||||||
VALIDATE_ALL_CODEBASE: true
|
VALIDATE_ALL_CODEBASE: true
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ module.exports = grammar(bashGrammar, {
|
|||||||
// Extend the main statement rule to include ShellSpec blocks and directives
|
// Extend the main statement rule to include ShellSpec blocks and directives
|
||||||
_statement_not_subshell: ($, original) =>
|
_statement_not_subshell: ($, original) =>
|
||||||
choice(
|
choice(
|
||||||
|
// @ts-ignore
|
||||||
original,
|
original,
|
||||||
$.shellspec_describe_block,
|
$.shellspec_describe_block,
|
||||||
$.shellspec_context_block,
|
$.shellspec_context_block,
|
||||||
|
|||||||
Reference in New Issue
Block a user