Skip to content

Commit

Permalink
Add sass/css linter to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gabalafou committed Apr 10, 2024
1 parent dadc35f commit b8ad975
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,14 @@ repos:
rev: "0.5.0"
hooks:
- id: nbstripout

- repo: https://github.com/thibaudcolas/pre-commit-stylelint
rev: v16.3.1
hooks:
- id: stylelint
# automatically fix .scss files
args: [--fix]
additional_dependencies:
# stylelint itself needs to be here when using additional_dependencies.
- [email protected]
- [email protected]

0 comments on commit b8ad975

Please sign in to comment.