51 lines
872 B
YAML
51 lines
872 B
YAML
# Linter Options
|
|
options:
|
|
merge-default-rules: true
|
|
formatter: checkstyle
|
|
output-file: 'build/checkstyle.xml'
|
|
files:
|
|
include: 'src/sass/**/*.s+(a|c)ss'
|
|
ignore:
|
|
- 'src/sass/vendor/**/*.*'
|
|
# Rule Configuration
|
|
rules:
|
|
extends-before-mixins: 2
|
|
extends-before-declarations: 2
|
|
placeholder-in-extend: 2
|
|
leading-zero:
|
|
- 1
|
|
-
|
|
include: true
|
|
mixins-before-declarations:
|
|
- 2
|
|
-
|
|
exclude:
|
|
- breakpoint
|
|
- mq
|
|
border-zero:
|
|
- 2
|
|
-
|
|
convention: none
|
|
no-warn: 1
|
|
no-debug: 1
|
|
no-ids: 0
|
|
no-important: 2
|
|
hex-notation:
|
|
- 1
|
|
-
|
|
style: lowercase
|
|
indentation:
|
|
- 2
|
|
-
|
|
size: 2
|
|
no-qualifying-elements:
|
|
- 1
|
|
-
|
|
allow-element-with-attribute: true
|
|
allow-element-with-class: true
|
|
allow-element-with-id: true
|
|
no-transition-all:
|
|
- 2
|
|
-
|
|
include: false
|