From 541fad5776b88b98601b8505c2d5fb149e63ee04 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 23 Nov 2023 14:48:36 +0100 Subject: [PATCH] Fix S1077: Correct sqKey for JS/TS (#3457) --- rules/S1077/html/metadata.json | 3 ++- rules/S1077/metadata.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rules/S1077/html/metadata.json b/rules/S1077/html/metadata.json index c13547d3bc9..791b63f2443 100644 --- a/rules/S1077/html/metadata.json +++ b/rules/S1077/html/metadata.json @@ -1,3 +1,4 @@ { - "title": "Image, area and button with image elements should have an \"alt\" attribute" + "title": "Image, area and button with image elements should have an \"alt\" attribute", + "sqKey": "ImgWithoutAltCheck" } diff --git a/rules/S1077/metadata.json b/rules/S1077/metadata.json index 2936c5ef824..a8f71e41eea 100644 --- a/rules/S1077/metadata.json +++ b/rules/S1077/metadata.json @@ -26,7 +26,7 @@ }, "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1077", - "sqKey": "ImgWithoutAltCheck", + "sqKey": "S1077", "scope": "Main", "defaultQualityProfiles": [ "Sonar way"