Upstream docs:
https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/forbid-dom-props.md
We are currently missing this option:
|
pub struct PropWithOptions { |
|
/// The name of the prop to forbid. |
|
prop_name: CompactStr, |
|
/// A list of DOM element names (e.g. `["div", "span"]`) on which this |
|
/// prop is forbidden. If empty or omitted, the prop is forbidden on all |
|
/// DOM elements. |
|
disallowed_for: Option<Vec<CompactStr>>, |
|
/// A custom message to display when this prop is used. |
|
message: Option<String>, |
|
} |
Upstream docs:
https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/forbid-dom-props.md
We are currently missing this option:
oxc/crates/oxc_linter/src/rules/react/forbid_dom_props.rs
Lines 84 to 93 in fd00966