Antonio Aversa
a02bf814d4
Clean Code Taxonomy: add "code" to all non-obsolete metadata.json ( #2793 )
2023-08-04 17:19:38 +02:00
Guillaume Dequenne
7d5ded1c39
Modify rule S2761: fix typo ( #2248 )
2023-06-22 17:24:32 +02:00
Fred Tingaud
51369b610e
Make sure that includes are always surrounded by empty lines ( #2270 )
...
When an include is not surrounded by empty lines, its content is inlined
on the same line as the adjacent content. That can lead to broken tags
and other display issues.
This PR fixes all such includes and introduces a validation step that
forbids introducing the same problem again.
2023-06-22 10:38:01 +02:00
Fred Tingaud
84f1ddd588
Modify rule S2761: LaYC multiple unary operators
...
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com>
2023-06-16 16:00:06 +02:00
Victor
fe961619f9
migrate rule descriptions to new education format
2023-05-05 16:29:04 +02:00
marco-bearzi-sonarsource
d26c72fd30
Modify rule S2761: Add more precise error message and description for python ( #907 )
...
* Add more precise error message and description
* Insert exception
* Update compliant code to take into account the bool() function
2022-03-18 17:41:25 +01:00
marco-bearzi-sonarsource
5f47dbbe15
Modify rule S2761: Rectify comments ( #905 )
2022-03-15 15:50:38 +01:00
Andrea Guarino
23a9a29023
Modify rule S2761: edit title and description for Python ( #837 )
...
* Edit title and description of rule S2761 for Python
* Fix after review
* Update type to code smell
* Update message
Co-authored-by: Marco Bearzi <marco.bearzi@sonarsource.com>
2022-03-14 15:07:47 +01:00
Arseniy Zaostrovnykh
f7904cebe7
RULEAPI-666: Migrate the "List of parameters", "Highlighting" and "Message" fields from jira RSPEC ( #346 )
2021-09-20 13:38:42 +00:00
Arseniy Zaostrovnykh
b76bc57083
RULEAPI-576: add a horizontal rule between rule description and comments
2021-06-08 15:52:13 +02:00
Arseniy Zaostrovnykh
6c1ad2c13c
Fix the comment display: rule-id, timestamp, GH visibility, link direction
2021-06-03 09:05:38 +02:00
Arseniy Zaostrovnykh
cdd7690a79
Export comments and rspec-to-rspec links from jira
2021-06-02 20:44:38 +02:00
Arseniy Zaostrovnykh
ed53c1610b
Add all rules, update all rules fixing the inline code syntax
2020-12-21 15:38:52 +01:00