Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary misspell ignore pattern #21475

Merged
merged 2 commits into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion modules/paginator/paginator.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion modules/paginator/paginator_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion modules/references/references_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down