Skip to content

linter: oxc for vscode, document.createElement("iframe") - missing a sandbox attribute #6750

@lborgman

Description

@lborgman

What version of Oxlint are you using?

0.10.1

What command did you run?

oxc vscode extension

What does your .oxlint.json config file look like?

As far as I know there is no .oxlint.json

What happened?

I have this line in a .js file:

const i = document.createElement("iframe");

I get this from oxc:

An iframe element is missing a sandbox attribute
help: Add a sandbox attribute to the iframe element.oxc[eslint-plugin-react(iframe-missing-sandbox)]>
(https://oxc.rs/docs/guide/usage/linter/rules/eslint-plugin-react/iframe-missing-sandbox)

I am not using React. And I have no idea about the plugin mentioned. (And the link above gives 404.)

Metadata

Metadata

Assignees

Labels

A-linterArea - LinterC-bugCategory - Bug

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions