Skip to content

Commit d1835bc

Browse files
committed
update docs
1 parent 77ed4af commit d1835bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/forbid-dom-props.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ Examples of **correct** code for this rule:
4444

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

4949
```js
5050
{
5151
"propName": "someProp",
52-
"disallowedFor": [DOMNode, AnotherDOMNode],
52+
"disallowedFor": ["DOMNode", "AnotherDOMNode"],
5353
"message": "Avoid using someProp"
5454
}
5555
```

0 commit comments

Comments
 (0)