@lincy/eslint-config 4.5.0 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1048,7 +1048,7 @@ async function react(options = {}) {
1048
1048
  rules: {
1049
1049
  // recommended rules from @eslint-react/dom
1050
1050
  "react-dom/no-children-in-void-dom-elements": "warn",
1051
- "react-dom/no-dangerously-set-innerhtml": "warn",
1051
+ "react-dom/no-dangerously-set-innerhtml": "off",
1052
1052
  "react-dom/no-dangerously-set-innerhtml-with-children": "error",
1053
1053
  "react-dom/no-find-dom-node": "error",
1054
1054
  "react-dom/no-missing-button-type": "warn",
package/dist/index.js CHANGED
@@ -957,7 +957,7 @@ async function react(options = {}) {
957
957
  rules: {
958
958
  // recommended rules from @eslint-react/dom
959
959
  "react-dom/no-children-in-void-dom-elements": "warn",
960
- "react-dom/no-dangerously-set-innerhtml": "warn",
960
+ "react-dom/no-dangerously-set-innerhtml": "off",
961
961
  "react-dom/no-dangerously-set-innerhtml-with-children": "error",
962
962
  "react-dom/no-find-dom-node": "error",
963
963
  "react-dom/no-missing-button-type": "warn",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lincy/eslint-config",
3
3
  "type": "module",
4
- "version": "4.5.0",
4
+ "version": "4.5.1",
5
5
  "packageManager": "pnpm@8.7.6",
6
6
  "description": "LinCenYing's ESLint config",
7
7
  "author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",