Skip to main content

Integrations

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: https://github.com/thibaudcolas/curlylint
rev: "" # select a tag / sha to point at
hooks:
- id: curlylint

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

Note: by default this configuration will match .html, .jinja, and .twig files. If you want to override this, you will need to use the files setting. For example:

- id: curlylint
files: \.(html|sls)$