mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 10:37:26 -07:00
Added cute simplified API plus a CLI frontend
This commit is contained in:
parent
17633aa2a8
commit
2f5a7be421
4 changed files with 99 additions and 2 deletions
|
@ -9,7 +9,7 @@ import Debug.Trace
|
|||
|
||||
checks = map runBasicAnalysis basicChecks
|
||||
|
||||
checkAll = checkList checks
|
||||
runAllAnalytics = checkList checks
|
||||
checkList l t m = foldl (\x f -> f t x) m l
|
||||
|
||||
runBasicAnalysis f t m = snd $ runState (doAnalysis f t) m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue