diff options
| author | Elena Vilchik | 2020-01-03 11:27:48 +0100 |
|---|---|---|
| committer | Christophe Zürn | 2020-01-03 11:27:48 +0100 |
| commit | 6663d920a91cafb808a69c171b49450bdaaaa61f (patch) | |
| tree | 8a14923540904184cbbcba32bb0980ec799bd7c1 | |
| parent | f0f5f2162121ac5846c08914c817c4bbff5f5314 (diff) | |
| download | sonar-css-6663d920a91cafb808a69c171b49450bdaaaa61f.tar.bz2 | |
Update rules metadata (#240)
7 files changed, 7 insertions, 9 deletions
diff --git a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S1116.html b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S1116.html index 4434acb..0925dd6 100644 --- a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S1116.html +++ b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S1116.html @@ -5,10 +5,6 @@ </ul> <h2>See</h2> <ul> - <li> MISRA C:2004, 14.3 - Before preprocessing, a null statement shall only occur on a line by itself; it may be followed by a comment provided that - the first character following the null statement is a white-space character. </li> - <li> MISRA C++:2008, 6-2-3 - Before preprocessing, a null statement shall only occur on a line by itself; it may be followed by a comment, provided - that the first character following the null statement is a white-space character. </li> <li> <a href="https://www.securecoding.cert.org/confluence/x/NYA5">CERT, MSC12-C.</a> - Detect and remove code that has no effect or is never executed </li> <li> <a href="https://www.securecoding.cert.org/confluence/x/7gCTAw">CERT, MSC51-J.</a> - Do not place a semicolon immediately following an if, for, diff --git a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4651.html b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4651.html index 68b9085..8b96791 100644 --- a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4651.html +++ b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4651.html @@ -6,6 +6,7 @@ the expected gradient in the latest browser versions that support CSS3.</p> <h2>Noncompliant Code Example</h2> <pre> .foo { + background: -webkit-linear-gradient(to top, #fff, #000); background: linear-gradient(top, #fff, #000); } @@ -16,6 +17,7 @@ the expected gradient in the latest browser versions that support CSS3.</p> <h2>Compliant Solution</h2> <pre> .foo { + background: -webkit-linear-gradient(top, #fff, #000); background: linear-gradient(to top, #fff, #000); } diff --git a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4652.html b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4652.html index 6864535..a26e60d 100644 --- a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4652.html +++ b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4652.html @@ -23,4 +23,4 @@ a { <ul> <li> <a href="https://www.w3.org/TR/CSS2/syndata.html#strings">CSS Specification</a> - Strings </li> </ul> -
+ diff --git a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4652.json b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4652.json index 06dcd4d..35cceec 100644 --- a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4652.json +++ b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4652.json @@ -13,4 +13,4 @@ "ruleSpecification": "RSPEC-4652", "sqKey": "S4652", "scope": "Main" -}
+} diff --git a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4667.html b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4667.html index 0f155a4..56e0bb9 100644 --- a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4667.html +++ b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4667.html @@ -1,2 +1,2 @@ <p>This rule raises an issue when a CSS file is empty (ie: containing only spaces).</p> -
+ diff --git a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4667.json b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4667.json index df0c425..0a370c6 100644 --- a/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4667.json +++ b/sonar-css-plugin/src/main/resources/org/sonar/l10n/css/rules/css/S4667.json @@ -13,4 +13,4 @@ "ruleSpecification": "RSPEC-4667", "sqKey": "S4667", "scope": "All" -}
+} diff --git a/sonarpedia.json b/sonarpedia.json index e45bfe2..b72db4d 100644 --- a/sonarpedia.json +++ b/sonarpedia.json @@ -3,7 +3,7 @@ "languages": [ "CSS" ], - "latest-update": "2019-06-28T13:36:34.007593600Z", + "latest-update": "2020-01-03T10:04:24.446269Z", "options": { "no-language-in-filenames": true } |
