Skip to content

Commit

Permalink
less support?
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurens De Graeve committed Oct 6, 2020
1 parent 3d9d576 commit 23fc225
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
entry: stylelint
language: node
files: \.(css|scss|sass|less)$

# Use additional_dependencies to install the actual node package
minimum_pre_commit_version: 2.0.0
additional_dependencies:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
2 changes: 1 addition & 1 deletion hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
language: node
files: \.(css|scss|sass|less)$

minimum_pre_commit_version: 0.7.0
minimum_pre_commit_version: 2.0.0
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"name": "pre-commit-stylelint",
"description": "Note: double curly-braces because python .format",
"version": "0.2.1"
"description": "Stylelint pre-commit hook for LESS",
"version": "0.2.1",
"repository": "https://github.com/laurens-dg/pre-commit-stylelint",
"dependencies": {
"stylelint": "13.7.2",
"stylelint-config-prettier": "8.0.2",
"@modyqyw/stylelint-config": "1.0.0"
}
}

0 comments on commit 23fc225

Please sign in to comment.