Skip to content

Commit 279f0af

Browse files
authored
docs: Improve id-denylist documentation (#16223)
* docs: Improve id-denylist documentation * docs: add configuring rules link to id-denylist * docs: review changes
1 parent dcf178e commit 279f0af

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/src/rules/id-denylist.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ For example, to restrict the use of common generic identifiers:
3838
}
3939
```
4040

41+
**Note:** The first element of the array is for the rule severity (see [configuring rules](/docs/latest/user-guide/configuring/rules). The other elements in the array are the identifiers that you want to disallow.
42+
4143
Examples of **incorrect** code for this rule with sample `"data", "callback"` restricted identifiers:
4244

4345
::: incorrect

0 commit comments

Comments
 (0)