Update Stylelint
The depreciated rules have been moved to a dedicated plugin. We can now
update our Stylelint linter to the latest version.
Let's do so, as well as update related dependencies.
Other information
This was done in a separate PR because:
It involves breaking changes
It replaces a large part of the Stylelint installation
There's a few new rules that the updated Stylelint has added. I have disabled them for now, and we should discuss which ones to enable. Here's the list:
Part of #2151.
Proposed commit message
Other information
This was done in a separate PR because:
There's a few new rules that the updated Stylelint has added. I have disabled them for now, and we should discuss which ones to enable. Here's the list:
shorthand-property-no-redundant-values
declaration-empty-line-before
selector-class-pattern
color-function-notation
alpha-value-notation
comment-empty-line-before
property-no-vendor-prefix
selector-pseudo-element-colon-notation
at-rule-empty-line-before
font-family-name-quotes
color-hex-length
scss/at-import-no-partial-leading-underscore
scss/at-import-partial-extension
scss/load-no-partial-leading-underscore
scss/double-slash-comment-empty-line-before
scss/double-slash-comment-whitespace-inside
scss/dollar-variable-pattern