Eric Morand
7c9aad50bf
RULEAPI-836 - Add compatibleLanguages
to javascript rule manifests ( #4731 )
2025-03-17 09:58:46 +00:00
Yassin Kammoun
5d105088f2
Revert "SONARFLEX-176 Deprecate Flex rules ( #4169 )" ( #4527 )
...
This reverts commit 916a63f5ac11a999454a2d2be41c3d65d22ed34b.
2024-11-22 12:50:33 +01:00
Ilia Kebets
916a63f5ac
SONARFLEX-176 Deprecate Flex rules ( #4169 )
...
* Deprecate Flex rules
* fix validation check failing
2024-08-21 12:04:12 +02:00
Rudy Regazzoni
fcf0c89e3e
Modify rule S100: adapt PHP explanation to include Drupal exception ( #4131 )
2024-08-09 14:06:26 +02:00
leonardo-pilastri-sonarsource
cc4f916e89
Update metadata using script, taking parent scope into account ( #4000 )
...
Co-authored-by: valentin.aebi <valentin.aebi@sonarsource.com>
2024-06-19 14:12:52 +02:00
github-actions[bot]
a2241c39a3
Modify rule S100: add language JCL ( #3723 )
...
* Add jcl to rule S100
* Provide JCL details
* Address review comment
---------
Co-authored-by: rudy-regazzoni-sonarsource <rudy-regazzoni-sonarsource@users.noreply.github.com>
Co-authored-by: Rudy Regazzoni <110470341+rudy-regazzoni-sonarsource@users.noreply.github.com>
2024-03-12 14:53:36 +01:00
Antonio Aversa
a02bf814d4
Clean Code Taxonomy: add "code" to all non-obsolete metadata.json ( #2793 )
2023-08-04 17:19:38 +02:00
Martin Strecker
f0f54b8f7a
Modify rule S100: Revert accidental change ( #2789 )
...
Revert an accidental change introduced in #2713 .
2023-08-04 11:54:05 +02:00
Martin Strecker
49bcb7ce8a
Modify rule S3925: Adopt exception description to the new behavior ( #2713 )
...
Add the new behavior to the RSpec introduced by
https://github.com/SonarSource/sonar-dotnet/pull/7673
## Review
A dedicated reviewer checked the rule description successfully for:
- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule )
2023-08-03 15:41:46 +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
Amélie Renard
6ebac03a85
Modify rule S100: fix LaYC for Java and JS/TS ( #2165 )
2023-06-13 16:27:23 +02:00
Amélie Renard
aa331b9b5e
Modify rule S100: LaYC format
2023-06-06 17:27:22 +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
Victor
fe961619f9
migrate rule descriptions to new education format
2023-05-05 16:29:04 +02:00
Nils Werner
6aacfef84f
Drop PHP profiles PSR-2 and Drupal ( #1272 )
2022-09-19 14:25:27 +02:00
Yassin Kammoun
51c013f814
Modify rule S100: Ignore React Functional Components ( #949 )
2022-04-12 16:58:51 +02:00
Fred Tingaud
b4161466e6
RULEAPI-661: Add syntax coloring
2022-02-04 16:28:24 +00:00
Fred Tingaud
7d868d3f35
Use a more readable form to display parameters
2022-02-01 12:25:23 +00:00
Čaba Šagi
72ab378e65
Revert All to Main scope change for all languages except javascript ( #578 )
2021-11-11 11:01:39 +01:00
Elena Vilchik
7a5f08bd8d
Set scope 'Main' for javascript rules ( #491 )
2021-10-14 12:25:50 +02:00
Arseniy Zaostrovnykh
6a0ec99e78
RULEAPI-706: Add quick fixes metadata
2021-10-07 09:23:15 +00:00
Arseniy Zaostrovnykh
2301f5808e
RULEAPI-695: remove extra/coveredLanguages field
2021-09-28 13:36:45 +02:00
Arseniy Zaostrovnykh
ec55b6ead1
RULEAPI-687: Migrate legacy keys from Jira RSPEC ( #392 )
2021-09-24 09:08:46 +02: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
acadea59e9
move coveredLangauges and replacementRules into extra field
2021-02-16 17:52:17 +01:00
Arseniy Zaostrovnykh
1d713451d6
Undo the abuse of compatibleLanguages metadata field
2021-02-16 15:00:44 +01:00
Arseniy Zaostrovnykh
a09a26d560
fix hading of {{\+}} and sort the compatible languages
2021-02-08 12:42:26 +01:00
Arseniy Zaostrovnykh
b62862646c
move typescript rules to javascript directory
2021-02-08 10:49:37 +01:00
sonartech
0ffbfb133d
Nightly update
2021-02-06 04:10:49 +00:00
Arseniy Zaostrovnykh
af8cda992b
unescape more things
2021-02-05 10:34:25 +01:00
Arseniy Zaostrovnykh
402a7d7be3
sort metadata fields
2021-02-04 12:27:03 +01:00
Arseniy Zaostrovnykh
f6093ee186
Overapproximate compatibleLanguages and tags/standards
2021-02-02 19:11:00 +01:00
Arseniy Zaostrovnykh
7ca29f686f
Force linebreaks
2021-02-02 15:02:10 +01:00
Arseniy Zaostrovnykh
1a22006270
Add coveredLanguages field
2021-01-29 15:53:23 +01:00
Arseniy Zaostrovnykh
b6fd6c497d
process the in-line code syntax separately
2021-01-28 15:53:33 +01:00
Arseniy Zaostrovnykh
1f8d533ce2
Fix the double-plus ++ handling in the inline-code
2021-01-27 16:57:09 +01:00
Arseniy Zaostrovnykh
d4598ce0f9
make in-line code blocks verbatim
2021-01-27 13:42:22 +01:00
Arseniy Zaostrovnykh
0a8c5eafce
add replacementRules metadata field
2021-01-26 16:58:13 +01:00
Arseniy Zaostrovnykh
fb261af631
Quality profiles for customized rules
2021-01-07 12:13:35 +01:00
Arseniy Zaostrovnykh
232269f3ce
Add default quality profiles
2021-01-07 11:08:42 +01:00
Arseniy Zaostrovnykh
d96d948333
change the inline-code delimitters
2020-12-23 14:59:06 +01:00
Arseniy Zaostrovnykh
ed53c1610b
Add all rules, update all rules fixing the inline code syntax
2020-12-21 15:38:52 +01:00
Alban Auzeill
2c306d110e
Fix code block ambiguity with old header style
...
Ensure blank line before list and clean the one leading space
2020-06-30 17:16:12 +02:00
Alban Auzeill
5d344116ef
Add rules 100-128 ( #10 )
2020-06-30 10:16:44 +02:00