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

switch to prettier for tailwind class sorting #614

Merged
merged 5 commits into from Mar 16, 2023
Merged

Conversation

itsMapleLeaf
Copy link
Contributor

An upcoming PR will include some @apply in .css files, switching to prettier will allow sorting those as well

Also fixes lint script order so that prettier runs last, which removes the semicolons added by the import organizer

Disables tailwind class sorting in eslint in favor of prettier. This enables and enforces class sorting outside of JS and Astro files
ensures that prettier runs last; the import organizer was adding semicolons

also lints for prettier formatting
@netlify
Copy link

netlify bot commented Mar 16, 2023

Deploy Preview for astro-www-2 ready!

Name Link
🔨 Latest commit c21a1a9
🔍 Latest deploy log https://app.netlify.com/sites/astro-www-2/deploys/64138569ad7f45000808f022
😎 Deploy Preview https://deploy-preview-614--astro-www-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@tony-sull tony-sull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much prettier

@itsMapleLeaf itsMapleLeaf merged commit 8cb0684 into main Mar 16, 2023
6 checks passed
@itsMapleLeaf itsMapleLeaf deleted the prettier-tailwind branch March 16, 2023 21:10
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.

None yet

2 participants