mirror of
1
Fork 0

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"},