-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forbid adding direct links to rules.sonarsource.com
- Loading branch information
1 parent
14fd3e1
commit 50b4d12
Showing
10 changed files
with
46 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
rspec-tools/tests/resources/invalid-asciidoc/link_rule_sonarsource_com.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
== Title | ||
|
||
In this case, there is also an impact on reliability and so it is handled by the rule https://rules.sonarsource.com/java/RSPEC-5810/[S5810]. | ||
|
||
=== Documentation | ||
|
||
* https://rules.sonarsource.com/csharp/RSPEC-6420/[S6420 - Client instances should not be recreated on each Azure Function invocation] | ||
|
||
|
||
ifdef::env-github,rspecator-view[] | ||
|
||
https://rules.sonarsource.com/csharp/RSPEC-6420/[We ignore rspecator view] | ||
|
||
endif::env-github,rspecator-view[] | ||
|
||
http://rules.sonarsource.com/csharp/RSPEC-6420/[We detect http too] |
2 changes: 1 addition & 1 deletion
2
rspec-tools/tests/resources/invalid-asciidoc/snapshots/include_stuck_after.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
$PATH/include_stuck_after.adoc:3 An empty line is missing after the include. | ||
This may result in broken tags and other display issues. | ||
Make sure there are always empty lines before and after each include | ||
Make sure there are always empty lines before and after each include. |
2 changes: 1 addition & 1 deletion
2
rspec-tools/tests/resources/invalid-asciidoc/snapshots/include_stuck_before.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
$PATH/include_stuck_before.adoc:2 An empty line is missing before the include. | ||
This may result in broken tags and other display issues. | ||
Make sure there are always empty lines before and after each include | ||
Make sure there are always empty lines before and after each include. |
6 changes: 6 additions & 0 deletions
6
rspec-tools/tests/resources/invalid-asciidoc/snapshots/link_rule_sonarsource_com.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
$PATH/link_rule_sonarsource_com.adoc:3 Do not put direct links to https://rules.sonarsource.com/. | ||
Just use the rule ID and let cross-reference substitution do its job. | ||
$PATH/link_rule_sonarsource_com.adoc:7 Do not put direct links to https://rules.sonarsource.com/. | ||
Just use the rule ID and let cross-reference substitution do its job. | ||
$PATH/link_rule_sonarsource_com.adoc:16 Do not put direct links to https://rules.sonarsource.com/. | ||
Just use the rule ID and let cross-reference substitution do its job. |
4 changes: 2 additions & 2 deletions
4
rspec-tools/tests/resources/invalid-asciidoc/snapshots/two_stuck_includes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
$PATH/two_stuck_includes.adoc:3 An empty line is missing after the include. | ||
This may result in broken tags and other display issues. | ||
Make sure there are always empty lines before and after each include | ||
Make sure there are always empty lines before and after each include. | ||
$PATH/two_stuck_includes.adoc:4 An empty line is missing before the include. | ||
This may result in broken tags and other display issues. | ||
Make sure there are always empty lines before and after each include | ||
Make sure there are always empty lines before and after each include. |
4 changes: 2 additions & 2 deletions
4
rspec-tools/tests/resources/invalid-asciidoc/snapshots/unnamed_language.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
$PATH/unnamed_language.adoc:1 To avoid rendering issues, always use the "{cpp}" attribute to refer to the language C++ | ||
$PATH/unnamed_language.adoc:3 To avoid rendering issues, always use the "{cpp}" attribute to refer to the language C++ | ||
$PATH/unnamed_language.adoc:1 To avoid rendering issues, always use the "{cpp}" attribute to refer to the language C++. | ||
$PATH/unnamed_language.adoc:3 To avoid rendering issues, always use the "{cpp}" attribute to refer to the language C++. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters