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.
@remix-run/eslint-config
Advanced tools
@remix-run/eslint-config
This package includes a shareable ESLint config for Remix projects.
This package is new, but eventually we will include it as a dependency in projects bootstrapped with create-remix
so that no configuration in necessary for those apps.
First, install this package along with ESLint in your project. This package requires at least version 8.1 of ESLint
npm install -D eslint @remix-run/eslint-config
Then create a file named .eslintrc
in the root of your project:
{
"extends": "@remix-run/eslint-config"
}
This packages also ships with optional configuration options for projects that use Jest with Testing Library. To enable these rules, add the following to your .eslintrc
:
{
"extends": [
"@remix-run/eslint-config",
"@remix-run/eslint-config/jest-testing-library"
]
}
Please note that because this ruleset is optional, we do not include the core libraries as peer dependencies for this package. If you use these rules, be sure that you have the following dependencies installed in your project:
{
"@testing-library/jest-dom": ">=5.16.0",
"@testing-library/react": ">=12.0.0",
"jest": ">=26.0.0"
}
FAQs
ESLint configuration for Remix projects
The npm package @remix-run/eslint-config receives a total of 67,703 weekly downloads. As such, @remix-run/eslint-config popularity was classified as popular.
We found that @remix-run/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.