
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@aacn.eu/eslint-plugin-tailwind-classname-order
Advanced tools
Automatically orders tailwind classes included in the className tags from each element by the provided default order list.
This eslint plugin automatically orders the tailwind classes included in the className tags from each element by the provided default order list.
tailwind.config.js.For the latest version the following tailwind classes are supported by the order plugin.
Classes that are not yet included, will be treated as predefined custom classes.
Classes are categorized as seen in the tailwind documentation here
It's mentionable that in the current version it's necessary, that when setting an image as background, which is predefined in the tailwind config, that the name of the image needs to include 'img' in its name, so that the plugin is able to identity it as such.
# will be detected as bg-img element
bg-MY-img-BACKGROUND
# won't be detected as bg-img and instead be treated as bg-color
bg-MY-BACKGROUND
Some classes in tailwind have counterparts with the same name and since interpreting arbitrary values is not supported on the current version, they won't be detected properly. There are two major differences:
States are priority wise in the same order as they are presented on the tailwind docs (states), excluding the @media type prefixes.
This plugin supports the default breakpoint prefixes as listed on the tailwind docs for responsive design.
Furthermore more custom prefixes are also already added. The orderConfig.json file can of course be altered to include even more custom breakpoint prefixes.
You'll first need to install ESLint:
# via npm
npm install eslint --save-dev
# via yarn
yarn add -D eslint
Next, install eslint-plugin-tailwind-classname-order:
# via npm
npm install @aacn.eu/eslint-plugin-tailwind-classname-order --save-dev
# via yarn
yarn add -D @aacn.eu/eslint-plugin-tailwind-classname-order
Add tailwind-classname-order to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"@aacn.eu/tailwind-classname-order"
]
}
Then configure the rules you want to use under the rules section.
This includes the path to the rule file and its severity
More about eslints severity can be found here
{
"rules": {
"@aacn.eu/tailwind-classname-order/order": 2
}
}
0.4.4 - 2025-04-22
FAQs
Automatically orders tailwind classes included in the className tags from each element by the provided default order list.
The npm package @aacn.eu/eslint-plugin-tailwind-classname-order receives a total of 21 weekly downloads. As such, @aacn.eu/eslint-plugin-tailwind-classname-order popularity was classified as not popular.
We found that @aacn.eu/eslint-plugin-tailwind-classname-order demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.