
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@songkick/stylelint-config-songkick
Advanced tools
Boilerplate configuration for Stylelint CSS linter
A boilerplate configuration for stylelint, with SCSS syntax linting by stylelint-scss.
This project is currently an experimental WIP. For the most part it follows existing Songkick and some former CrowdSurge CSS patterns. We'll gradually add/remove rules as we work out what does and doesn't work for us.
This linter is designed to enforce syntax and coding style - rather than any specific architectural patterns. It will generally not force you to write your CSS to fit a certain methodology or practice, but will make sure that CSS is written in a way that looks consistent and familiar across projects.
## Installation and Configuration
In your project run:
npm install stylelint stylelint-scss @songkick/stylelint-config-songkick --save-dev
Add a .stylelintrc
file to your project which extends this configuration:
{
"extends": "@songkick/stylelint-config-songkick"
}
Where the linting rules don't suit a certain project, or cause issues when including the linter in an existing codebase, you can also override and add to these rules as required:
{
"extends": "@songkick/stylelint-config-songkick",
"rules": {
"indentation": 2,
"declaration-no-important": true
}
}
Full documentation on the stylelint config file can be found here: http://stylelint.io/user-guide/configuration/#the-configuration-object
a
, div
, :hover
)width
, height
, margin
)@media
, @keyframe
)scale(0.5)
)px
, em
, s
)#f80046
)div.class-name
- Note: This excludes attribute selectors).width: 123px;
).!important
, you must place a space before, but never after the bang. (ie. width: 123px !important;
).margin
property in a rule after margin-left
).@media (min-width ...)
).min-width: 123px
).skew(30deg, 20deg)
).transform: scale(1.5) rotateX(10deg);
).background-image: url(foo.jpg);
)margin: 1px 1px 1px 1px;
should be margin: 1px;
)### Units
0px
> 0
).1.23px
).0.5px
).1.50px
)."Proxima Nova"
), not around ones that don't (eg. Arial
).Please read the included Contribution Guidelines guide before working on this project.
FAQs
Boilerplate configuration for Stylelint CSS linter
The npm package @songkick/stylelint-config-songkick receives a total of 0 weekly downloads. As such, @songkick/stylelint-config-songkick popularity was classified as not popular.
We found that @songkick/stylelint-config-songkick 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.