Permalink
Browse files

Relax Scss lint config

Allow both hyphens and underscores in selector, placeholder and mixin names.
  • Loading branch information...
1 parent 37fcd3d commit 23ac38fbe0cd7faca8299c71de5223e959912b95 @tf tf committed Dec 22, 2015
Showing with 5 additions and 1 deletion.
  1. +5 −1 .scss-lint.yml
View
@@ -62,6 +62,8 @@ linters:
enabled: true
allow_leading_underscore: true
convention: hyphenated_lowercase
+ placeholder_convention: "^[-a-z_]+$"
+ mixin_convention: "^[-a-z_]+$"
NestingDepth:
enabled: true
max_depth: 4
@@ -80,6 +82,8 @@ linters:
PropertySpelling:
enabled: true
extra_properties: []
+ PseudoElement:
+ enabled: false
QualifyingElement:
enabled: false
allow_element_with_attribute: false
@@ -92,7 +96,7 @@ linters:
severity: warning
SelectorFormat:
enabled: true
- convention: snake_case
+ convention: "^[-a-z0-9_]+$"
Shorthand:
enabled: false
severity: warning

0 comments on commit 23ac38f

Please sign in to comment.