Permalink
Browse files

Update SCSS-Lint to 0.43

  • Loading branch information...
1 parent 065d9c7 commit 6bb39e3b364f5a6ddd70d026bb62dcd1877f3dec @tysongach tysongach committed with tysongach Jan 16, 2016
Showing with 113 additions and 21 deletions.
  1. +112 −20 .scss-lint.yml
  2. +1 −1 neat.gemspec
View
@@ -1,141 +1,233 @@
-scss_files: "app/assets/stylesheets/**/*.scss"
+scss_files: "**/*.scss"
+
linters:
BangFormat:
enabled: true
space_before_bang: true
space_after_bang: false
- BorderZero:
+
+ BemDepth:
enabled: false
+
+ BorderZero:
+ enabled: true
convention: zero
+
+ ChainedClasses:
+ enabled: false
+
ColorKeyword:
enabled: true
- severity: warning
+
ColorVariable:
enabled: false
+
Comment:
enabled: true
+ style: silent
+
DebugStatement:
enabled: true
+
DeclarationOrder:
enabled: true
+
+ DisableLinterReason:
+ enabled: false
+
DuplicateProperty:
enabled: true
+
ElsePlacement:
enabled: true
style: same_line
+
EmptyLineBetweenBlocks:
enabled: true
ignore_single_line_blocks: true
+
EmptyRule:
enabled: true
+
+ ExtendDirective:
+ enabled: false
+
FinalNewline:
enabled: true
present: true
+
HexLength:
- enabled: false
+ enabled: true
style: short
+
HexNotation:
enabled: true
style: lowercase
+
HexValidation:
enabled: true
+
IdSelector:
enabled: true
+
ImportantRule:
enabled: true
+
ImportPath:
enabled: true
leading_underscore: false
filename_extension: false
+
Indentation:
enabled: true
allow_non_nested_indentation: false
character: space
width: 2
+
LeadingZero:
enabled: true
style: include_zero
+
MergeableSelector:
enabled: true
force_nesting: true
+
NameFormat:
enabled: true
allow_leading_underscore: true
convention: hyphenated_lowercase
+
NestingDepth:
enabled: true
- max_depth: 4
- severity: warning
+ max_depth: 3
+ ignore_parent_selectors: false
+
PlaceholderInExtend:
- enabled: false
+ enabled: true
+
PropertyCount:
enabled: false
+
PropertySortOrder:
enabled: true
ignore_unspecified: false
- severity: warning
+ min_properties: 2
separate_groups: false
+
PropertySpelling:
enabled: true
extra_properties: []
+ disabled_properties: []
+
+ PropertyUnits:
+ enabled: true
+ global: [
+ 'ch', 'em', 'ex', 'rem',
+ 'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q',
+ 'vh', 'vw', 'vmin', 'vmax',
+ 'deg', 'grad', 'rad', 'turn',
+ 'ms', 's',
+ 'Hz', 'kHz',
+ 'dpi', 'dpcm', 'dppx',
+ '%']
+ properties:
+ line-height: []
+
+ PseudoElement:
+ enabled: true
+
QualifyingElement:
enabled: true
allow_element_with_attribute: false
allow_element_with_class: false
allow_element_with_id: false
- severity: warning
+
SelectorDepth:
enabled: true
max_depth: 2
- severity: warning
+
SelectorFormat:
- enabled: true
- convention: hyphenated_lowercase
+ enabled: false
+ convention: hyphenated_BEM
+
Shorthand:
enabled: true
- severity: warning
+ allowed_shorthands: [1, 2, 3]
+
SingleLinePerProperty:
enabled: true
allow_single_line_rule_sets: true
+
SingleLinePerSelector:
enabled: true
+
SpaceAfterComma:
enabled: true
+ style: one_space
+
SpaceAfterPropertyColon:
enabled: true
style: one_space
+
SpaceAfterPropertyName:
enabled: true
+
+ SpaceAfterVariableName:
+ enabled: true
+
+ SpaceAroundOperator:
+ enabled: true
+ style: one_space
+
SpaceBeforeBrace:
enabled: true
style: space
- allow_single_line_padding: false
+ allow_single_line_padding: true
+
SpaceBetweenParens:
enabled: true
spaces: 0
+
StringQuotes:
enabled: true
style: double_quotes
+
TrailingSemicolon:
enabled: true
+
+ TrailingWhitespace:
+ enabled: true
+
TrailingZero:
- enabled: false
+ enabled: true
+
+ TransitionAll:
+ enabled: true
+
UnnecessaryMantissa:
enabled: true
+
UnnecessaryParentReference:
enabled: true
+
UrlFormat:
enabled: true
+
UrlQuotes:
enabled: true
+
VariableForProperty:
enabled: false
properties: []
- VendorPrefixes:
+
+ VendorPrefix:
enabled: true
- identifier_list: bourbon
- include: []
- exclude: []
+ identifier_list: base
+ additional_identifiers: []
+ excluded_identifiers: []
+
ZeroUnit:
enabled: true
- severity: warning
+
+ Compass::*:
+ enabled: false
View
@@ -26,7 +26,7 @@ enough to use out of the box and flexible enough to customize down the road.
s.add_dependency('sass', '>= 3.3')
s.add_dependency('bourbon', '>= 4.0')
- s.add_development_dependency("scss_lint", "~> 0.40")
+ s.add_development_dependency("scss_lint", "~> 0.43")
s.add_development_dependency('aruba', '~> 0.5.0')
s.add_development_dependency('bundler')
s.add_development_dependency('css_parser')

0 comments on commit 6bb39e3

Please sign in to comment.