From 2a9a9b56afbb2e5ad9337964dbd163cb20469900 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Tue, 10 Nov 2020 10:04:40 +0000 Subject: [PATCH] Fix/improve documentation of attr-lowercase rule The "violation" example was identical to the non-violation one. Also adjusted wording and capitalization for clarity and correctness. --- docs/user-guide/rules/attr-lowercase.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/user-guide/rules/attr-lowercase.md b/docs/user-guide/rules/attr-lowercase.md index 343b90f4a..603ceee68 100644 --- a/docs/user-guide/rules/attr-lowercase.md +++ b/docs/user-guide/rules/attr-lowercase.md @@ -11,18 +11,18 @@ Level: `error` 1. true: enable rule 2. false: disable rule -3. ['viewBox', 'test']: Ignore some attr name +3. ['viewBox', 'Test']: enable rule except for the given attribute names -The following pattern are **not** considered violations: +The following pattern is **not** considered a violation: ```html test ``` -The following pattern is considered violation: +The following pattern is considered a violation: ```html -test +test ```