Updating stylelint from v13 to v14 and fixing linting issues WIP #14743
+1,538
−1,884
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.
Explanation
Currently we are using
stylelint
13.6
. This PR updates stylelint to14.6.3
by following the Migrating to 14.0.0 guide. It also updates a fair amount of css linting issues that are flagged by v14Some issues with this PR that should be resolved before it can be reviewed
gulp-stylelint
which we are using(not sure for what) does not supportv14
this PR is currently using a workaround Upgrade to newer version of stylelint olegskl/gulp-stylelint#132 (comment) is this a security issue and if so how do we make so it's not?vscode stylelint plugin also mentions that styleint 13 is no longer supported.
Manual Testing Steps
Run
yarn lint: styles
Pre-Merge Checklist