Editor integration

We would love to have Curlylint directly integrate with IDEs – but it’s not there yet.

Usage with pre-commit git hooks framework

Add to your .pre-commit-config.yaml:

- repo:
rev: "" # select a tag / sha to point at
- id: curlylint

Make sure to fill in the rev with a valid revision.

Note: by default this configuration will only match .jinja and .jinja2 files. To match by regex pattern instead, override types and files as follows:

- id: curlylint
types: [file] # restore the default `types` matching
files: \.(html|sls)$