2242 Commits

Author SHA1 Message Date
github-actions[bot]
2c63a763f4
Create rule S6590: "as const" assertions should be preferred (#1752) 2023-04-14 11:01:59 +02:00
github-actions[bot]
2613cb49bf
Create rule S6587: Cache should not be set for package installation (#1745) 2023-04-14 10:44:18 +02:00
SonarTech
4bfa87f545 update coverage information 2023-04-14 00:32:13 +00:00
github-actions[bot]
5604c05ad1
Create rule S6573: Expanded filenames should not become options (#1727) 2023-04-13 16:48:27 +02:00
github-actions[bot]
622fbdd335
Create rule S6586: Deprecated instruction should not be used (#1744) 2023-04-13 16:47:34 +02:00
github-actions[bot]
42bbb37078
Create rule S6548: The Singleton design pattern should be used with care (#1687) 2023-04-13 15:30:59 +02:00
gaetan-ferry-sonarsource
9221f4d7af
Modify rule S2612: Change the message for docker related permission issues. (APPSEC-621) (#1748) 2023-04-13 15:28:47 +02:00
github-actions[bot]
88273ac629
Update rule S6544: cover additionnal cases from typescript-eslint's no-misused-promises (#1733) 2023-04-13 15:20:59 +02:00
github-actions[bot]
f8e8478f48
Create rule S6541: Methods should not perform too many operations (aka Brain Method) (#1664) 2023-04-13 15:08:31 +02:00
github-actions[bot]
83826d9517
Create rule S6539: Classes should not depend on an excessive number of classes (aka Monster Class) (#1662) 2023-04-13 13:03:12 +00:00
hendrik-buchwald-sonarsource
a0df103104
Modify rule S6500: Adjust title and wording (#1742) 2023-04-13 14:12:47 +02:00
maksim-grebeniuk-sonarsource
b45dbd3461
S1481 update rule description for python (#1750) 2023-04-13 14:00:03 +02:00
Pavel Mikula
dddd92990d
Rule S3900: Add VB.NET (#1731) 2023-04-13 11:50:57 +02:00
Zsolt Kolbay
527b2bc9ca
S3900: Update rule description and message (#1597)
https://github.com/SonarSource/sonar-dotnet/issues/2643
2023-04-13 10:48:47 +02:00
github-actions[bot]
2b3d53a261
Create rule S6583: Enum members should not mix value types (#1740) 2023-04-13 09:43:48 +02:00
SonarTech
3b654a4f7f update coverage information 2023-04-13 00:33:22 +00:00
Antonio Aversa
ed187f9276
Modify rule S3655: Include cast scenario for C# (#1620) 2023-04-12 15:29:42 +00:00
github-actions[bot]
1f696a7f8e
Create rule S6579: Access variable which is not available in current scope (#1736) 2023-04-12 16:06:40 +02:00
github-actions[bot]
fd416e656c
Create rule S6582: Optional chaining should be preferred (#1739) 2023-04-12 14:41:25 +02:00
github-actions[bot]
16799d98c6
Create rule S6581: Environment variables should not be unset on a different layer than they were set (#1738) 2023-04-12 14:06:28 +02:00
github-actions[bot]
a6657295d3
Create rule S6574: A space before the equal sign in key-value pair may lead to unintended behavior (#1728)
SONARIAC-711 New Rule: KeyValuePair space before equal sign may lead to unintended behavior
2023-04-12 10:54:32 +02:00
github-actions[bot]
2e32375c36
Create rule S6578: Enum values should be unique (#1735) 2023-04-12 10:30:29 +02:00
SonarTech
831fd7485b update coverage information 2023-04-12 00:32:43 +00:00
github-actions[bot]
eeae809ef4
Create rule S6572: Enum member values should be either all initialized or none (#1726) 2023-04-11 10:52:15 +02:00
SonarTech
b0e2bc72aa update coverage information 2023-04-07 00:32:43 +00:00
Johann Beleites
a601d88871
Create rule S1206[kotlin]: "equals(Any?)" and "hashCode()" should be overridden in pairs (#340) 2023-04-06 17:49:25 +02:00
github-actions[bot]
1436cf13b1
Create rule S6518: Element access should use indexed access operators (#1629) 2023-04-06 17:29:17 +02:00
Nils Werner
7d9da451e0 Modify rule S6506: Fix rule keys in metadata 2023-04-06 17:18:12 +02:00
github-actions[bot]
f81ebe483a
Create rule S6514(Kotlin): Delegator pattern should use "by" clause (#1625) 2023-04-06 17:17:59 +02:00
Johann Beleites
14aca5bb4d
Create rule S2175[kotlin]: Inappropriate collection calls should not be made (#349) 2023-04-06 17:02:56 +02:00
Sebastien Marichal
6b59dbe8c7
Modify rule S4070: Fix improper usage of FlagsAttribute in the examples (#1732) 2023-04-06 16:18:18 +02:00
github-actions[bot]
58d9678c48
Modify rule S2094: Add JavaScript language (#1720) 2023-04-06 15:58:14 +02:00
github-actions[bot]
0aedc4e91d
Create rule S6512: Getter and setter pattern should use property getters and setters (#1623) 2023-04-06 15:10:18 +02:00
github-actions[bot]
5187507da1
Create rule S6570: Detect missing double quote to prevent globbing and word splitting (#1723) 2023-04-06 13:20:26 +02:00
SonarTech
58a9537b23 update coverage information 2023-04-06 00:33:27 +00:00
github-actions[bot]
f5ae5e4917
Create rule S6549: Accessing files should not lead to filesystem oracle attacks (APPSEC-540) (#1695) 2023-04-05 16:08:56 +02:00
Gyula Sallai
2ff969da29
Modify rule S6545: fix incorrect examples in the "How to fix it" section (#1725) 2023-04-05 12:41:26 +02:00
github-actions[bot]
7e0f521088
Create rule S6569: Unnecessary type constraints should be removed (#1722) 2023-04-05 12:12:05 +02:00
github-actions[bot]
beda41bbe7
Create rule S6546: Union type expressions should be preferred over "typing.Union" in type hints (#1679) 2023-04-05 11:14:23 +02:00
github-actions[bot]
6b66a300bf
Create rule S6545: Built-in generic types should be preferred over the typing module in type hints (#1678) 2023-04-05 11:13:53 +02:00
github-actions[bot]
d61fecb5d1
Create rule S6568: Non-null assertions should not be used misleadingly (#1719) 2023-04-05 10:39:51 +02:00
SonarTech
2d5903582e update coverage information 2023-04-05 00:32:05 +00:00
github-actions[bot]
35747ace22
Create rule S6564: Redundant type aliases should not be used (#1714) 2023-04-04 15:25:16 +02:00
Ilia Kebets
bed9ace665
Add diff view properties to new rule templates (#1721) 2023-04-04 15:14:28 +02:00
github-actions[bot]
0b2c1cc0af
Create rule S6565: Prefer the return type this in fluent interfaces (#1715)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6565/javascript)
(updated a few minutes after each push).

---------

Co-authored-by: francoismora <francois.mora@sonarsource.com>
2023-04-04 14:57:15 +02:00
SonarTech
d9df6213fb update coverage information 2023-04-04 00:34:35 +00:00
Nils Werner
99d3509fad Modify rule S2260: Add Kubernetes 2023-04-03 16:33:25 +02:00
Amélie Renard
ac08b8cbcd
Modify rule S5950: Fix typos + rewording (CPP-4142) 2023-04-03 06:17:44 +00:00
SonarTech
3ce688af41 update coverage information 2023-04-01 00:33:45 +00:00
github-actions[bot]
5e93466918
Create rule S6551: Objects and classes converted or coerced to strings should define a "toString()" method (#1697) 2023-03-31 15:59:44 +02:00