options: formatter: stylish files: include: '**/*.s+(a|c)ss' rules: # available rules docs: https://github.com/sasstools/sass-lint/tree/develop/docs/rules # Extends extends-before-mixins: 2 extends-before-declarations: 2 placeholder-in-extend: 0 # Mixins mixins-before-declarations: - 2 - exclude: - media # Line Spacing one-declaration-per-line: 2 empty-line-between-blocks: 2 single-line-per-selector: 0 # Disallows no-color-keywords: 2 no-color-literals: - 2 - allow-rgba: true no-css-comments: 2 no-debug: 1 no-duplicate-properties: 2 no-empty-rulesets: 1 no-extends: 0 no-ids: 0 no-important: 1 no-invalid-hex: 2 no-mergeable-selectors: 0 no-misspelled-properties: 1 # https://github.com/sasstools/sass-lint/issues/352 no-qualifying-elements: 0 no-trailing-zero: 1 no-transition-all: 1 no-url-protocols: 1 no-vendor-prefixes: 1 no-warn: 1 property-units: 0 # Nesting force-attribute-nesting: 0 force-element-nesting: 0 force-pseudo-nesting: 0 # Name Formats class-name-format: 2 function-name-format: 2 id-name-format: 0 mixin-name-format: 2 placeholder-name-format: 2 variable-name-format: 2 # Style Guide bem-depth: 0 border-zero: 1 brace-style: 2 clean-import-paths: 2 empty-args: 1 hex-length: 1 hex-notation: 1 indentation: - 2 - size: 4 leading-zero: 1 nesting-depth: - 1 - max-depth: 5 property-sort-order: 0 quotes: 1 shorthand-values: 1 url-quotes: 1 variable-for-property: 0 zero-unit: 1 # Inner Spacing space-after-comma: 1 space-before-colon: 1 space-after-colon: 1 space-before-brace: 1 space-before-bang: 1 space-after-bang: 1 space-between-parens: 1 space-around-operator: 1 # Final Items trailing-semicolon: 2 final-newline: 12