SCSS Lint configuration

SCSS Lint requires configuration via a .scss-lint.yml file as detailed in SCSS Lint's documentation.

If you don't specify your custom configuration file we use our default below. We suggest to add your own configuration file into your repository root directory to be able to specify your coding and quality standards.

.scss-lint.yml

linters:
  Indentation:
    enabled: true
    character: space
    width: 2

  DeclarationOrder:
    enabled: false

  Comment:
    enabled: true
    allowed: '/*doc'

  VendorPrefix:
    enabled: false

  PlaceholderInExtend:
    enabled: false

  NestingDepth:
    max_depth: 4
    ignore_parent_selectors: true

exclude:
  - '**/*.css'