1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00

Remove unnecessary misspell ignore pattern (#21475)

It doesn't make sense to ignore the pattern again and again.
This commit is contained in:
wxiaoguang 2022-10-19 00:52:25 +08:00 committed by GitHub
parent f0182d8840
commit 0614ae1c44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -280,7 +280,7 @@ fmt-check: fmt
.PHONY: misspell-check
misspell-check:
go run $(MISSPELL_PACKAGE) -error -i unknwon $(GO_DIRS) $(WEB_DIRS)
go run $(MISSPELL_PACKAGE) -error $(GO_DIRS) $(WEB_DIRS)
.PHONY: vet
vet:

View file

@ -1,5 +1,5 @@
// Copyright 2022 The Gitea Authors.
// Copyright 2015 Unknwon. Licensed under the Apache License, Version 2.0
// Copyright 2015 https://github.com/unknwon. Licensed under the Apache License, Version 2.0
package paginator

View file

@ -1,5 +1,5 @@
// Copyright 2022 The Gitea Authors.
// Copyright 2015 Unknwon. Licensed under the Apache License, Version 2.0
// Copyright 2015 https://github.com/unknwon. Licensed under the Apache License, Version 2.0
package paginator

View file

@ -309,7 +309,7 @@ func TestRegExp_mentionPattern(t *testing.T) {
pat string
exp string
}{
{"@Unknwon", "@Unknwon"},
{"@User", "@User"},
{"@ANT_123", "@ANT_123"},
{"@xxx-DiN0-z-A..uru..s-xxx", "@xxx-DiN0-z-A..uru..s-xxx"},
{" @lol ", "@lol"},