fflint is a linter for file formats. Are your files:
See commands for the list of supported file formats.
See files for how to specify the files to check.
See flags for global flags that apply to multiple file formats, as well as details for complicated flag types like ranges and ratios.