Skip to content

Commit

Permalink
docs: Improve id-denylist documentation (#16223)
Browse files Browse the repository at this point in the history
* docs: Improve id-denylist documentation

* docs: add configuring rules link to id-denylist

* docs: review changes
  • Loading branch information
frankie303 committed Aug 30, 2022
1 parent dcf178e commit 279f0af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/rules/id-denylist.md
Expand Up @@ -38,6 +38,8 @@ For example, to restrict the use of common generic identifiers:
}
```

**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.

Examples of **incorrect** code for this rule with sample `"data", "callback"` restricted identifiers:

::: incorrect
Expand Down

0 comments on commit 279f0af

Please sign in to comment.