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

Add stylelint config and lint all scss files #1114

Merged
merged 4 commits into from
Jan 27, 2025
Merged

Add stylelint config and lint all scss files #1114

merged 4 commits into from
Jan 27, 2025

Conversation

chrispymm
Copy link
Contributor

This PR adds stylelint and configures it to GDS conventions

All scss files have been linted and fixed, except where a fix would affect specificity. In those instances, the stylelint rule has been diasbled.

A future task will be to go through the stylelint-disable comments and see if they can be resolved without breaking the component.

@chrispymm chrispymm requested a review from a team as a code owner January 23, 2025 23:58
Ideally we want to follow the no important rule, so we want it enabled
for all new css. But as correcting the existing instances will require
some work to resolve, we will simply disable the rule for each use.
@chrispymm chrispymm merged commit 41825fc into main Jan 27, 2025
22 checks passed
@chrispymm chrispymm deleted the add-stylelint branch January 27, 2025 10:35
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