A one-stop-shop for all your syntax checking needs.
This script wraps multiple syntax checking programs into one convenient bash script so you can always run the same command to syntax check your files regardless of what type they are.
The following formats are currently supported, and require the following programs to be installed to work.
- css -- csslint
- html -- tidy
- js/json -- hint
- php -- php for command line
- python -- pylint or python
- ruby -- ruby
- bash -- bash
- xml -- xmllint
- sql (postgres specifically) -- pgsanity
- git/jpg/png/svg -- identify (imagemagick)