Giter Club home page Giter Club logo

Comments (6)

milanbgd011 avatar milanbgd011 commented on June 11, 2024

This might be linked to #19 in some way.

from prettier-plugin-tailwindcss.

sdavids avatar sdavids commented on June 11, 2024

Maybe the environments have different Set implementations and thereby the iteration order is different?

.generateRules(new Set([className]), env.context)

Have not verified it though ..

from prettier-plugin-tailwindcss.

megasanjay avatar megasanjay commented on June 11, 2024

Is there any way I can test this? I'm more than happy to run some stuff on my end to test the implementation if needed.

from prettier-plugin-tailwindcss.

bradlc avatar bradlc commented on June 11, 2024

Hey @megasanjay. Since you don't seem to have a Prettier config file, I have a feeling this is related to an issue with config resolution that has been resolved in #62. Please could you upgrade the plugin to v0.1.8 and let me know if that fixes your issue?

from prettier-plugin-tailwindcss.

megasanjay avatar megasanjay commented on June 11, 2024

@bradlc Thank you for the updates. I added a .prettierrc and added some prettier plugins to my eslint config. It seems to have solved the issue. Thank you :)

from prettier-plugin-tailwindcss.

milanbgd011 avatar milanbgd011 commented on June 11, 2024

This is also resolved for me. Thanks guys!

from prettier-plugin-tailwindcss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.