
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@uncinc/stylelint-config
Advanced tools
Make the things that make our products look pretty, look pretty!
declaration-no-important
Using !important
is very bad practise. Please do not do it.
If you run stylelint in your project, and you are presented with an enormous amount of errors because of !importants,
please do not add a eslint-disable-next-line
or disable the rule for entire files.
Instead, overwrite the declaration-no-important rule in your .stylelintrc
in the project, and set the severity to warning.
order/order
We have extended stylelint-config-clean-order
which is a config for stylelint-order
. This package does what you expect it to do.
In our own config we've overwritten the sorting of just the selectors (blocks). Since regular expressions are a bit hard to read sometimes, here's the sorting as we've configured it:
.parentClass {
@media #{$normal} {
}
&:hover {
}
&__foo {
}
&--bar {
}
&.active {
}
div {
}
.childClass {
}
}
FAQs
Sharable stylelint config for uncinc projects
We found that @uncinc/stylelint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.