mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 01:22:07 +01:00
57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
|
ignoreFiles:
|
||
|
- node_modules
|
||
|
plugins:
|
||
|
- stylelint-scss
|
||
|
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
|
||
|
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
|
||
|
function-comma-space-after: always
|
||
|
function-parentheses-space-inside: never
|
||
|
function-url-quotes: always
|
||
|
indentation:
|
||
|
- 4
|
||
|
- severity: warning
|
||
|
length-zero-no-unit: true
|
||
|
max-nesting-depth: 5
|
||
|
no-eol-whitespace: true
|
||
|
no-missing-end-of-source-newline: true
|
||
|
number-no-trailing-zeros: true
|
||
|
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
|
||
|
string-quotes: single
|