git: 385b6aabb1 - main - vale/styles: Remove Repitition rule

Muhammad Moinur Rahman <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/doc/commit/?id=385b6aabb1f1f76ed307772c9779f21be205fbec

commit 385b6aabb1f1f76ed307772c9779f21be205fbec
Author:     Muhammad Moinur Rahman <[email protected]>
AuthorDate: 2023-04-25 11:36:37 +0000
Commit:     Muhammad Moinur Rahman <[email protected]>
CommitDate: 2023-04-25 11:37:34 +0000

    vale/styles: Remove Repitition rule
    
    Vale now comes with it's own Repetition rules. Utilize that rule instead
    of the FreeBSD one and also remove the FreeBSD rule of Repititon.
    
    Approved by:    carlavilla (mentor)
    Differential Revision:  https://reviews.freebsd.org/D39704
---
 .vale.ini                           | 4 ++--
 .vale/styles/FreeBSD/Repitition.yml | 6 ------
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/.vale.ini b/.vale.ini
index 471e9e97a5..ec3b7f3142 100644
--- a/.vale.ini
+++ b/.vale.ini
@@ -20,11 +20,11 @@ FreeBSD.Contractions = NO
 FreeBSD.Hang = NO
 FreeBSD.Hyphens = NO
 FreeBSD.SuperfluousOptArgInLinks = NO
-FreeBSD.Repitition = NO
 FreeBSD.SemanticLineBreak = NO
 FreeBSD.Spacing = NO
 FreeBSD.Weasel = NO
 Vale.Avoid= NO
+Vale.Repetition = NO
 Vale.Spelling = NO
 Vale.Terms= NO
 
@@ -36,10 +36,10 @@ FreeBSD.Contractions = NO
 FreeBSD.Hang = NO
 FreeBSD.Hyphens = NO
 FreeBSD.SuperfluousOptArgInLinks = NO
-FreeBSD.Repitition = NO
 FreeBSD.SemanticLineBreak = NO
 FreeBSD.Spacing = NO
 FreeBSD.Weasel = NO
 Vale.Avoid= NO
+Vale.Repetition = NO
 Vale.Spelling = NO
 Vale.Terms= NO
diff --git a/.vale/styles/FreeBSD/Repitition.yml b/.vale/styles/FreeBSD/Repitition.yml
deleted file mode 100644
index fb35988ec2..0000000000
--- a/.vale/styles/FreeBSD/Repitition.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-extends: repetition
-message: "'%s' is repeated!"
-level: warning
-alpha: true
-tokens:
-    - '[^\s]+'
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.