You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is already an option, although admittedly ill-documented.
With pre-commit, you can set a number of options of each hook, including the entry option which contains the command to run. When you look at the default entry points of DjHTML you will see that these commands are djhtml -i, djcss -i and djjs -i. If you want to override that, place the following inside your .pre-commit-config.yaml:
repos:
- repo: https://github.com/rtts/djhtmlrev: v1.5.2hooks:
- id: djhtml# Use tabwidth 3 for HTML filesentry: djhtml -i -t 3
- id: djcss# Use tabwidth 5 for CSS filesentry: djcss -i -t 5
- id: djjs# Use tabwidth 7 for JS filesentry: djjs -i -t 7
Please provide an option to set the tabwidth for pre-commit usage.
Or even read the .editorconfig
The text was updated successfully, but these errors were encountered: