mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
Edit scss-lint to prevent false positive warnings
This commit is contained in:
committed by
Francis Lachapelle
parent
5224a7b304
commit
f6cb8f226a
@@ -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]*)?$'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user