@hackage tomlcheck0.1.0.2
Command-line tool to check syntax of TOML files
Installation
Dependencies (5)
- base >=4.8 && <5
- htoml-megaparsec >=1.0.1.1 && <2.1.0.0
- megaparsec >=6.0
- optparse-generic
- text Show all…
Dependents (1)
@hackage/acme-everything
Package Flags
development
(off by default)
Enable `-Werror`
tomlcheck
tomlcheck is a command-line wrapper around the htoml library which can be
used as a syntax checker for TOML.
You can find a vim plugin here.
Installation
Binaries
Head over to the release page to see if your platform has binaries. Simply put it somewhere on your path.
Cabal
Install GHC along with cabal, then
$ cabal update
$ cabal install tomlcheck
Known Deficiencies
- No Windows binaries
- Slow on large files (>7000 lines)
Cool Facts
- It's really fast
- It uses laziness to make checking schnell yet robust
-------------------------------------------------------------------------------
Language Files Lines Code Comments Blanks
-------------------------------------------------------------------------------
Cabal 1 58 53 1 4
Haskell 3 40 28 4 8
Justfile 1 21 16 0 5
Markdown 2 42 42 0 0
TOML 3 87 78 0 9
YAML 1 9 9 0 0
-------------------------------------------------------------------------------
Total 11 257 226 5 26
-------------------------------------------------------------------------------