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 c7fe989
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
5 changes: 0 additions & 5 deletions .vale/fixtures/RedHat/GitLinks/.vale.ini

This file was deleted.

5 changes: 5 additions & 0 deletions .vale/fixtures/RedHat/GitLinks/.vale.ini.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
; 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
12 changes: 0 additions & 12 deletions .vale/styles/RedHat/GitLinks.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .vale/styles/RedHat/GitLinks.yml.old
Original file line number Diff line number Diff line change
@@ -0,0 +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)'

0 comments on commit c7fe989

Please sign in to comment.