Skip to content

Commit b8ad975

Browse files
committed
Add sass/css linter to pre-commit
1 parent dadc35f commit b8ad975

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.pre-commit-config.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,14 @@ repos:
5252
rev: "0.5.0"
5353
hooks:
5454
- id: nbstripout
55+
56+
- repo: https://github.com/thibaudcolas/pre-commit-stylelint
57+
rev: v16.3.1
58+
hooks:
59+
- id: stylelint
60+
# automatically fix .scss files
61+
args: [--fix]
62+
additional_dependencies:
63+
# stylelint itself needs to be here when using additional_dependencies.
64+
65+

0 commit comments

Comments
 (0)