toml
TOML files: each file parses and uses the layout that taplo writes.
Selected when
Section titled “Selected when”Always.
Checks
Section titled “Checks”Checks that every TOML file parses and matches the taplo output under the shared settings.
Runs at the commit stage. 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 the fix: command that the report prints.
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”gspot ignore toml/taplo --paths "<path>" --reason "<why>"Tools and versions
Section titled “Tools and versions”| Tool | Version |
|---|---|
| taplo | 0.10.0 |
Files gspot writes
Section titled “Files gspot writes”.gspot/configurations/toml/taplo.toml