Open timdujardin opened 4 years ago
disable color-named, always use colors as hex notation or rgba, hsl...
Enable font-weight-notation: 'numeric'
?
I would recommend using the numbers instead of the labels/names.
comment-empty-line-before to "always" except: "first-nested"
comment-whitespace-inside to always
function-url-quotes to always
Enable no-unknown-animations
?
This to ensure that animations are setup correctly.
Add unit-blacklist: ['px']
?
To prevent using px
values instead of em
or rem
.
We could make some exceptions though, for borders of 1px for example.
Add selector-pseudo-element-colon-notation: 'double'
:
To prevent using f.e. &:before
instead of &::before
.
Add shorthand-property-no-redundant-values: true
:
To prevent using margin: 1rem 1rem 1rem 1rem
instead of margin: 1rem
.
Ok, added:
To discuss:
Still to implement:
Disable
no-descending-specificity
rule: I would request to disable this rule, since it reduces readability.