123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- # Default application configuration that all configurations inherit from.
- # See config at https://github.com/brigade/scss-lint/blob/master/config/default.yml
- plugin_directories: ['.scss-linters']
- exclude:
- - 'src/themes/ionic.mixins.scss'
- - 'src/themes/license.scss'
- - 'src/themes/util.scss'
- - 'src/themes/version.scss'
- - 'src/platform/cordova.*.scss'
- linters:
- ColorVariable:
- enabled: false
- DefaultRule:
- enabled: true
- DuplicateProperty:
- enabled: false
- MergeableSelector:
- enabled: true
- force_nesting: false
- PropertySortOrder:
- enabled: true
- ignore_unspecified: false
- min_properties: 2
- separate_groups: true
- order:
- # Box
- - position
- - top
- - bottom
- - z-index
- - display
- - overflow
- - clear
- -
- - flex
- - flex-basis
- - flex-direction
- - flex-flow
- - flex-grow
- - flex-shrink
- - flex-wrap
- - align-content
- - align-items
- - align-self
- - justify-content
- - order
- -
- - width
- - min-width
- - max-width
- - height
- - min-height
- - max-height
- -
- - columns
- - column-gap
- - column-fill
- - column-rule
- - column-span
- - column-count
- - column-width
- # Border
- - border
- - border-top
- - border-right
- - border-bottom
- - border-left
- - border-width
- - border-top-width
- - border-right-width
- - border-bottom-width
- - border-left-width
- - border-style
- - border-top-style
- - border-right-style
- - border-bottom-style
- - border-left-style
- - border-color
- - border-top-color
- - border-right-color
- - border-bottom-color
- - border-left-color
- - outline
- - outline-color
- - outline-offset
- - outline-style
- - outline-width
- # Text
- - font
- - font-family
- - font-size
- - font-smoothing
- - font-style
- - font-variant
- - font-weight
- - letter-spacing
- - line-height
- - list-style
- - text-decoration
- - text-indent
- - text-overflow
- - text-rendering
- - text-shadow
- - text-transform
- - text-wrap
- - white-space
- - word-spacing
- - color
- # Background
- - background
- - background-attachment
- - background-color
- - background-image
- - background-repeat
- - background-size
- # Other
- - border-collapse
- - border-spacing
- - box-shadow
- - caption-side
- - content
- - cursor
- - empty-cells
- - opacity
- - quotes
- - speak
- - table-layout
- - vertical-align
- - visibility
- # Transforms
- - transform
- - transform-box
- - transform-style
- - transition
- - transition-delay
- - transition-duration
- - transition-property
- - transition-timing-function
- # This doesn't allow chaining between elements and attributes, ids or classes
- # if we turn this on it breaks a lot of components
- QualifyingElement:
- enabled: false
- allow_element_with_attribute: false
- allow_element_with_class: false
- allow_element_with_id: false
- SelectorFormat:
- enabled: false
- convention: hyphenated_lowercase # or 'strict_BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern
- StringQuotes:
- enabled: true
- style: double_quotes
- SelectorDepth:
- enabled: true
- max_depth: 5
- PropertySpelling:
- extra_properties:
- - contain
- disabled_properties:
- - background-position
- - direction
- - right
- - left
- - float
- - padding
- - padding-left
- - padding-right
- - padding-top
- - padding-bottom
- - margin
- - margin-left
- - margin-right
- - margin-top
- - margin-bottom
- - border-radius
- - border-top-left-radius
- - border-top-right-radius
- - border-bottom-right-radius
- - border-bottom-left-radius
- - text-align
- - transform-origin
|