oxlint-plugin-react-doctor 0.7.0 → 0.7.1-dev.ce9dabf
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.d.ts +779 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9219,6 +9219,7 @@ const iframeMissingSandbox = defineRule({
|
|
|
9219
9219
|
severity: "warn",
|
|
9220
9220
|
recommendation: "Add `sandbox=\"\"` or a curated value so embedded pages cannot get full access to your site by default.",
|
|
9221
9221
|
category: "Security",
|
|
9222
|
+
matchByOccurrence: true,
|
|
9222
9223
|
create: skipNonProductionFiles((context) => ({
|
|
9223
9224
|
JSXOpeningElement(node) {
|
|
9224
9225
|
if (!isNodeOfType(node.name, "JSXIdentifier") || node.name.name !== "iframe") return;
|