2242 Commits

Author SHA1 Message Date
github-actions[bot]
56cfbf0f69
Create rule S6543: Type hints of generic types should have a type parameter (#1666) 2023-03-31 11:50:44 +02:00
github-actions[bot]
c3220440a3
Create rule S6557: Ends of strings should be checked with "startsWith()" and "endsWith()" (#1706) 2023-03-31 09:35:29 +02:00
SonarTech
8786d4c5f2 update coverage information 2023-03-31 00:34:11 +00:00
francoismora
8bb89ae066
Update S2871 (no-alphabetical-sort): Cover cases from require-array-sort-compare (#1705) 2023-03-30 17:02:13 +02:00
github-actions[bot]
d46a837630
Create rule S6542: Any should not be used as a type hint (#1665) 2023-03-30 14:35:12 +02:00
Yassin Kammoun
ff13bc5f4f
Modify rule S131: Ignore exhaustive switches on unions and enums (#1702) 2023-03-30 12:33:09 +02:00
github-actions[bot]
172b7c5844
Create rule S6550: All enum members should be literals (#1696)
Co-authored-by: Yassin Kammoun <52890329+yassin-kammoun-sonarsource@users.noreply.github.com>
2023-03-30 09:17:02 +02:00
SonarTech
ee4fc2bcb3 update coverage information 2023-03-30 00:32:26 +00:00
Jamie Anderson
2d52a31a16
Modify rules: Remove deprecated sans-top25-* tags (#1694) 2023-03-29 15:31:59 +02:00
Yassin Kammoun
26025b52dc
Modify rule S3402: Consider the addition assignment operator (#1698) 2023-03-29 15:18:35 +02:00
Guillaume Dequenne
c418f84d92
SONARPY-1312 Rule S5882: Adapt metadata for Python (#1680) 2023-03-29 14:00:31 +02:00
maksim-grebeniuk-sonarsource
62276681d3
Modify rule S5860: Add description for Python (SONARPY-1302) (#1682) 2023-03-29 10:41:03 +02:00
SonarTech
e2609afe87 update coverage information 2023-03-29 00:33:57 +00:00
github-actions[bot]
08265c75b9
Create rule S6517: Single function interfaces should be functional interfaces (#1628) 2023-03-28 14:59:17 +02:00
github-actions[bot]
a749cd3e83
Create rule S6508: "Unit" should be used instead of "Void" (#1611) 2023-03-28 14:56:40 +02:00
github-actions[bot]
781680132d
Create rule S6511: "when" statements should be used instead of chained "if" statements (#1622) 2023-03-28 14:38:35 +02:00
Jamie Anderson
664d3c5a0f
Modify rules: Remove deprecated owasp-mX tags (#1692) 2023-03-28 11:14:25 +02:00
Guillaume Dequenne
76fc77cdf6
Update rule S5637: Remove full stop in rule title (#1693) 2023-03-28 09:46:20 +02:00
SonarTech
525d64d78f update coverage information 2023-03-28 00:33:49 +00:00
github-actions[bot]
b5ec694d70
Create rule S6537: Octal escape sequences should not be used in regular expressions (#1659) 2023-03-27 18:18:03 +02:00
SonarTech
f0841f2661 update coverage information 2023-03-25 00:34:05 +00:00
github-actions[bot]
b2fedfdff4
Create rule S6540: Function parameters should have type hints (#1663) 2023-03-24 15:29:17 +01:00
github-actions[bot]
4370a17609
Create rule S6538: Function returns should have type hints (#1660) 2023-03-24 15:12:48 +01:00
Irina Batinic
e0e1415b75
Modify rule S5831: Fix typo in noncompliant code example (#1671) 2023-03-24 14:22:14 +01:00
SonarTech
2d06884b7f update coverage information 2023-03-24 00:33:44 +00:00
Yassin Kammoun
7560bd2fd6
Modify rule S4326: Add quickfix support (#1683) 2023-03-23 16:52:16 +01:00
Yassin Kammoun
62827351a5
Modify rule S4023: Exclude extensions of TypeScript utility types (#1684) 2023-03-23 16:51:14 +01:00
Alban Auzeill
0e7aa1ad27
Modify rule S6519(Kotlin): Support != in addition to == (#1677) 2023-03-23 15:30:36 +01:00
maksim-grebeniuk-sonarsource
3b204e1b65
SONARPY-1303 add metadata for Python for S6001 (#1672) 2023-03-23 14:57:03 +01:00
Pavel Mikula
74a89000f1
Modify rule S2222: Update description (#1681) 2023-03-23 13:27:17 +01:00
SonarTech
9ed996ce08 update coverage information 2023-03-23 00:32:18 +00:00
github-actions[bot]
983d8c3b1b
Create rule S3655 for VB: Empty nullable value should not be accessed (#1657) 2023-03-22 16:11:32 +01:00
github-actions[bot]
85e172ddc6
Create rule S6544: Promise executor functions should not be async (#1676)
Co-authored-by: Ilia Kebets <ilia.kebets@sonarsource.com>
2023-03-22 16:03:39 +01:00
Pavel Mikula
a8c0d761a8
S5856: Add C# and VB.NET (#1528) 2023-03-22 15:25:58 +01:00
maksim-grebeniuk-sonarsource
51b0652467
SONARPY-1301 rule S5994 update for python (#1673) 2023-03-22 12:12:32 +01:00
maksim-grebeniuk-sonarsource
1ff32d8639
SONARPY-1305 update QF metadata for S6395 python (#1669) 2023-03-22 11:52:57 +01:00
SonarTech
7896c7948d update coverage information 2023-03-22 00:32:37 +00:00
github-actions[bot]
f70e19219b
Create rule S2486: Exceptions should not be ignored (#1667)
Co-authored-by: yassin-kammoun-sonarsource <yassin-kammoun-sonarsource@users.noreply.github.com>
2023-03-21 15:08:24 +01:00
Arseniy Zaostrovnykh
71af260baf
Fix Build&Deploy action: update package list before installing libkrb5-dev 2023-03-21 13:52:55 +01:00
github-actions[bot]
e2e03e117d
Create rule S6519(Kotlin): Structural equality tests should use "==" (#1630) 2023-03-21 10:20:03 +01:00
github-actions[bot]
c5f9eb2b0c
Create rule S6510(Kotlin): "return" statements should be lifted before "if" or "when" statement (#1621) 2023-03-20 17:53:20 +01:00
SonarTech
527ce26082 update coverage information 2023-03-18 00:33:25 +00:00
github-actions[bot]
e30c84f1b4
Create rule S6535: Unnecessary character escapes should be removed (#1654)
Co-authored-by: Ilia Kebets <104737176+ilia-kebets-sonarsource@users.noreply.github.com>
2023-03-16 16:58:09 +01:00
github-actions[bot]
f9ddabacec
Create rule S6534: Numbers should not lose precision (#1653) 2023-03-16 15:58:02 +01:00
Jamie Anderson
2d8892defb
Modify rules: Remove "owasp-aX" tag (#1655) 2023-03-16 15:25:13 +01:00
SonarTech
1fffca0125 update coverage information 2023-03-16 00:32:39 +00:00
francoismora
95ee6ed929
Modify rule S4275: Update code samples (#1643)
* Modify rule S4275: Update code samples

* Apply changes suggested in PR review
2023-03-15 15:00:05 +01:00
github-actions[bot]
fa4959af23
Create rule S6523: No optional chaining where undefined is forbidden (#1636) 2023-03-15 14:37:37 +01:00
Martin Strecker
41bb545c92
metadata.adoc: add link to the Coding rule guidelines on SonarQube (#1641) 2023-03-15 13:13:35 +00:00
Martin Strecker
bd9bcae0a9
Update description.adoc (#1642) 2023-03-15 13:34:47 +01:00