Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@remix-run/eslint-config
Advanced tools
@remix-run/eslint-config
This package includes a shareable ESLint config for Remix projects.
If you create your app with create-remix
no additional configuration is necessary.
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.js
in the root of your project:
module.exports = {
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
:
module.exports = {
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:
{
"dependencies": {
"@testing-library/jest-dom": ">=5.16.0",
"@testing-library/react": ">=12.0.0",
"jest": ">=28.0.0"
}
}
v2.12.1
Date: 2024-09-19
@remix-run/dev
- Properly abort request.signal
during vite dev
when the node response is closed (#9976)@remix-run/dev
- CSS imports with ?inline
, ?inline-css
and ?raw
are no longer incorrectly injected during SSR in development (#9910)@remix-run/server-runtime
: Single Fetch: Fix types when loader
, action
, clientLoader
, or clientAction
return a mixture of bare objects, json(...)
, defer(...)
, and unstable_data(...)
. (#9999)@remix-run/node
/@remix-run/cloudflare
/@remix-run/deno
- Single Fetch: Re-export interface Future
through runtime packages so that pnpm
doesn't complain about @remix-run/server-runtime
not being a dependency (#9982)
vite.config.ts
to augment @remix-run/node
(or cloudflare
/deno
) instead of @remix-run/server-runtime
Full Changelog: v2.12.0...v2.12.1
FAQs
ESLint configuration for Remix projects
The npm package @remix-run/eslint-config receives a total of 76,256 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 0 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.