2017-08-18 02:28:38 +02:00
|
|
|
ignoreFiles:
|
|
|
|
- node_modules
|
2018-02-10 00:39:44 +01:00
|
|
|
- build/**/*
|
2017-08-18 02:28:38 +02:00
|
|
|
plugins:
|
|
|
|
- stylelint-scss
|
2017-08-26 00:04:10 +02:00
|
|
|
# See https://github.com/stylelint/stylelint/blob/master/docs/user-guide/rules.md
|
2017-08-18 02:28:38 +02:00
|
|
|
rules:
|
|
|
|
block-closing-brace-newline-after:
|
|
|
|
- always
|
|
|
|
- ignoreAtRules:
|
|
|
|
# Ignore @if … @else in SCSS.
|
|
|
|
- if
|
|
|
|
- else
|
|
|
|
block-no-empty: true
|
|
|
|
block-opening-brace-space-before: always
|
|
|
|
color-hex-case: lower
|
|
|
|
color-hex-length: short
|
|
|
|
color-named: never
|
|
|
|
color-no-invalid-hex: true
|
2017-08-26 00:04:10 +02:00
|
|
|
comment-no-empty: true
|
2017-08-18 02:28:38 +02:00
|
|
|
declaration-bang-space-after: never
|
|
|
|
declaration-bang-space-before: always
|
|
|
|
declaration-block-no-duplicate-properties: true
|
|
|
|
declaration-block-no-redundant-longhand-properties: true
|
|
|
|
declaration-block-single-line-max-declarations: 1
|
|
|
|
declaration-block-trailing-semicolon: always
|
|
|
|
declaration-colon-space-after: always
|
|
|
|
declaration-colon-space-before: never
|
|
|
|
declaration-property-value-blacklist:
|
|
|
|
- /^border/: [none]
|
|
|
|
- severity: error
|
2017-08-26 00:04:10 +02:00
|
|
|
declaration-no-important: true
|
|
|
|
font-family-no-duplicate-names: true
|
|
|
|
function-calc-no-unspaced-operator: true
|
2017-08-18 02:28:38 +02:00
|
|
|
function-comma-space-after: always
|
2017-08-26 00:04:10 +02:00
|
|
|
function-linear-gradient-no-nonstandard-direction: true
|
2017-08-18 02:28:38 +02:00
|
|
|
function-parentheses-space-inside: never
|
|
|
|
function-url-quotes: always
|
|
|
|
indentation:
|
|
|
|
- 4
|
|
|
|
- severity: warning
|
|
|
|
length-zero-no-unit: true
|
2017-08-26 00:04:10 +02:00
|
|
|
max-nesting-depth: 3
|
|
|
|
media-feature-name-no-unknown: true
|
|
|
|
no-empty-source: true
|
2017-08-18 02:28:38 +02:00
|
|
|
no-eol-whitespace: true
|
2017-08-26 00:04:10 +02:00
|
|
|
no-extra-semicolons: true
|
2017-08-18 02:28:38 +02:00
|
|
|
no-missing-end-of-source-newline: true
|
|
|
|
number-no-trailing-zeros: true
|
2017-08-26 00:04:10 +02:00
|
|
|
number-leading-zero: always
|
|
|
|
property-case: lower
|
|
|
|
property-no-unknown: true
|
2017-08-18 02:28:38 +02:00
|
|
|
rule-empty-line-before:
|
|
|
|
- always
|
|
|
|
- except:
|
|
|
|
- after-single-line-comment
|
|
|
|
- first-nested
|
|
|
|
scss/at-import-no-partial-leading-underscore: true
|
|
|
|
scss/at-import-partial-extension-blacklist:
|
|
|
|
- scss
|
|
|
|
scss/at-else-empty-line-before: never
|
|
|
|
selector-no-qualifying-type:
|
|
|
|
- true
|
|
|
|
- ignore:
|
|
|
|
- attribute
|
|
|
|
- class
|
|
|
|
selector-list-comma-newline-after: always
|
|
|
|
selector-max-id: 0
|
2017-08-26 00:04:10 +02:00
|
|
|
selector-pseudo-element-no-unknown: true
|
|
|
|
selector-type-no-unknown: true
|
|
|
|
scss/at-rule-no-unknown: true
|
|
|
|
scss/media-feature-value-dollar-variable: always
|
|
|
|
scss/selector-no-redundant-nesting-selector: true
|
|
|
|
string-no-newline: true
|
2017-08-18 02:28:38 +02:00
|
|
|
string-quotes: single
|
2017-08-26 00:04:10 +02:00
|
|
|
unit-no-unknown: true
|
|
|
|
unit-case: lower
|
|
|
|
value-no-vendor-prefix: true
|
|
|
|
property-no-vendor-prefix: true
|