Skip to main content

lintnet

General purpose linter for structured configuration data powered by Jsonnet

General purpose linter

lintnet is a general purpose linter that can be used for any kind of files. lintnet is a command line tool like Conftest. lintnet doesn't have any built-in lint rules, but you can define lint rules yourself freely. lintnet supports various file formats such as JSON, YAML, TOML, HCL, and so on.

Powered by Jsonnet

lintnet uses Jsonnet for configuration files and lint rules. Jsonnet is a well-known, simple, and powerful configuration language. Jsonnet is a superset of JSON, and can generate JSON dynamically. Jsonnet is easy to understand and the learning cost is low. Jsonnet is widely used, so you can utilize the knowledge and experience of Jsonnet in not only lintnet but also other projects.

Secure

Jsonnet restricts access to filesystem and network so it's secure compared with common programming languages such as Python

Shareable

lintnet supports sharing lint rules as Modules. You can utilize third party lint rules, reuse your lint rules in multiple projects, and distribute lint rules as OSS and in-house libraries