2i2c-org / unnamed-thingity-thing

https://2i2c.org/unnamed-thingity-thing/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Use `djlint` to pre-commit our django templates #27

Closed yuvipanda closed 1 week ago

yuvipanda commented 3 weeks ago

Currently they are being linted and autoformatted as HTML, leading to errors like this:

image

Instead, djlint should be used for all files inside the templates directory: https://www.djlint.com/docs/integrations/

- [ ] Update  `.pre-commit-config.yaml` to run the `djlint` hook on all the files in the templates directory
- [ ] Validate that it works

Definition of Done

GeorgianaElena commented 3 weeks ago

Refined