files/taplo-format
Checks that every TOML file parses and matches the taplo output under the shared settings.
Part of the files configuration, at the recommended level. It runs at the commit stage, per file. It runs taplo. gspot check --fix fixes what it can.
One formatter keeps a diff about the values, not the spacing.
What to do
Section titled “What to do”Run gspot check --fix.
Example
Section titled “Example”The TOML line enabled=true differs from the taplo output. Run gspot check --fix to get enabled = true.
Turn it off
Section titled “Turn it off”Turn it off for some files, or one of its lint rules, with a reason:
gspot ignore files/taplo-format --paths "<glob>" --reason "<why>"gspot ignore files/taplo-format --rule <rule> --reason "<why>"