
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
bemlinter.js
Advanced tools
A cli tool to lint bem component isolation in SCSS files
The main rules are:
A SCSS component should only contain its own classes
A SCSS file, even if it is not a component, should not style a class of another component
npm i bemlinter.js --save
You can set your package.json
to use bemlinter:
{
"scripts": {
"lint": "bemlinter the/path/to/your/*.scss"
}
}
If you need more configuration you can use a configuration file:
{
"scripts": {
"lint": "bemlinter --config .bemlinter"
}
}
The configuration file look like this:
{
// Define the paths of your source files
"sources": [
"a/path/to/your/scss/*.scss",
"a/path/to/a/specific/scss/main.scss
],
// Define the paths of some exclude source files
"excludePath": [
"an/exclude/path/of/scss/*.scss"
],
// Define the names of some component that are not isolated yet, so the linter will be kind ;)
"excludeComponent": [
"messed-up-component",
"disorder-file",
"old-component"
],
// Optionally disable some check or add a prefix
"options": {
"checkLowerCase": false,
"prefix": ['c-']
}
}
bemlinter.js is under MIT License.
It was created & is maintained by Thomas ZILLIOX.
FAQs
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.
The npm package bemlinter.js receives a total of 0 weekly downloads. As such, bemlinter.js popularity was classified as not popular.
We found that bemlinter.js 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.