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.
eslint-plugin-haraka
Advanced tools
In your Haraka plugin:
Add to NPM dependencies:
npm install --save-dev eslint eslint-plugin-haraka
Install an eslint config file:
tee .eslintrc.yaml <<EOLINT
plugins: [ haraka ]
extends: [ eslint:recommended, plugin:haraka/recommended ]
EOLINT
package.json
:"lint": "npx eslint *.js test"
"lintfix": "npx eslint --fix *.js test"
npm run lint
To check your project against lint rules:
npm run lint
Step #4 above does this automatically when CI tests are set up.
If you agree with the lint suggestions, you can run npm run lintfix
and the changes will be made to your files automatically.
If you disagree, you can add custom rules to your .eslintrc file.
[1.0.16] - 2024-04-05
FAQs
eslint rules for Haraka projects
The npm package eslint-plugin-haraka receives a total of 217 weekly downloads. As such, eslint-plugin-haraka popularity was classified as not popular.
We found that eslint-plugin-haraka demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
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.