
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@aacn_org/eslint-plugin-tailwind-classname-order
Advanced tools
Sort tailwind classes for each elements className list by a given order-config
Sort tailwind classes for each element className list by a given order-config.
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
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:
npm i eslint --save-dev
Next, install eslint-plugin-tailwind-classname-order
:
npm install eslint-plugin-tailwind-classname-order --save-dev
Add tailwind-classname-order
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"tailwind-classname-order"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"tailwind-classname-order/rule-name": 2
}
}
FAQs
Automatically order tailwind classes included in the className tags from each element by the provided default order list.
The npm package @aacn_org/eslint-plugin-tailwind-classname-order receives a total of 1 weekly downloads. As such, @aacn_org/eslint-plugin-tailwind-classname-order popularity was classified as not popular.
We found that @aacn_org/eslint-plugin-tailwind-classname-order demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.