mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-20 13:23:55 -07:00
Warn about missing shebangs.
This commit is contained in:
parent
8ba1f2fdf2
commit
8494509150
8 changed files with 117 additions and 88 deletions
14
ShellCheck/Options.hs
Normal file
14
ShellCheck/Options.hs
Normal file
|
@ -0,0 +1,14 @@
|
|||
module ShellCheck.Options where
|
||||
|
||||
data Shell = Ksh | Zsh | Sh | Bash
|
||||
deriving (Show, Eq)
|
||||
|
||||
data AnalysisOptions = AnalysisOptions {
|
||||
optionShellType :: Maybe Shell,
|
||||
optionExcludes :: [Integer]
|
||||
}
|
||||
|
||||
defaultAnalysisOptions = AnalysisOptions {
|
||||
optionShellType = Nothing,
|
||||
optionExcludes = []
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue