2242 Commits

Author SHA1 Message Date
Christophe Zürn
fb4ba0d61d
Update README and validation to reflect new guidelines (#1951)
Co-authored-by: Elena Vilchik <elena.vilchik@sonarsource.com>
2023-05-30 11:00:48 +02:00
Costin Zaharia
80ff27bc64
Modify rule S6603: Fix typo (#1958) 2023-05-30 09:02:48 +02:00
Fred Tingaud
d972b63b14
Modify rule S3981: Adapt to LaYC 2023-05-29 18:37:58 +02:00
Fred Tingaud
0d2d5a7cab
Modify rule S4487: Adapt to LaYC 2023-05-29 18:35:17 +02:00
SonarTech
2ed1467f10 update coverage information 2023-05-27 00:32:39 +00:00
Pavel Mikula
9e831998bb
Modify rule S3949: Remove CBDE from C#, add VB.NET (#1825)
Fixes https://github.com/SonarSource/sonar-dotnet/issues/7139
2023-05-26 17:17:28 +02:00
Alban Auzeill
c411192237
Modify rule S2384: Revert accidental changes in csharp directory (#1952) 2023-05-26 17:14:58 +02:00
Evgeny Mandrikov
1bcb77ca16
Remove unused gcp_credentials
This was forgotten in e6ca2653ca7145ee71ddd37bac3ff6def7f69e81
2023-05-26 16:14:25 +02:00
tomverin
ead234e825
BUILD-1970 Use Vault 2023-05-26 15:29:37 +02:00
Mary Georgiou
873ada6b76
Modify rule S3237: Migrate to new educational format (#1851) 2023-05-26 09:44:57 +02:00
Mary Georgiou
3e987ce5ac
Modify rule S1048: Migrate to new educational format (#1850) 2023-05-26 09:18:28 +02:00
SonarTech
8ecdfa3735 update coverage information 2023-05-26 00:33:28 +00:00
github-actions[bot]
cecde11a71
Create rule S6636: CPP-3457 unhandled_exception should not be empty
Co-authored-by: Loghin Vlad-Andrei <vlad.loghin@sonarsource.com>
Co-authored-by: tomasz-kaminski-sonarsource <79814193+tomasz-kaminski-sonarsource@users.noreply.github.com>
Co-authored-by: Arseniy Zaostrovnykh <arseniy.zaostrovnykh@sonarsource.com>
2023-05-25 18:42:55 +02:00
ADarko22
7142d28c2a
Modify rule S2384: Update metadata to clarify the rule scope (#1943)
The rule scope is limited only to private mutable mebers
2023-05-25 17:46:59 +02:00
Ilia Kebets
90bb21d09a
Modify rule S3796: add new array methods (#1946) 2023-05-25 16:40:03 +02:00
Fred Tingaud
16f6c0aecf
Inline adoc when include has no additional value (#1940)
Inline adoc files when they are included exactly once.

Also fix language tags because this inlining gives us better information
on what language the code is written in.
2023-05-25 14:18:12 +02:00
Yassin Kammoun
eaf0537490
Revert "Modify rule S4043: Cover the method Array.prototype.splice() … (#1941)
…(#1929)"

This reverts commit 1f6f3691958dd54207a418831452634f3e52bf56.
2023-05-25 11:38:57 +02:00
alexander-kamushkin-sonarsource
6f8bf9cf5a
Modify rule S1528: add quickfix (#1933)
https://github.com/SonarSource/SonarJS/issues/3887
2023-05-24 16:41:02 +02:00
github-actions[bot]
c0c9ea2f0e
Create rule S6617: "Contains" should be used instead of "Any" for simple equality checks (#1808) 2023-05-24 15:19:05 +02:00
github-actions[bot]
e17c8e32e8
Create rule S6602: Find method should be used instead of the FirstOrDefault extension (#1781) 2023-05-24 15:18:10 +02:00
github-actions[bot]
cd617a35c9
Create rule S6610: Prefer "StartsWith" and "EndsWith" overloads that take a "char" instead of "string" (#1794) 2023-05-24 15:16:57 +02:00
github-actions[bot]
df6137bb9c
Create rule S6609: Min/Max properties of Set types should be used instead of the Enumerable extension methods (#1790) 2023-05-24 15:15:55 +02:00
github-actions[bot]
7a6b4a8ec4
Create rule S6608: Prefer indexing instead of "Enumerable" methods on types implementing "IList" (#1787) 2023-05-24 15:14:26 +02:00
github-actions[bot]
ccccd954a8
Create rule S6607: Prefer filtering your collection before sorting it, by using Where before OrderBy (#1786) 2023-05-24 15:13:23 +02:00
github-actions[bot]
b264b60d7d
Create rule S6603: Prefer using the collection-specific TrueForAll method instead of the All extension (#1782) 2023-05-24 15:10:43 +02:00
github-actions[bot]
0ec4bbc964
Create rule S6612: Prefer the lambda parameter instead of capturing in "ConcurrentDictionary" methods (#1801) 2023-05-24 15:07:08 +02:00
Yassin Kammoun
1f6f369195
Modify rule S4043: Cover the method Array.prototype.splice() (#1929) 2023-05-24 14:44:35 +02:00
SonarTech
6edbd00c7c update coverage information 2023-05-24 00:32:55 +00:00
github-actions[bot]
ba0855033f
Create rule S6637: Unnecessary calls to .bind() should not be used (#1917)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6637/javascript)
(updated a few minutes after each push).

Impl: https://github.com/SonarSource/SonarJS/issues/3890

---------

Co-authored-by: alexander-kamushkin-sonarsource <alexander-kamushkin-sonarsource@users.noreply.github.com>
Co-authored-by: Alexander Kamushkin <alexander.kamushkin@sonarsource.com>
2023-05-23 16:25:42 +02:00
github-actions[bot]
3a17c6f769
Create rule S6621: Constexpr literal operators should be consteval.
Co-authored-by: Loghin Vlad-Andrei <vlad.loghin@sonarsource.com>
Co-authored-by: Loïc Joly <loic.joly@sonarsource.com>
Co-authored-by: Arseniy Zaostrovnykh <arseniy.zaostrovnykh@sonarsource.com>
2023-05-23 10:31:20 +02:00
Rudy Regazzoni
c9e6765770
Fix JSON example virtualMachineScaleSets for rule S6388 (#1923) 2023-05-22 10:20:51 +02:00
github-actions[bot]
09b5bd2a99
Modify rule S6382: Add language AzureResourceManager (JSON) (#1920)
Specification ticket:
https://sonarsource.atlassian.net/browse/SONARIAC-762
Implementation ticket:
https://sonarsource.atlassian.net/browse/SONARIAC-814
2023-05-22 10:19:30 +02:00
github-actions[bot]
e0f375b62c
Modify rule S6381: Add language AzureResourceManager (JSON) (#1902)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6381/azureresourcemanager)
(updated a few minutes after each push).

---------

Co-authored-by: rudy-regazzoni-sonarsource <rudy-regazzoni-sonarsource@users.noreply.github.com>
Co-authored-by: Rudy Regazzoni <rudy.regazzoni@sonarsource.com>
2023-05-22 09:01:38 +02:00
SonarTech
922a0bcd35 update coverage information 2023-05-20 00:32:35 +00:00
github-actions[bot]
a2cb22285b
Create rule S3518: Zero should not be a possible denominator (#1772)
Co-authored-by: chrislain-razafimahefa-sonarsource <chrislain-razafimahefa-sonarsource@users.noreply.github.com>
2023-05-19 17:19:56 +02:00
Fred Tingaud
94f3f6fb43
Modify rule S5489: Adapt for LaYC format
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com>
2023-05-19 14:58:24 +00:00
Yassin Kammoun
ba74911a61
Modify rule S4043: Add quickfix support (#1916) 2023-05-19 13:19:10 +02:00
Arseniy Zaostrovnykh
d206474dd2
Fix the bugs and codesmells reported by SC on the search page 2023-05-19 08:57:30 +02:00
SonarTech
4c4a2d2900 update coverage information 2023-05-18 00:33:12 +00:00
Jamie Anderson
dc3fb1c154
Modify rule S6502: Improve grammar and readability of Docker security hotspot (#1746) 2023-05-17 17:52:43 +02:00
github-actions[bot]
81b58aa934
Modify rule S6364: Add language AzureResourceManager (JSON) (#1912)
[Specification
ticket](https://sonarsource.atlassian.net/browse/SONARIAC-768)
[Implementation
ticket](https://sonarsource.atlassian.net/browse/SONARIAC-810)
[RSPEC
Preview](https://sonarsource.github.io/rspec/#/rspec/S6364/azureresourcemanager)

Bicep PR for S6364: #1913

---------

Co-authored-by: egon-okerman-sonarsource <egon-okerman-sonarsource@users.noreply.github.com>
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
2023-05-17 17:16:37 +02:00
github-actions[bot]
7be014417f
Create rule S6618: Use string.Create instead of FormattableString (#1819) 2023-05-17 15:57:13 +02:00
github-actions[bot]
561dda05ea
Create rule S6388: add language AzureResourceManager (#1846)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6388/azureresourcemanager)
(updated a few minutes after each push).

---------

Co-authored-by: rudy-regazzoni-sonarsource <rudy-regazzoni-sonarsource@users.noreply.github.com>
Co-authored-by: Rudy Regazzoni <rudy.regazzoni@sonarsource.com>
2023-05-17 15:33:26 +02:00
github-actions[bot]
a4ba829a14
Modify rule S6387: Add language AzureResourceManager (JSON) (#1842)
[Specification
ticket](https://sonarsource.atlassian.net/browse/SONARIAC-760)
[Implementation
ticket](https://sonarsource.atlassian.net/browse/SONARIAC-797)
[RSPEC
Preview](https://sonarsource.github.io/rspec/#/rspec/S6387/azureresourcemanager)

Bicep PR for S6387: #1907

---------

Co-authored-by: egon-okerman-sonarsource <egon-okerman-sonarsource@users.noreply.github.com>
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
2023-05-17 14:34:51 +02:00
Fred Tingaud
631fe79ea7
Modify rule S5000: LaYC format
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com>
2023-05-17 11:31:46 +00:00
Egon Okerman
831c79c646
Modify rule S5384: fix broken URL (#1910)
This PR fixes a broken URL in S5384 by replacing it with an Internet
Archive link to the same page.

[Preview](https://sonarsource.github.io/rspec/#/rspec/S5384/apex)
2023-05-17 11:59:41 +02:00
github-actions[bot]
03b8178324
Create rule S6635: Constructors should not return values (#1905)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6635/javascript)
(updated a few minutes after each push).

Impl: https://github.com/SonarSource/SonarJS/issues/3889

---------

Co-authored-by: alexander-kamushkin-sonarsource <alexander-kamushkin-sonarsource@users.noreply.github.com>
Co-authored-by: Alexander Kamushkin <alexander.kamushkin@sonarsource.com>
Co-authored-by: alexander-kamushkin-sonarsource <132259666+alexander-kamushkin-sonarsource@users.noreply.github.com>
Co-authored-by: Yassin Kammoun <52890329+yassin-kammoun-sonarsource@users.noreply.github.com>
2023-05-17 11:26:41 +02:00
SonarTech
30849ed9ee update coverage information 2023-05-17 07:57:59 +00:00
Nils Werner
e9d79d907c
Modify rule S1155: Migrate to new educational format (#1911) 2023-05-16 16:29:20 +02:00
Amélie Renard
8ad820aada
Modify rule S6487: LaYC format 2023-05-16 15:24:58 +02:00