github-actions[bot]
c34f7fdbc9
Create rule S6913: "Math.clamp" should be used with correct ranges ( #3614 )
2024-02-07 16:10:51 +01:00
github-actions[bot]
ca3631551c
Create rule S6906: Virtual threads should not run tasks that include synchronized or native code ( #3605 )
2024-02-07 15:20:30 +01:00
Rudy Regazzoni
718931dce3
Add language JCL as a supported language ( #3604 )
2024-02-07 10:10:43 +01:00
github-actions[bot]
708f427562
Create rule S6907: Environment variables names for a container should not be duplicated ( #3606 )
2024-02-07 09:08:59 +01:00
leonardo-pilastri-sonarsource
3dc67eee51
Delete rule S6896: rule is already implemented by S6322 ( #3613 )
2024-02-06 15:26:32 +00:00
github-actions[bot]
5378180701
Create rule S6901: setDaemon, setPriority and getThreadGroup should not be invoked on virtual threads ( #3592 )
2024-02-06 13:41:04 +00:00
github-actions[bot]
c7cf309c7b
Create rule S6878: Use record pattern instead of explicit field access ( #3563 )
...
Co-authored-by: Alban Auzeill <alban.auzeill@sonarsource.com>
2024-02-06 12:35:58 +01:00
github-actions[bot]
95b530d411
Create rule S6596: Specific version tag for image should be used in Kubernetes ( #3601 )
2024-02-06 10:59:29 +01:00
github-actions[bot]
67065e20e1
Create rule S6896: "add" and "addAll" should not be invoked on Maps keySets, values, and entries ( #3585 )
2024-02-06 10:25:52 +01:00
SonarTech
113959f62f
update coverage information
2024-02-06 00:32:33 +00:00
github-actions[bot]
99b1bf6896
Create rule S6902: SequencedCollection methods should be used to get the first or last element ( #3596 )
...
* Create rule S6902: SequencedCollection methods should be preferred to get the first or last element
* fix from review
---------
Co-authored-by: alban-auzeill <alban-auzeill@users.noreply.github.com>
Co-authored-by: Alban Auzeill <alban.auzeill@sonarsource.com>
2024-02-05 15:27:23 +01:00
Yassin Kammoun
6df51a3098
Modify rule S4323: Ignore nullable types ( #3587 )
2024-02-05 13:42:13 +01:00
Martin Strecker
8e5fbac5fd
Modify rule S2386 and S3887: Add frozen collection types ( #3594 )
2024-02-05 13:40:57 +01:00
github-actions[bot]
60ffca256a
Create rule S6881: VirtualThreads should be used for tasks that include heavy blocking operations ( #3566 )
2024-02-05 12:14:57 +01:00
leonardo-pilastri-sonarsource
90dd1316f0
Add dbd to plugin list to compute rules coverage ( #3602 )
2024-02-05 12:03:14 +01:00
github-actions[bot]
c952ffba2f
Create rule S1874: Deprecated code should not be used in Kubernetes ( #3593 )
2024-02-05 11:10:25 +01:00
Ilia Kebets
5f9ac5556a
Modify rule S6661: clarify advantages of new syntax ( #3575 )
2024-02-05 08:45:57 +00:00
github-actions[bot]
0ac3ce59aa
Create rule S6897: Storage requests should be added ( #3586 )
2024-02-05 09:39:27 +01:00
SonarTech
4162c07a60
update coverage information
2024-02-03 00:32:38 +00:00
Loïc Joly
256535b1f6
Modify rule S1242(cfamily):CPP-4790 Improve documentation with 'using'
2024-02-02 22:08:20 +01:00
John-Clifton-SonarSource
058eecd419
Update description.adoc to allow for freeform text in 'how' tab
...
We allow for freeform text in the 'why' tab. We want to allow for this in the 'how' tab.
I have updated the language a bit to talk about 'story-telling' rather than 'blog style' because I think that better reflects how we expect this approach to be used.
I have also removed the (optional) markers and just added in the one (mandatory) marker needed since the optional markers weren't correct anymore.
2024-02-02 17:59:17 +01:00
Fred Tingaud
1ebb437042
Allow free titles in 'How to fix it'
2024-02-02 16:57:26 +00:00
kevin.hinz
d9656053c0
Modify rule S927: Update rule description ( #3599 )
...
Suggested change by the Docs Squad:
- specify pronoun to clarify what "it" is
- fix plural possessives
2024-02-02 17:36:43 +01:00
github-actions[bot]
0cba61c7e5
CPP-4802 Create rule S6872: Aggregates should be initialized with braces in non-generic code
2024-02-02 10:48:05 +01:00
Ilia Kebets
f7c5606e71
Modify rule S4123: move hint about JSdoc to exception, specifying that it's about the @returns tag ( #3582 )
2024-02-01 15:25:39 +00:00
github-actions[bot]
1598ec12b6
Create rule S6893: Ensure whitespace in-between braces in template directives ( #3581 )
2024-02-01 16:04:40 +01:00
github-actions[bot]
fcf891083e
Create rule S6888: "case null" should be preferred over "if" pre-condition ( #3574 )
2024-02-01 15:43:26 +01:00
github-actions[bot]
46b2c9eba6
Create rule S6875: SequencedCollection method should be used to add or remove first or last element ( #3560 )
2024-02-01 15:11:52 +01:00
github-actions[bot]
a22f6348c1
Modify rule S117: Variable names should comply with a naming convention in Kubernetes ( #3590 )
2024-02-01 11:34:30 +01:00
github-actions[bot]
15ee5b3875
Create rule S6892: CPU requests should be enforced ( #3580 )
2024-02-01 11:15:39 +01:00
github-actions[bot]
e8879ca088
Create rule S6877: SequencedCollection reversed view should be used instead of Collections.reverse for read-only lists ( #3562 )
...
Co-authored-by: leonardo-pilastri-sonarsource <115481625+leonardo-pilastri-sonarsource@users.noreply.github.com>
2024-02-01 09:29:17 +01:00
SonarTech
b40a28cb46
update coverage information
2024-02-01 00:33:02 +00:00
Eric Morand
d2f786adb3
Modify rule S2871: Emphasize the necessity of using String.localeCompare to sort arrays of strings ( #3576 )
...
* Modify rule S2871: Add exception for arrays of strings
* S2871: Remove the exception mention and emphasize the usage of String.localeCompare
2024-01-31 17:27:47 +01:00
github-actions[bot]
d301b56761
Create rule S6876: SequencedCollection reversed view should be used for reverse iteration order ( #3561 )
...
Co-authored-by: leonardo-pilastri-sonarsource <115481625+leonardo-pilastri-sonarsource@users.noreply.github.com>
2024-01-31 14:04:46 +01:00
github-actions[bot]
e27296f3d1
Create rule S6874: Variable names should comply with a naming convention ( #3557 )
2024-01-31 12:48:22 +01:00
github-actions[bot]
92d1729857
Create rule S6873: Memory requests should be enforced ( #3555 )
2024-01-31 12:08:43 +01:00
github-actions[bot]
3612257f44
Create rule S6880, Use switch instead of if-else chain to compare a variable against multiple cases ( #3565 )
2024-01-31 11:50:54 +01:00
github-actions[bot]
e369ea0960
Create rule S6885 ( #3571 )
2024-01-31 11:22:19 +01:00
github-actions[bot]
529611e08b
CPP-4792 Create rule S6871: All the elements of an aggregate should be provided with an initial value
2024-01-31 11:18:24 +01:00
tomasz-kaminski-sonarsource
d8063fa808
Replace repox-npm-proxy with https://registry.npmjs.org
2024-01-31 09:56:30 +00:00
daniel-teuchert-sonarsource
b7c4d7a88c
Modify rule S6504: Clarify intention of rule (APPSEC-1350) ( #3528 )
...
* Adjust rule S6504
* Update rules/S6504/docker/rule.adoc
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
* Update rules/S6504/docker/rule.adoc
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
* Adjustments after review
* Added information to recommended secure coding practices
* Update rule.adoc
---------
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
2024-01-31 10:37:36 +01:00
github-actions[bot]
6168ed121e
Create rule S6879: Thread.ofVirtual().start(Runnable task) method chain should not be used ( #3564 )
2024-01-30 16:59:39 +01:00
Eric MORAND
8f17ae938a
Modify rule S4123: Add clarification about returning a promise and JSdoc ( #3556 )
...
Co-authored-by: Ilia Kebets <ilia.kebets@sonarsource.com>
2024-01-30 14:21:10 +01:00
leonardo-pilastri-sonarsource
fae9f98957
Modify rule S6741: Fix broken pandas docs link ( #3568 )
2024-01-30 11:53:35 +01:00
SonarTech
dafeb03dd7
update coverage information
2024-01-30 00:32:43 +00:00
github-actions[bot]
33a29b7555
Create rule S5332 ( #3526 )
2024-01-29 15:16:07 +01:00
kevin.hinz
e898599466
Docs review patch 3 ( #3544 )
2024-01-29 14:28:14 +01:00
Cristian Ambrosini
7477890d87
S120: Add code examples for PLSQL ( #3558 )
2024-01-29 14:08:34 +01:00
SonarTech
44af686c39
update coverage information
2024-01-27 00:33:02 +00:00
Philipp Dominik Schubert
5c058a0fad
Modify Rule S2699: Fix Typos ( #3482 )
2024-01-26 15:46:17 +01:00