2242 Commits

Author SHA1 Message Date
Sebastien Marichal
8632f42ef1
Modify rule S3260: Update rule to include file access modifier (#1798) 2023-06-05 17:37:15 +02:00
Fred Tingaud
32593aad3b
Modify rule S4144: Adapt to LaYC format (#1935)
Co-authored-by: Quentin Jaquier <quentin.jaquier@sonarsource.com>
2023-06-05 17:24:05 +02:00
leonardo-pilastri-sonarsource
16d41524f1
SONARJAVA-4488 Modify rule S2151: reformulate description, fix code examples (#2051) 2023-06-05 16:34:49 +02:00
Fred Tingaud
6eb60ef881
Modify rule S3972: LaYC (Conditional on new line) 2023-06-05 16:32:25 +02:00
github-actions[bot]
36c5c7a1d9
Create rule S6638: Binary expressions should not always return the same value (#1939)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6638/javascript)
(updated a few minutes after each push).

https://github.com/SonarSource/SonarJS/issues/3888

---------

Co-authored-by: alexander-kamushkin-sonarsource <alexander-kamushkin-sonarsource@users.noreply.github.com>
Co-authored-by: Alexander Kamushkin <alexander.kamushkin@sonarsource.com>
2023-06-05 16:14:23 +02:00
Irina Batinic
48f9a31942
Modify rule S2112: Update rule according to the LayC (#2043) 2023-06-05 15:22:34 +02:00
Gregory Paidis
81ef411b49
S1909: Remove C# since the rule is not applicable (#1965) 2023-06-05 13:14:28 +02:00
Sebastien Marichal
e23289a726
Modify rule S6617: Remove exception code snippet (#2039) 2023-06-05 10:57:04 +02:00
Sebastien Marichal
5bfc5ec56e
Modify rule S6605: Remove exception code snippet (#2038) 2023-06-05 10:47:28 +02:00
Fred Tingaud
bffcad6e53
Modify rule S3973: LaYC Indenting if (#1947)
Co-authored-by: vilchik.elena <elena.vilchik@sonarsource.com>
2023-06-05 08:31:02 +00:00
SonarTech
081bdcffc4 update coverage information 2023-06-03 00:35:49 +00:00
Fred Tingaud
3c08bcb34b
Support inclusions through variables 2023-06-02 17:10:20 +00:00
Sebastien Marichal
ccfd171621
Modify rule S6617: Add Exception section (#2029) 2023-06-02 17:13:01 +02:00
Sebastien Marichal
7bd8e2486d
Modify rule S6605: Add Exception section (#2027) 2023-06-02 17:11:43 +02:00
leonardo-pilastri-sonarsource
29ffd3dca9
SONARJAVA-4488 Modify rule S2142: rewrite in new education format (#2030) 2023-06-02 17:04:44 +02:00
Marco Kaufmann
7569fdb857
Modify rule S1220: Reworked into new educational format (#2001) 2023-06-02 15:54:42 +02:00
Marco Kaufmann
4902e36f28
Modify rule S1217: Reworked into new educational format (#1990) 2023-06-02 15:54:01 +02:00
Marco Kaufmann
5b376da518
Modify rule S1214: Reworked into new educational format (#1967) 2023-06-02 15:53:30 +02:00
github-actions[bot]
b01e74d15d
Modify rule S2133: mark quick fix as "targeted" (#2018) 2023-06-02 12:52:21 +00:00
github-actions[bot]
ccb31e8dc1
Create rule S6640: unsafe code block (C#) (#1945)
[Specification
ticket](https://sonarsource.atlassian.net/browse/APPSEC-729)
[AppSec PoC](https://github.com/SonarSource/appsec-poc/pull/147)
[Implementation
ticket](https://github.com/SonarSource/sonar-dotnet/issues/7290)

[RSPEC
Preview](https://sonarsource.github.io/rspec/#/rspec/S6640/csharp)

---------

Co-authored-by: egon-okerman-sonarsource <egon-okerman-sonarsource@users.noreply.github.com>
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
2023-06-02 14:28:59 +02:00
Dorian Burihabwa
03be5789fa
SONARJAVA-4488 Modify S2130: Add more examples of non-compliant code (#2015) 2023-06-02 11:46:22 +02:00
Dorian Burihabwa
ed1ecb67b9
SONARJAVA-4488 Modify S2133: Update rule title and formatting (#2017) 2023-06-02 08:28:54 +00:00
Dorian Burihabwa
2f45daf330
SONARJAVA-4488 Modify S2129: Rework Why is this an issue section (#2012) 2023-06-01 17:47:44 +02:00
ADarko22
716bcbf51d
Modify rule s2111 (#2010) 2023-06-01 17:02:30 +02:00
Dorian Burihabwa
d15d215b81
SONARJAVA-4482 Modify S1161: Rework Why is this an issue section (#2008) 2023-06-01 16:39:18 +02:00
github-actions[bot]
eac025f559
Modify rule S1153: mark quick fix as "targeted" (#2002) 2023-06-01 13:53:15 +00:00
ADarko22
6e4bc94336
Modify rule S1201: Update rule according to the LayC (#2006)
Co-authored-by: Irina Batinic <irina.batinic@sonarsource.com>
2023-06-01 15:44:26 +02:00
leonardo-pilastri-sonarsource
8d6bee7398
SONARJAVA-4482 Modify rule S1158: refactor code examples (#2004) 2023-06-01 15:43:53 +02:00
Irina Batinic
1527b398e6
Modify rule S1195: Update rule according to the LayC (#1999)
Co-authored-by: ADarko22 <angelo.buono@sonarsource.com>
2023-06-01 15:26:51 +02:00
leonardo-pilastri-sonarsource
4e278ff18e
SONARJAVA-4482 Modify rule S1157: small refactor (#2000) 2023-06-01 15:06:48 +02:00
leonardo-pilastri-sonarsource
cdb1e86dc2
SONARJAVA-4482 Modify rule S1153: simplify code examples (#1998) 2023-06-01 14:30:56 +02:00
Nils Werner
cc62be2485
Revert "Create rule S6418 (#1821)" (#1995)
This reverts commit c9577afe581cc8010cd8831b423374ace562cf62.
2023-06-01 14:05:46 +02:00
github-actions[bot]
86ef2a4116
Create rule S6639: Memory allocations should not be vulnerable to Denial of Service attacks (APPSEC-730) (#1944) 2023-06-01 13:58:18 +02:00
Irina Batinic
bf85b795d7
Modify rule S1193: Update rule according to the LayC (#1982) 2023-06-01 08:41:29 +02:00
SonarTech
ef5a9de83a update coverage information 2023-06-01 00:39:22 +00:00
Gregory Paidis
3ce3b71511
S6608: Refactor the position of benchmark results (#1989) 2023-05-31 18:21:16 +02:00
leonardo-pilastri-sonarsource
ab064806d2
SONARJAVA-4482 Modify S1130: rewrite Why is this an issue in LaYC form, refactor exceptions (#1987) 2023-05-31 15:20:51 +00:00
Irina Batinic
3f07a5a080
Modify rule S1191: Update rule according to the LayC (#1977) 2023-05-31 16:31:06 +02:00
Balázs Benics
55d88e9e4d
Modify rule S836: mark quickfix as infeasible 2023-05-31 14:26:57 +00:00
Dorian Burihabwa
c74cddea80
Modify rule S1149: Rewrite Why is this an issue, update code samples (#1972) 2023-05-31 16:20:47 +02:00
Irina Batinic
a8b80afeaa
Modify rule S1190: Update rule according to the LayC (#1973) 2023-05-31 16:04:32 +02:00
Irina Batinic
b89d127aa3
Irina/modify rule s1182 (#1968) 2023-05-31 15:35:45 +02:00
Dorian Burihabwa
f183ddb999
Modify rule S1150: Rewrite why is this an issue (#1974) 2023-05-31 15:29:42 +02:00
leonardo-pilastri-sonarsource
f6638d3d81
Modify rule S1113: more context on Why is this an issue and potential impact (#1964) 2023-05-31 15:18:21 +02:00
Yassin Kammoun
9fcd22ce22
Modify rule S4622: Add exception for TypeScript Utility Types (#1969) 2023-05-31 14:03:56 +02:00
Irina Batinic
482aebb9f1
Modify rule S1165: Add and update 'How to fix it' and 'Code examples'… (#1954) 2023-05-30 17:09:03 +02:00
leonardo-pilastri-sonarsource
66c1938cc7
Modify rule S1111: more context to Why is this an issue (#1961) 2023-05-30 16:36:33 +02:00
Irina Batinic
89332698e5
Irina/modify rule s1171 (#1963) 2023-05-30 16:06:53 +02:00
Dorian Burihabwa
8d151af5d2
Modify rule S2755: Add missing space between asciidoc inclusion and header (#1959) 2023-05-30 14:04:31 +02:00
Cristian Ambrosini
9fe3f47203
Modify rule S6613: quickfix covered (#1953) 2023-05-30 13:33:47 +02:00