mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-08 14:01:11 -07:00
Allow specifying ranges in disable directives
This commit is contained in:
parent
43191fa71d
commit
58783ab3cc
5 changed files with 13 additions and 6 deletions
|
@ -145,7 +145,7 @@ data InnerToken t =
|
|||
deriving (Show, Eq, Functor, Foldable, Traversable)
|
||||
|
||||
data Annotation =
|
||||
DisableComment Integer
|
||||
DisableComment Integer Integer -- [from, to)
|
||||
| EnableComment String
|
||||
| SourceOverride String
|
||||
| ShellOverride String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue