1972 Commits

Author SHA1 Message Date
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
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