Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TildaDares committed Jul 16, 2022
1 parent 77ed4af commit d1835bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/forbid-dom-props.md
Expand Up @@ -44,12 +44,12 @@ Examples of **correct** code for this rule:

An array of strings, with the names of props that are forbidden. The default value of this option `[]`.
Each array element can either be a string with the property name or object specifying the property name, an optional
custom message, and a DOM nodes blacklist(e.g. `<div />`):
custom message, and a DOM nodes disallowed list (e.g. `<div />`):

```js
{
"propName": "someProp",
"disallowedFor": [DOMNode, AnotherDOMNode],
"disallowedFor": ["DOMNode", "AnotherDOMNode"],
"message": "Avoid using someProp"
}
```
Expand Down

0 comments on commit d1835bc

Please sign in to comment.