Skip to content

Commit

Permalink
dx: add lessc pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Sep 19, 2024
1 parent 39bcee3 commit e60da43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ repos:
- [email protected]
- [email protected]
files: \.js$
- repo: https://github.com/OctoPrint/pre-commit-lessc
rev: 4.2.0
hooks:
- id: lessc
args: ["--wrapper-quiet", "--clean-css=--s1 --advanced --compatibility=ie8"]
additional_dependencies: ["less-plugin-clean-css"]
files: \.less$
2 changes: 1 addition & 1 deletion octoprint_firmware_check/static/css/firmware_check.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e60da43

Please sign in to comment.