From 85f39afb96b7eb21d83e696bf7602e2dcdbac1f3 Mon Sep 17 00:00:00 2001 From: Mert Ciflikli Date: Sun, 21 Aug 2022 17:33:45 +0200 Subject: [PATCH] doc: Improve id-denylist documentation --- docs/src/rules/id-denylist.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/rules/id-denylist.md b/docs/src/rules/id-denylist.md index 3a9f61f5c8ca..a1caa9db23c8 100644 --- a/docs/src/rules/id-denylist.md +++ b/docs/src/rules/id-denylist.md @@ -38,6 +38,8 @@ For example, to restrict the use of common generic identifiers: } ``` +**Note:** First element of the array specifies the severity of the rule and it should be one of the following: 0 = "off", 1 = "warn", 2 = "error". Rest are the disallowed identifiers you want to add. + Examples of **incorrect** code for this rule with sample `"data", "callback"` restricted identifiers: ::: incorrect