Skip to content

Commit 0614ae1

Browse files
authored
Remove unnecessary misspell ignore pattern (#21475)
It doesn't make sense to ignore the pattern again and again.
1 parent f0182d8 commit 0614ae1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ fmt-check: fmt
280280

281281
.PHONY: misspell-check
282282
misspell-check:
283-
go run $(MISSPELL_PACKAGE) -error -i unknwon $(GO_DIRS) $(WEB_DIRS)
283+
go run $(MISSPELL_PACKAGE) -error $(GO_DIRS) $(WEB_DIRS)
284284

285285
.PHONY: vet
286286
vet:

modules/paginator/paginator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright 2022 The Gitea Authors.
2-
// Copyright 2015 Unknwon. Licensed under the Apache License, Version 2.0
2+
// Copyright 2015 https://github.com/unknwon. Licensed under the Apache License, Version 2.0
33

44
package paginator
55

modules/paginator/paginator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright 2022 The Gitea Authors.
2-
// Copyright 2015 Unknwon. Licensed under the Apache License, Version 2.0
2+
// Copyright 2015 https://github.com/unknwon. Licensed under the Apache License, Version 2.0
33

44
package paginator
55

modules/references/references_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ func TestRegExp_mentionPattern(t *testing.T) {
309309
pat string
310310
exp string
311311
}{
312-
{"@Unknwon", "@Unknwon"},
312+
{"@User", "@User"},
313313
{"@ANT_123", "@ANT_123"},
314314
{"@xxx-DiN0-z-A..uru..s-xxx", "@xxx-DiN0-z-A..uru..s-xxx"},
315315
{" @lol ", "@lol"},

0 commit comments

Comments
 (0)