mirror of https://github.com/istio/istio.io.git
99 lines
2.0 KiB
YAML
99 lines
2.0 KiB
YAML
#########################
|
|
## Config for sass-lint
|
|
#########################
|
|
# Linter Options
|
|
options:
|
|
# Don't merge default rules
|
|
merge-default-rules: false
|
|
# Raise an error if more than 50 warnings are generated
|
|
max-warnings: 500
|
|
# Rule Configuration
|
|
rules:
|
|
attribute-quotes:
|
|
- 2
|
|
-
|
|
include: false
|
|
bem-depth: 2
|
|
border-zero: 2
|
|
brace-style: 2
|
|
class-name-format: 2
|
|
clean-import-paths: 2
|
|
declarations-before-nesting: 2
|
|
empty-args: 2
|
|
empty-line-between-blocks: 2
|
|
extends-before-declarations: 2
|
|
extends-before-mixins: 2
|
|
final-newline: 2
|
|
force-attribute-nesting: 0
|
|
force-element-nesting: 0
|
|
force-pseudo-nesting: 0
|
|
function-name-format: 2
|
|
hex-length: 0
|
|
hex-notation: 2
|
|
id-name-format: 2
|
|
indentation:
|
|
- 2
|
|
-
|
|
size: 4
|
|
leading-zero:
|
|
- 2
|
|
-
|
|
include: false
|
|
max-file-line-count: 0
|
|
max-file-length: 0
|
|
mixins-before-declarations: 2
|
|
no-attribute-selectors: 0
|
|
no-color-hex: 0
|
|
no-color-keywords: 0
|
|
no-color-literals: 0
|
|
no-combinators: 0
|
|
no-css-comments: 2
|
|
no-debug: 2
|
|
no-disallowed-properties: 2
|
|
no-duplicate-properties: 2
|
|
no-empty-rulesets: 2
|
|
no-extends: 2
|
|
no-ids: 0
|
|
no-invalid-hex: 2
|
|
no-important: 0
|
|
no-mergeable-selectors: 2
|
|
no-misspelled-properties: 2
|
|
no-qualifying-elements: 0
|
|
no-trailing-whitespace: 2
|
|
no-trailing-zero: 2
|
|
no-transition-all: 0
|
|
no-url-domains: 2
|
|
no-url-protocols: 2
|
|
no-warn: 2
|
|
one-declaration-per-line: 2
|
|
placeholder-in-extend: 2
|
|
placeholder-name-format: 2
|
|
property-sort-order: 0
|
|
property-units: 2
|
|
pseudo-element: 2
|
|
quotes:
|
|
- 2
|
|
-
|
|
style: double
|
|
shorthand-values: 2
|
|
single-line-per-selector: 0
|
|
space-after-bang: 2
|
|
space-after-colon: 2
|
|
space-after-comma: 2
|
|
space-around-operator: 2
|
|
space-before-bang: 2
|
|
space-before-brace: 2
|
|
space-before-colon: 2
|
|
space-between-parens: 2
|
|
trailing-semicolon: 2
|
|
url-quotes: 2
|
|
variable-for-property:
|
|
- 0
|
|
-
|
|
properties:
|
|
- color
|
|
- background-color
|
|
- fill
|
|
variable-name-format: 0
|
|
zero-unit: 2
|