
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@blueprint-modernized/stylelint-plugin
Advanced tools
Stylelint rules for use with @blueprint-modernized packages
Blueprint is a React UI toolkit for the web.
This package contains the stylelint plugin for Blueprint. It provides custom rules which are useful when developing against Blueprint libraries.
Key features:
@blueprint-modernized components.yarn add --dev @blueprint-modernized/stylelint-plugin
Simply add this plugin in your .stylelintrc file and then pick the rules that you need. The plugin includes Blueprint-specific rules which enforce semantics particular to usage with @blueprint-modernized packages, but does not turn them on by default.
.stylelintrc
{
"plugins": [
"@blueprint-modernized/stylelint-plugin"
],
"rules": {
"@blueprint-modernized/no-color-literal": true,
"@blueprint-modernized/no-prefix-literal": true
}
}
@blueprint-modernized/no-color-literal (autofixable)Enforce usage of the color variables instead of color literals.
{
"rules": {
"@blueprint-modernized/no-color-literal": true
}
}
-.my-class {
- border: 1px solid #137CBD;
-}
+ @import "~@blueprint-modernized/core/lib/scss/variables";
+
+.my-class {
+ border: 1px solid $blue3;
+}
Optional secondary options:
disableFix: boolean - if true, autofix will be disabledvariablesImportPath: { less?: string, sass?: string } - can be used to configure a custom path for importing Blueprint variables when autofixing.@blueprint-modernized/no-prefix-literal (autofixable)Enforce usage of the bp-ns constant over namespaced string literals.
The @blueprint-modernized package exports a bp-ns CSS variable which contains the prefix for the current version of Blueprint (bp3 for Blueprint 3, bp4 for Blueprint 4, and etc). Using the variable instead of hardcoding the prefix means that your code will still work when new major version of Blueprint is released.
{
"rules": {
"@blueprint-modernized/no-prefix-literal": true
}
}
-.bp3-button > div {
- border: 1px solid black;
-}
+ @import "~@blueprint-modernized/core/lib/scss/variables";
+
+.#{$bp-ns}-button > div {
+ border: 1px solid black;
+}
Optional secondary options:
disableFix: boolean - if true, autofix will be disabledvariablesImportPath: { less?: string, sass?: string } - can be used to configure a custom path for importing Blueprint variables when autofixing.FAQs
Stylelint rules for use with @blueprint-modernized packages
The npm package @blueprint-modernized/stylelint-plugin receives a total of 2 weekly downloads. As such, @blueprint-modernized/stylelint-plugin popularity was classified as not popular.
We found that @blueprint-modernized/stylelint-plugin demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.