This linter is for validating TOML configuration files using MegaLinter as a plugin.
This linter plugin is a combination of two linters check-toml from pre-commit-hooks and toml-validator.
In the .mega-linter.yml of your project add the following lines.
PLUGINS:
- https://raw.githubusercontent.com/hype8912/check-toml-megalinter-plugin/main/mega-linter-plugin-checktoml/checktoml.megalinter-descriptor.ymlYou can disable the linter plugin by two ways
-
Completely remove or comment out the line from the
.mega-linter.ymlfile. -
Set the TOML checks to disabled in the
.mega-linter.ymlfile or in the actions file. Refer to the MegaLinter Activation and deactivation for more information.
DISABLE: TOMLYou can disable the individual linters in the .mega-linter.yml file or in the actions file. Refer to the MegaLinter Activation and deactivation for more information.
DISABLE_LINTERS: check-toml,toml-validator