Skip to content

Commit e60da43

Browse files
committed
dx: add lessc pre-commit hook
1 parent 39bcee3 commit e60da43

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,10 @@ repos:
5050
5151
5252
files: \.js$
53+
- repo: https://github.com/OctoPrint/pre-commit-lessc
54+
rev: 4.2.0
55+
hooks:
56+
- id: lessc
57+
args: ["--wrapper-quiet", "--clean-css=--s1 --advanced --compatibility=ie8"]
58+
additional_dependencies: ["less-plugin-clean-css"]
59+
files: \.less$

octoprint_firmware_check/static/css/firmware_check.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)