
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@hs-web-team/eslint-config-node
Advanced tools
This is a list of ESLint rules that are recommended for use with Hubspot Marketing WebTeam projects.
Install as dev dependency
npm i -D @hs-web-team/eslint-config-node@latest
Add to .eslintrc
in project root directory
{
"extends": "@hs-web-team/eslint-config-node"
}
Extend the eslint on a project basis by adding rules to .eslintrc
e.g.
{
"extends": "@hs-web-team/eslint-config-node",
"settings": {
"import/resolver": "webpack"
}
}
This package is intended to be used as a starting point for ESLint rules for Backend Node.js projects, and not for use in browser environments.
This package includes a utility script to automatically add Prettier configuration to your project.
Run the script:
node ./node_modules/@hs-web-team/eslint-config-node/bin/add-prettier-scripts.js
The script will:
prettier:check
and prettier:write
scripts to your package.json.prettierrc.js
file with shared config.prettierignore
file with sensible defaultsAfter installation, you can use the following commands:
npm run prettier:check
- Check files for formatting issuesnpm run prettier:write
- Automatically fix formatting issuesSee MIGRATION-V2.md
FAQs
HubSpot Marketing WebTeam ESLint rules for Node.js
We found that @hs-web-team/eslint-config-node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 84 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.