mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-18 03:27:02 -05:00
19f469db48
These warnings were annoying me because the noise makes it easy to miss real issues. The `no-mergeable-selectors` rule is one that we do want to have, but right now it asks that you merge selectors in different `@media` blocks. When the next release happens we should put that back. https://github.com/sasstools/sass-lint/issues/307 Similarly, we want `force-element-nesting` but there is a problem with that because there's no easy way to have a nested selector in a list of selectors. https://github.com/sasstools/sass-lint/issues/575 Finally, until they implement per-line overrides, we have to silence `class-name-format` because we don't have control over the ReactModal class names. It's a useful rule to keep class names consistent though. Per-line ignores should be coming soon: https://github.com/sasstools/sass-lint/issues/70
33 lines
528 B
YAML
33 lines
528 B
YAML
rules:
|
|
class-name-format: 0
|
|
color-literals: 2
|
|
final-newline: 2
|
|
force-element-nesting: 0
|
|
hex-notation: 2
|
|
indentation:
|
|
- 2
|
|
-
|
|
size: 4
|
|
leading-zero: 2
|
|
nesting-depth:
|
|
- 1
|
|
-
|
|
max-depth: 4
|
|
no-css-comments: 0
|
|
no-ids: 0
|
|
no-mergeable-selectors: 0
|
|
no-qualifying-elements:
|
|
- 1
|
|
-
|
|
- allow-element-with-attribute
|
|
no-transition-all: 0
|
|
property-sort-order:
|
|
- 2
|
|
-
|
|
order: concentric
|
|
quotes:
|
|
- 2
|
|
-
|
|
style: double
|
|
shorthand-values: 0
|
|
zero-unit: 2
|