Edit scss-lint to prevent false positive warnings

This commit is contained in:
Benoit Favreault
2015-03-29 23:22:12 -04:00
committed by Francis Lachapelle
parent 5224a7b304
commit f6cb8f226a
+7 -3
View File
@@ -75,8 +75,10 @@ linters:
force_nesting: false
NameFormat:
enabled: true
convention: hyphenated_lowercase
# it actualy look-up for variable names and give false negative
# todo: refactor linter
enabled: false
convention: BEM
allow_leading_underscore: true
NestingDepth:
@@ -106,7 +108,9 @@ linters:
max_depth: 3
SelectorFormat:
enabled: true
# give false negative
# todo: refactor linter
enabled: flase
convention: hyphenated_lowercase
class_convention: '^(?:u|is|has)\-[a-z][a-zA-Z0-9]*$|^(?!u|is|has)[a-zA-Z][a-zA-Z0-9]*(?:\-[a-z][a-zA-Z0-9]*)?(?:\-\-[a-z][a-zA-Z0-9]*)?$'