
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
eslint-plugin-react-dom
Advanced tools
DOM specific rules for React DOM.
# npm
npm install --save-dev eslint-plugin-react-dom
import js from "@eslint/js";
import reactDom from "eslint-plugin-react-dom";
import { defineConfig } from "eslint/config";
import tseslint from "typescript-eslint";
export default defineConfig(
{
files: ["**/*.{ts,tsx}"],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
// Add configs from eslint-plugin-react-dom
reactDom.configs.recommended,
],
rules: {
// Put rules you want to override here
"react-dom/no-dangerously-set-innerhtml": "warn",
},
},
);
FAQs
ESLint React's ESLint plugin for DOM related rules.
The npm package eslint-plugin-react-dom receives a total of 1,049,278 weekly downloads. As such, eslint-plugin-react-dom popularity was classified as popular.
We found that eslint-plugin-react-dom 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.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.