Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144493549
D39569.1774968331.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
880 B
Referenced Files
None
Subscribers
None
D39569.1774968331.diff
View Options
diff --git a/.vale.ini b/.vale.ini
--- a/.vale.ini
+++ b/.vale.ini
@@ -19,6 +19,7 @@
FreeBSD.Contractions = NO
FreeBSD.Hang = NO
FreeBSD.Hyphens = NO
+FreeBSD.SuperfluousOptArgInLinks = NO
FreeBSD.Repitition = NO
FreeBSD.SemanticLineBreak = NO
FreeBSD.Spacing = NO
@@ -34,6 +35,7 @@
FreeBSD.Contractions = NO
FreeBSD.Hang = NO
FreeBSD.Hyphens = NO
+FreeBSD.SuperfluousOptArgInLinks = NO
FreeBSD.Repitition = NO
FreeBSD.SemanticLineBreak = NO
FreeBSD.Spacing = NO
diff --git a/.vale/styles/FreeBSD/SuperfluousOptArgInLinks.yml b/.vale/styles/FreeBSD/SuperfluousOptArgInLinks.yml
new file mode 100644
--- /dev/null
+++ b/.vale/styles/FreeBSD/SuperfluousOptArgInLinks.yml
@@ -0,0 +1,7 @@
+extends: existence
+message: "Displayed text coincides with URL, leave the brackets empty: %s"
+ignorecase: true
+level: suggestion
+scope: raw
+raw:
+ - 'link:([^ ]*)\/?\[\1\/?\]'
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 31, 2:45 PM (2 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28235005
Default Alt Text
D39569.1774968331.diff (880 B)
Attached To
Mode
D39569: Vale: Add rule to avoid redundant link
Attached
Detach File
Event Timeline
Log In to Comment