2020-02-16 10:16:26 +00:00
|
|
|
# Default application configuration that all configurations inherit from.
|
|
|
|
|
|
|
|
scss_files: '**/*.scss'
|
|
|
|
plugin_directories: ['.scss-linters']
|
|
|
|
|
|
|
|
# List of gem names to load custom linters from (make sure they are already
|
|
|
|
# installed)
|
|
|
|
plugin_gems: []
|
|
|
|
|
|
|
|
# Default severity of all linters.
|
|
|
|
severity: warning
|
|
|
|
|
2019-10-27 13:58:02 +00:00
|
|
|
linters:
|
2020-02-16 10:16:26 +00:00
|
|
|
BangFormat:
|
|
|
|
enabled: true
|
|
|
|
space_before_bang: true
|
|
|
|
space_after_bang: false
|
|
|
|
|
|
|
|
BemDepth:
|
|
|
|
enabled: false
|
|
|
|
max_elements: 1
|
|
|
|
|
|
|
|
BorderZero:
|
|
|
|
enabled: true
|
|
|
|
convention: zero # or `none`
|
|
|
|
|
|
|
|
ChainedClasses:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
ColorKeyword:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
ColorVariable:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
Comment:
|
|
|
|
enabled: true
|
|
|
|
style: silent
|
|
|
|
|
|
|
|
DebugStatement:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
DeclarationOrder:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
DisableLinterReason:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
DuplicateProperty:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
ElsePlacement:
|
|
|
|
enabled: true
|
2020-07-04 08:20:44 +00:00
|
|
|
style: new_line
|
2020-02-16 10:16:26 +00:00
|
|
|
|
|
|
|
EmptyLineBetweenBlocks:
|
|
|
|
enabled: true
|
|
|
|
ignore_single_line_blocks: true
|
|
|
|
|
|
|
|
EmptyRule:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
ExtendDirective:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
FinalNewline:
|
|
|
|
enabled: true
|
|
|
|
present: true
|
|
|
|
|
|
|
|
HexLength:
|
|
|
|
enabled: true
|
|
|
|
style: short # or 'long'
|
|
|
|
|
|
|
|
HexNotation:
|
|
|
|
enabled: true
|
|
|
|
style: lowercase # or 'uppercase'
|
|
|
|
|
|
|
|
HexValidation:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
IdSelector:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
ImportantRule:
|
2020-03-07 18:09:41 +00:00
|
|
|
enabled: false
|
2020-02-16 10:16:26 +00:00
|
|
|
|
|
|
|
ImportPath:
|
|
|
|
enabled: true
|
|
|
|
leading_underscore: false
|
|
|
|
filename_extension: false
|
|
|
|
|
|
|
|
Indentation:
|
|
|
|
enabled: true
|
|
|
|
allow_non_nested_indentation: false
|
|
|
|
character: space # or 'tab'
|
|
|
|
width: 2
|
|
|
|
|
2019-10-27 13:58:02 +00:00
|
|
|
LeadingZero:
|
|
|
|
enabled: false
|
2019-10-29 07:20:54 +00:00
|
|
|
|
2020-02-16 10:16:26 +00:00
|
|
|
MergeableSelector:
|
|
|
|
enabled: true
|
|
|
|
force_nesting: true
|
|
|
|
|
|
|
|
NameFormat:
|
|
|
|
enabled: true
|
|
|
|
allow_leading_underscore: true
|
|
|
|
convention: hyphenated_lowercase # or 'camel_case', or 'snake_case', or a regex pattern
|
|
|
|
|
|
|
|
NestingDepth:
|
|
|
|
enabled: true
|
|
|
|
max_depth: 6
|
|
|
|
ignore_parent_selectors: false
|
|
|
|
|
|
|
|
PlaceholderInExtend:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
PrivateNamingConvention:
|
|
|
|
enabled: false
|
|
|
|
prefix: _
|
|
|
|
|
|
|
|
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: []
|
|
|
|
disabled_properties: []
|
|
|
|
|
|
|
|
PropertyUnits:
|
|
|
|
enabled: true
|
|
|
|
global: [
|
|
|
|
'ch',
|
|
|
|
'em',
|
|
|
|
'ex',
|
|
|
|
'rem', # Font-relative lengths
|
|
|
|
'cm',
|
|
|
|
'in',
|
|
|
|
'mm',
|
|
|
|
'pc',
|
|
|
|
'pt',
|
|
|
|
'px',
|
|
|
|
'q', # Absolute lengths
|
|
|
|
'vh',
|
|
|
|
'vw',
|
|
|
|
'vmin',
|
|
|
|
'vmax', # Viewport-percentage lengths
|
|
|
|
'fr', # Grid fractional lengths
|
|
|
|
'deg',
|
|
|
|
'grad',
|
|
|
|
'rad',
|
|
|
|
'turn', # Angle
|
|
|
|
'ms',
|
|
|
|
's', # Duration
|
|
|
|
'Hz',
|
|
|
|
'kHz', # Frequency
|
|
|
|
'dpi',
|
|
|
|
'dpcm',
|
|
|
|
'dppx', # Resolution
|
|
|
|
'%',
|
|
|
|
] # Other
|
|
|
|
properties: {}
|
|
|
|
|
|
|
|
PseudoElement:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
QualifyingElement:
|
|
|
|
enabled: true
|
|
|
|
allow_element_with_attribute: false
|
|
|
|
allow_element_with_class: false
|
|
|
|
allow_element_with_id: false
|
2020-05-24 17:14:26 +00:00
|
|
|
exclude:
|
|
|
|
- 'app/assets/stylesheets/administrate/components/_buttons.scss'
|
2020-02-16 10:16:26 +00:00
|
|
|
|
|
|
|
SelectorDepth:
|
|
|
|
enabled: true
|
|
|
|
max_depth: 5
|
|
|
|
|
|
|
|
SelectorFormat:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
Shorthand:
|
|
|
|
enabled: true
|
|
|
|
allowed_shorthands: [1, 2, 3, 4]
|
|
|
|
|
|
|
|
SingleLinePerProperty:
|
|
|
|
enabled: true
|
|
|
|
allow_single_line_rule_sets: true
|
|
|
|
|
|
|
|
SingleLinePerSelector:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
SpaceAfterComma:
|
|
|
|
enabled: true
|
|
|
|
style: one_space # or 'no_space', or 'at_least_one_space'
|
|
|
|
|
|
|
|
SpaceAfterComment:
|
|
|
|
enabled: false
|
|
|
|
style: one_space # or 'no_space', or 'at_least_one_space'
|
|
|
|
allow_empty_comments: true
|
|
|
|
|
|
|
|
SpaceAfterPropertyColon:
|
|
|
|
enabled: true
|
|
|
|
style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned'
|
|
|
|
|
|
|
|
SpaceAfterPropertyName:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
SpaceAfterVariableColon:
|
|
|
|
enabled: false
|
|
|
|
style: one_space # or 'no_space', 'at_least_one_space' or 'one_space_or_newline'
|
|
|
|
|
|
|
|
SpaceAfterVariableName:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
SpaceAroundOperator:
|
|
|
|
enabled: true
|
|
|
|
style: one_space # or 'at_least_one_space', or 'no_space'
|
|
|
|
|
|
|
|
SpaceBeforeBrace:
|
|
|
|
enabled: true
|
|
|
|
style: space # or 'new_line'
|
|
|
|
allow_single_line_padding: false
|
|
|
|
|
|
|
|
SpaceBetweenParens:
|
|
|
|
enabled: true
|
|
|
|
spaces: 0
|
|
|
|
|
|
|
|
StringQuotes:
|
|
|
|
enabled: true
|
|
|
|
style: single_quotes # or double_quotes
|
|
|
|
|
|
|
|
TrailingSemicolon:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
TrailingWhitespace:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
TrailingZero:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
TransitionAll:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
UnnecessaryMantissa:
|
2020-02-19 05:00:34 +00:00
|
|
|
enabled: false
|
2020-02-16 10:16:26 +00:00
|
|
|
|
|
|
|
UnnecessaryParentReference:
|
2020-04-19 18:10:28 +00:00
|
|
|
enabled: false
|
2020-02-16 10:16:26 +00:00
|
|
|
|
|
|
|
UrlFormat:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
UrlQuotes:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
VariableForProperty:
|
|
|
|
enabled: false
|
|
|
|
properties: []
|
|
|
|
|
|
|
|
VendorPrefix:
|
|
|
|
enabled: true
|
|
|
|
identifier_list: base
|
|
|
|
additional_identifiers: []
|
|
|
|
excluded_identifiers: []
|
|
|
|
|
|
|
|
ZeroUnit:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
Compass::*:
|
|
|
|
enabled: false
|
|
|
|
|
2019-10-29 07:20:54 +00:00
|
|
|
exclude:
|
|
|
|
- 'app/javascript/widget/assets/scss/_reset.scss'
|
|
|
|
- 'app/javascript/widget/assets/scss/sdk.css'
|
2020-05-24 17:14:26 +00:00
|
|
|
- 'app/assets/stylesheets/administrate/reset/_normalize.scss'
|