Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
stylelint-config-itp
Advanced tools
In The Pocket's default configuration for Stylelint.
The current configuration is a hard copy of Bootstrap's latest Stylelint configuration. We didn't make any changes to it and like to keep it that way to avoid any discussions and keep this maintainable. Whenever Bootstrap decides to make changes, we need to make changes, that's the idea.
PR with more info.
Extends stylelint-config-standard and stylelint-config-recommended-scss
Plugins used: stylelint-order
Install the following packages in your project:
npm install stylelint-config-itp stylelint husky lint-staged --save-dev
Add .stylelintrc to the root of your project:
{
"extends": "stylelint-config-itp"
}
Add .stylelintignore (if you need one) to the root of your project:
**/*.min.css
**/dist/
**/vendor/
/_gh_pages/
Update your package.json:
{
"scripts": {
+ "precommit": "lint-staged"
},
+ "lint-staged": {
+ "*.{css,scss}": ["stylelint --fix", "git add"]
+ }
}
FAQs
In The Pocket config for stylelint
The npm package stylelint-config-itp receives a total of 0 weekly downloads. As such, stylelint-config-itp popularity was classified as not popular.
We found that stylelint-config-itp 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
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.