Last active
August 29, 2015 14:25
-
-
Save zakmac/3762853a147e6cae240a to your computer and use it in GitHub Desktop.
SCSS linter settings
This file contains hidden or 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
# https://github.com/brigade/scss-lint/blob/master/lib/scss_lint/linter/README.md | |
# file includes | |
scss_files: 'app/styles/**/*.scss' | |
# linter settings | |
linters: | |
BangFormat: | |
space_before_bang: true | |
space_after_bang: false | |
# BemDepth: | |
BorderZero: | |
convention: none | |
ColorKeyword: | |
enabled: true | |
ColorVariable: | |
enabled: true | |
# Comment: | |
# DebugStatement: | |
DeclarationOrder: | |
enabled: true | |
# DisableLinterReason: | |
# DuplicateProperty: | |
ElsePlacement: | |
style: same_line | |
EmptyLineBetweenBlocks: | |
ignore_single_line_blocks: true | |
# EmptyRule: | |
# ExtendDirective: | |
FinalNewline: | |
present: true | |
HexLength: | |
style: long | |
HexNotation: | |
style: lowercase | |
HexValidation: | |
enabled: true | |
IdSelector: | |
enabled: true | |
ImportantRule: | |
enabled: true | |
ImportPath: | |
filename_extension: false | |
leading_underscore: false | |
Indentation: | |
width: 2 | |
LeadingZero: | |
severity: warning | |
style: include_zero | |
# MergeableSelector: | |
NameFormat: | |
allow_leading_underscore: false | |
convention: hyphenated_lowercase | |
NestingDepth: | |
max_depth: 3 | |
PlaceholderInExtend: | |
enabled: true | |
PropertyCount: | |
include_nested: true | |
max_properties: 10 | |
severtiy: warning | |
# @todo settle on alphabetical or other? | |
# PropertySortOrder: | |
# PropertySpelling: | |
# PropertyUnits: | |
QualifyingElement: | |
allow_element_with_attribute: false | |
allow_element_with_class: true | |
allow_element_with_id: false | |
SelectorDepth: | |
max_depth: 5 | |
# SelectorFormat: | |
Shorthand: | |
enabled: true | |
SingleLinePerProperty: | |
allow_single_line_rule_sets: false | |
SingleLinePerSelector: | |
enabled: true | |
SpaceAfterComma: | |
enabled: true | |
SpaceAfterPropertyColon: | |
style: at_least_one_space | |
SpaceAfterPropertyName: | |
enabled: true | |
SpaceAfterVariableName: | |
enabled: true | |
SpaceBeforeBrace: | |
allow_single_line_padding: true | |
style: space | |
# SpaceBetweenParens: | |
StringQuotes: | |
style: double_quotes | |
TrailingSemicolon: | |
enabled: true | |
TrailingWhitespace: | |
enabled: true | |
TrailingZero: | |
enabled: true | |
UnnecessaryMantissa: | |
enabled: true | |
UnnecessaryParentReference: | |
enabled: true | |
UrlFormat: | |
enabled: true | |
UrlQuotes: | |
enabled: true | |
# VariableForProperty: | |
# VendorPrefix: | |
ZeroUnit: | |
enabled: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment