Skip to content

Instantly share code, notes, and snippets.

@gabskoro
Last active August 29, 2015 14:16
Show Gist options
  • Save gabskoro/44f508595fd6d8c85355 to your computer and use it in GitHub Desktop.
Save gabskoro/44f508595fd6d8c85355 to your computer and use it in GitHub Desktop.
# Default application configuration that all configurations inherit from.
linters:
BorderZero:
enabled: true
CapitalizationInSelector:
enabled: false
ColorKeyword:
enabled: true
Comment:
enabled: true
DebugStatement:
enabled: true
DeclarationOrder:
enabled: true
DuplicateProperty:
enabled: true
ElsePlacement:
enabled: true
style: same_line # or 'new_line'
EmptyLineBetweenBlocks:
enabled: true
ignore_single_line_blocks: true
EmptyRule:
enabled: true
FinalNewline:
enabled: true
present: true
HexLength:
enabled: true
style: long # 'short' or 'long'
HexNotation:
enabled: true
style: uppercase # 'lowercase' or 'uppercase'
HexValidation:
enabled: true
IdWithExtraneousSelector:
enabled: true
Indentation:
enabled: true
character: space # or 'tab'
width: 2
LeadingZero:
enabled: true
style: include_zero # exclude_zero or 'include_zero'
MergeableSelector:
enabled: true
force_nesting: true
# NameFormat:
# enabled: false
# convention: BEM # hyphenated_lowercase or 'BEM', or a regex pattern
PlaceholderInExtend:
enabled: true
PropertySortOrder:
enabled: false
ignore_unspecified: false
PropertySpelling:
enabled: true
extra_properties: []
SelectorDepth:
enabled: true
max_depth: 4
SelectorFormat:
enabled: false
convention: 'hyphenated_lowercase' # or 'hyphenated_lowercase', or 'snake_case', or 'camel_case', or a regex pattern
Shorthand:
enabled: true
SingleLinePerProperty:
enabled: true
allow_single_line_rule_sets: true
SingleLinePerSelector:
enabled: true
SpaceAfterComma:
enabled: true
SpaceAfterPropertyColon:
enabled: true
style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned'
SpaceAfterPropertyName:
enabled: true
SpaceBeforeBrace:
enabled: true
allow_single_line_padding: false
SpaceBetweenParens:
enabled: true
spaces: 0
StringQuotes:
enabled: true
style: single_quotes # or double_quotes
TrailingSemicolon:
enabled: true
UnnecessaryMantissa:
enabled: true
UnnecessaryParentReference:
enabled: true
UrlFormat:
enabled: true
UrlQuotes:
enabled: true
ZeroUnit:
enabled: true
Compass::*:
enabled: false
NestingDepth:
enabled: true
max_depth: 4 # for pseudo classes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment