Consider using shellcheck for deeper linting on scripts
Bug #1292074 reported by
Allele Dev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Shellcheck: http://
Also available off-line via CLI: http://
* Requires: haskell-platform
* Pros
- Provides rather thorough error detection on scripts
* Cons
- Requires a heavy dependency
Examples of (potential) issues discovered with shellcheck: http://
To post a comment you must log in.
We considered this tool and a couple of other ones before investing the time in writing bash8. The Haskell dep here was enough to eliminate it, it just is not worth the overhead for a style checker and we hit 90% of the typical issues fairly quickly.