Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@glideapps/prettier-plugin-glide-tailwind
Advanced tools
Formatting and sorting for glide tailwind classes
Supports
Go from this:
<div class="z-50 z-10 container text-left md:text-center justify-center">...</div>
To this:
<div class="container justify-center text-left z-10 z-50 md:text-center">...</div>
This plugin reads your tailwind.config.js
to sort tailwind classes in your project.
Install Prettier and the plugin into your project locally:
npm install --save-dev @glideapps/prettier-plugin-glide-tailwind
Other IDE's are supported.
Note: Prettier 2.0.0 or greater is required as a peer dependency.
These options can be set in your .prettierrc
file to change the behavious of this plugin.
twConfig
- Path to tailwind config relative to the root of the project.twPluginsOrder
- Comma separated order of tailwind plugins to sort classes by.twClassesPosition
- Position of component and utility classes.twUnknownClassesPosition
- Position of unknown classes.twJsxClassAttributes
- Comma separated list of JSX attributes to sort tailwind classes in.twSortFunctions
- Comma separated list of function names to sort classes in arguments.More details can be found in OPTIONS.md
FAQs
Formatting and sorting for glide tailwind classes
The npm package @glideapps/prettier-plugin-glide-tailwind receives a total of 1 weekly downloads. As such, @glideapps/prettier-plugin-glide-tailwind popularity was classified as not popular.
We found that @glideapps/prettier-plugin-glide-tailwind demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.