CODESEEDSign in
Explore projects
Rustbeginnerdevops

Config File Linter

Linter for configuration files (TOML, YAML, JSON, .env) with custom rules, formatted output, and an exit code for CI/CD pipelines.

5 steps

Project steps

  1. 01

    Multi-format parsing

    Detects extension and parses with serde_json / serde_yaml / toml.

  2. 02

    Built-in rules

    Rules: duplicate keys, empty values, overly long strings, invalid characters.

  3. 03

    Custom rules

    .lintrc.toml file with user-defined rules: required_keys, forbidden_keys, max_depth.

  4. 04

    Colored output

    Errors with exact path, line, column, and severity (ERROR/WARN/INFO).

  5. 05

    CI mode

    Flag --ci: exit 1 on any error, JSON output for automatic parsing.

Recommended resources

Ready to build this?

Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.

5 steps

Tech stack

Rustclaptomlserde_yamlserde_jsoncolored