We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 541950a commit 4d6e9d0Copy full SHA for 4d6e9d0
.pre-commit-config.yaml
@@ -57,3 +57,14 @@ repos:
57
rev: v1.7.3
58
hooks:
59
- id: remove-metadata
60
+
61
+ - repo: https://github.com/thibaudcolas/pre-commit-stylelint
62
+ rev: v16.5.0
63
+ hooks:
64
+ - id: stylelint
65
+ # automatically fix .scss files where possible
66
+ args: [--fix]
67
+ additional_dependencies:
68
+ # stylelint itself needs to be here when using additional_dependencies.
69
+ - stylelint@16.5.0
70
+ - stylelint-config-standard-scss@13.1.0
.stylelintrc.json
@@ -0,0 +1,8 @@
1
+{
2
+ "extends": "stylelint-config-standard-scss",
3
+ "rules": {
4
+ "selector-class-pattern": null,
5
+ "no-descending-specificity": null,
6
+ "selector-id-pattern": null
7
+ }
8
+}
0 commit comments