Skip to content

Commit

Permalink
comment out gitlink rule
Browse files Browse the repository at this point in the history
  • Loading branch information
apinnick committed Jan 8, 2025
1 parent 0395c53 commit c336817
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions .vale/fixtures/RedHat/GitLinks/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; Vale configuration file to test the `GitLinks` rule
StylesPath = ../../../styles
MinAlertLevel = warning
[*.adoc]
RedHat.GitLinks = YES
; ; Vale configuration file to test the `GitLinks` rule
; StylesPath = ../../../styles
; MinAlertLevel = warning
; [*.adoc]
; RedHat.GitLinks = YES
4 changes: 2 additions & 2 deletions .vale/fixtures/RedHat/GitLinks/testinvalid.adoc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
https://github.com/project
https://gitlab.com/project
// https://github.com/project
// https://gitlab.com/project
4 changes: 2 additions & 2 deletions .vale/fixtures/RedHat/GitLinks/testvalid.adoc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
https://github.com/redhat-developer
https://github.com/openshift
// https://github.com/redhat-developer
// https://github.com/openshift
24 changes: 12 additions & 12 deletions .vale/styles/RedHat/GitLinks.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
extends: existence
message: Do not include a link to %s unless it is explicitly approved.
link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/gitlinks/
ignorecase: true
level: warning
scope: raw
action:
name: remove
tokens:
- 'https:\/\/gitlab\.com'
- 'https:\/\/github\.com(?!\/openshift|\/redhat-developer)'
# ---
# extends: existence
# message: Do not include a link to %s unless it is explicitly approved.
# link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/gitlinks/
# ignorecase: true
# level: warning
# scope: raw
# action:
# name: remove
# tokens:
# - 'https:\/\/gitlab\.com'
# - 'https:\/\/github\.com(?!\/openshift|\/redhat-developer)'

0 comments on commit c336817

Please sign in to comment.