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.
@codecompose/eslint-config
Advanced tools
A collection of ESLint configurations.
pnpm i @codecompose/eslint-config
Create a file named .eslintrc.(c)js
in the root of your package. Use .cjs
if your packages is ESM format.
You are expected to point parserConfig.project
to your tsconfig.json file. For example:
// @ts-check
const { resolve } = require("node:path");
const project = resolve(__dirname, "tsconfig.json");
/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,
extends: ["@codecompose/eslint-config"],
parserOptions: {
project,
},
};
By default extends: ["@codecompose/eslint-config"]
will point to the base configuration and is effectively the same as writing extends: ["@codecompose/eslint-config/base"]
. Other available configurations are:
vercel-app
: A Next.js based React application using the Vercel style guidevercel-lib
: A React library using the Vercel style guidenode
: A node.js application or cloud servicereact
: A React libraryFAQs
A collection of ESLint configurations
We found that @codecompose/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
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.