Skip to content

Commit 499997d

Browse files
committed
review: fix typo
1 parent 46a49a1 commit 499997d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pkg/lint/lintersdb/builder_plugin_go.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func (b *PluginGoBuilder) getAnalyzerPlugin(cfg *config.Config, path string, set
8585
if !filepath.IsAbs(path) {
8686
// Hack for compatibility:
8787
// the previous default (v1) was `cfg` but `fsutils.GetBasePath` defaults on `wd`.
88-
// TODO(ldez): should be remove in v2.
88+
// TODO(ldez): should be removed in v2.
8989
relativePathMode := cfg.Run.RelativePathMode
9090
if relativePathMode == "" {
9191
relativePathMode = fsutils.RelativePathModeCfg

pkg/result/processors/exclusion_rules.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func NewExclusionRules(log logutils.Log, files *fsutils.Files, cfg *config.Linte
7373

7474
p.rules = createRules(excludeRules, prefix)
7575

76-
// TODO(ldez): should be remove in v2.
76+
// TODO(ldez): should be removed in v2.
7777
for _, pattern := range oldCfg.ExcludePatterns {
7878
if pattern == "" {
7979
continue

pkg/result/processors/skip_dirs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var StdExcludeDirRegexps = []string{
2323

2424
// SkipDirs filters reports based on directory names.
2525
// It uses the shortest relative paths and `path-prefix` option.
26-
// TODO(ldez): should be remove in v2.
26+
// TODO(ldez): should be removed in v2.
2727
type skipStat struct {
2828
pattern string
2929
count int

pkg/result/processors/skip_files.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var _ Processor = (*SkipFiles)(nil)
1313
// SkipFiles filters reports based on filename.
1414
//
1515
// It uses the shortest relative paths and `path-prefix` option.
16-
// TODO(ldez): should be remove in v2.
16+
// TODO(ldez): should be removed in v2.
1717
type SkipFiles struct {
1818
patterns []*regexp.Regexp
1919
pathPrefix string

0 commit comments

Comments
 (0)