Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix style-lint breaking change in static #3124

Merged
merged 2 commits into from
Aug 14, 2023
Merged

Conversation

matthillco
Copy link
Contributor

@matthillco matthillco commented Aug 10, 2023

The dependabot automated dependency checker has recently reported style-lint errors in some SCSS across multiple repos, after the GDS stylelint module was updated from 0.3.0 to 1.0.0.

Some of these errors involve a change to how we should write pseudo element selectors: previously we've used single colons, eg element:before, now we need to use the double colon syntax: element::before.

This PR updates print styles in static to use the double colon syntax.

Trello

Required to prevent errors when linting single colon style pseudo
class selectors. These need to be changed to double colons.
@matthillco matthillco marked this pull request as ready for review August 10, 2023 15:21
@matthillco matthillco changed the title [WIP] Fix style-lint breaking change in static Fix style-lint breaking change in static Aug 10, 2023
@matthillco matthillco merged commit 6ca3008 into main Aug 14, 2023
@matthillco matthillco deleted the mh-fix-linter-errors branch August 14, 2023 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants