-
-
Save solon/b4bb80e895a8a69936cc to your computer and use it in GitHub Desktop.
My default SCSS-Lint config, see http://davidtheclark.com/scss-lint-styleguide/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For SCSS-Lint v0.31.0 | |
linters: | |
BangFormat: | |
enabled: true | |
space_before_bang: true | |
space_after_bang: false | |
BorderZero: | |
enabled: true | |
ColorKeyword: | |
enabled: true | |
Comment: | |
enabled: false | |
DebugStatement: | |
enabled: true | |
DeclarationOrder: | |
enabled: true | |
DuplicateProperty: | |
enabled: true | |
ElsePlacement: | |
enabled: true | |
style: same_line | |
EmptyLineBetweenBlocks: | |
enabled: true | |
ignore_single_line_blocks: false | |
EmptyRule: | |
enabled: true | |
FinalNewline: | |
enabled: true | |
present: true | |
HexLength: | |
enabled: true | |
style: short | |
HexNotation: | |
enabled: true | |
style: lowercase | |
HexValidation: | |
enabled: true | |
IdSelector: | |
enabled: true | |
ImportPath: | |
enabled: true | |
leading_underscore: false | |
filename_extension: false | |
Indentation: | |
enabled: true | |
character: space | |
width: 2 | |
LeadingZero: | |
enabled: true | |
style: include_zero | |
MergeableSelector: | |
enabled: false | |
NameFormat: | |
enabled: true | |
convention: hyphenated_lowercase | |
NestingDepth: | |
enabled: true | |
max_depth: 3 | |
PlaceholderInExtend: | |
enabled: true | |
PropertySortOrder: | |
enabled: false | |
PropertySpelling: | |
enabled: true | |
extra_properties: [] | |
QualifyingElement: | |
enabled: true | |
allow_element_with_attribute: false | |
allow_element_with_class: false | |
allow_element_with_id: false | |
SelectorDepth: | |
enabled: true | |
max_depth: 3 | |
SelectorFormat: | |
enabled: true | |
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]*)?$' | |
Shorthand: | |
enabled: true | |
SingleLinePerProperty: | |
enabled: true | |
allow_single_line_rule_sets: false | |
SingleLinePerSelector: | |
enabled: true | |
SpaceAfterComma: | |
enabled: true | |
SpaceAfterPropertyColon: | |
enabled: true | |
style: one_space | |
SpaceAfterPropertyName: | |
enabled: true | |
SpaceBeforeBrace: | |
enabled: true | |
style: space | |
allow_single_line_padding: true | |
SpaceBetweenParens: | |
enabled: true | |
spaces: 0 | |
StringQuotes: | |
enabled: true | |
style: single_quotes | |
TrailingSemicolon: | |
enabled: true | |
TrailingZero: | |
enabled: true | |
UnnecessaryMantissa: | |
enabled: true | |
UnnecessaryParentReference: | |
enabled: false | |
UrlFormat: | |
enabled: false | |
UrlQuotes: | |
enabled: true | |
VendorPrefixes: | |
enabled: true | |
identifier_list: base | |
include: [] | |
exclude: [] | |
ZeroUnit: | |
enabled: true | |
Compass::*: | |
enabled: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment