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

Update linting to use Stylelint v15 and Prettier #88

Merged
merged 5 commits into from
Dec 9, 2023
Merged

Conversation

paulrobertlloyd
Copy link
Contributor

  • stylelint-config-gds has been updated to v1.0.0 to support Stylelint v15
  • Stylelint v15 deprecated its stylistic rules, and recommends using Prettier to format (S)CSS

This PR updates Stylelint dependencies, and adds Prettier to format all code, except JavaScript which is formatted using StandardJS. This is the same approach used by govuk-frontend (broadly speaking).

@paulrobertlloyd paulrobertlloyd merged commit 8f05e3f into main Dec 9, 2023
1 check passed
@paulrobertlloyd paulrobertlloyd deleted the linting branch December 9, 2023 22:17
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.

1 participant