Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@lendi/typescript-eslint-config
Advanced tools
Add the package to your project.
yarn add --dev @lendi/typescript-eslint-config
Create a .eslintrc.js file in the root of the project and paste in the following code:
const frontend = require('@lendi/typescript-eslint-config').frontend;
// Specify the typescript rules defined for this project.
frontend.parserOptions.project = './tsconfig.esm.json';
module.exports = frontend;
To specifically import the backend configuration, just change all instances of the word frontend to backend in the above block of code. The major difference between the two is detection and linting of jsx code.
Add the following script to your package.json:
"eslint": "eslint -c .eslintrc.js --ext .js,.jsx,.ts,.tsx ./"
The last argument should be the location of where eslint should be run against (e.g. src/ or packages/).
For any issues, please contact the HUB team.
FAQs
## How to use
The npm package @lendi/typescript-eslint-config receives a total of 12 weekly downloads. As such, @lendi/typescript-eslint-config popularity was classified as not popular.
We found that @lendi/typescript-eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 53 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 researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.