config/default.yml in scss_lint-0.40.1 vs config/default.yml in scss_lint-0.41.0
- old
+ new
@@ -34,10 +34,13 @@
enabled: true
DeclarationOrder:
enabled: true
+ DisableLinterReason:
+ enabled: false
+
DuplicateProperty:
enabled: true
ElsePlacement:
enabled: true
@@ -109,10 +112,20 @@
PropertyCount:
enabled: false
include_nested: false
max_properties: 10
+ PropertySortOrder:
+ enabled: true
+ ignore_unspecified: false
+ min_properties: 2
+ separate_groups: false
+
+ PropertySpelling:
+ enabled: true
+ extra_properties: []
+
PropertyUnits:
enabled: true
global: [
'ch', 'em', 'ex', 'rem', # Font-relative lengths
'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths
@@ -122,20 +135,10 @@
'Hz', 'kHz', # Frequency
'dpi', 'dpcm', 'dppx', # Resolution
'%'] # Other
properties: {}
- PropertySortOrder:
- enabled: true
- ignore_unspecified: false
- min_properties: 2
- separate_groups: false
-
- PropertySpelling:
- enabled: true
- extra_properties: []
-
QualifyingElement:
enabled: true
allow_element_with_attribute: false
allow_element_with_class: false
allow_element_with_id: false
@@ -170,10 +173,14 @@
enabled: true
SpaceAfterVariableName:
enabled: true
+ SpaceAroundOperator:
+ enabled: true
+ style: one_space # or 'no_space'
+
SpaceBeforeBrace:
enabled: true
style: space # or 'new_line'
allow_single_line_padding: false
@@ -190,9 +197,12 @@
TrailingWhitespace:
enabled: true
TrailingZero:
+ enabled: false
+
+ TransitionAll:
enabled: false
UnnecessaryMantissa:
enabled: true