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

chore: Add prettier-plugin-tailwindcss #987

Merged
merged 4 commits into from
Jan 25, 2022

Conversation

leonardoelias
Copy link
Contributor

Config. prettier plugin tailwindcss

ref: https://tailwindcss.com/blog/automatic-class-sorting-with-prettier

Errors

Screen Shot 2022-01-24 at 21 13 33

@codecov
Copy link

codecov bot commented Jan 25, 2022

Codecov Report

Merging #987 (84ff955) into v2 (6389373) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##               v2     #987   +/-   ##
=======================================
  Coverage   65.21%   65.21%           
=======================================
  Files         174      174           
  Lines        4347     4347           
  Branches     1206     1206           
=======================================
  Hits         2835     2835           
  Misses       1511     1511           
  Partials        1        1           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6389373...84ff955. Read the comment docs.

@leonardoelias leonardoelias changed the title Feat/tailwind integration prettier feat: tailwind integration prettier Jan 25, 2022
Copy link
Member

@diegohaz diegohaz left a comment

Choose a reason for hiding this comment

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

Nice! Thank you! ❤️

@diegohaz diegohaz changed the title feat: tailwind integration prettier chore: Add prettier-plugin-tailwindcss Jan 25, 2022
@diegohaz diegohaz merged commit f47e7d2 into ariakit:v2 Jan 25, 2022
@diegohaz
Copy link
Member

@leonardoelias Does it work on style.css files as well? I think we're using stylelint on those files.

@leonardoelias
Copy link
Contributor Author

@diegohaz
Here in my VSCode it worked!
Can you try to force it to format with prettier?

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