chore(tooling): upgrade stylelint 15 #3304
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
UPDATE
Unified
stylelint-less
has been released stylelint-less/stylelint-less#10 (comment). This PR can be continued.PENDING
Pending on issue stylelint/stylelint#7096According to Stylelint members, the recommended practice of using Stylelint with Less is to use Less-specific standard config like
stylelint-config-standard-less
. I tried using it but it seemed broken, throwing syntax error errors. It looks like its dependenciesstylelint-config-recommended-less
andstylelint-less
are not ready to work with Stylelint 15 yet.However, the package and its dependencies are right in the process of transforming from separate repos maintained by different owners to a monorepo held by a community org (see stylelint-less/stylelint-config-standard-less#1 and ssivanatarajan/stylelint-less#15), so things are getting better just around these days. I'm keeping an eye on it.