Skip to content

Files

Latest commit

010bcb0 · Jul 27, 2024

History

History
32 lines (20 loc) · 1.32 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.32 KB

Check TOML

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.

Usage

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.yml

Configuration

You can disable the linter plugin by two ways

  1. Completely remove or comment out the line from the .mega-linter.yml file.

  2. Set the TOML checks to disabled in the .mega-linter.yml file or in the actions file. Refer to the MegaLinter Activation and deactivation for more information.

DISABLE: TOML

You 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