Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
neworbit-stylelint-config
Advanced tools
NewOrbit standard config for stylelint
npm install neworbit-stylelint-config --save-dev
npm install stylelint stylelint-config-standard-scss @stylistic/stylelint-config stylelint-scss stylelint-order stylelint-no-unsupported-browser-features --save-dev
.stylelintrc.json
file with the following contents:{
"extends": "neworbit-stylelint-config"
}
"lint:sass": "stylelint \"**/*.scss\""
You may want to integrate with webpack so that you get linting warnings on build. You may also want to consider failing on production build so linting errors block a pull request.
npm install stylelint-webpack-plugin --save-dev
const StyleLintPlugin = require('stylelint-webpack-plugin');
const config = { /* webpack config */ };
let styleLintOptions = {
files: "**/*.scss"
};
if (process.env.NODE_ENV === "production") {
styleLintOptions.failOnError = true;
}
config.plugins.push(new StyleLintPlugin(styleLintOptions));
To make life better in Visual Studio Code when using stylelint install: VSCode Stylelint Plugin
Made with :sparkling_heart: by NewOrbit in Oxfordshire, and licensed under the MIT License
FAQs
NewOrbit standard config for stylelint
We found that neworbit-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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.