Skip to content

Commit

Permalink
feat: Add lowercase TODO type defaults (#136)
Browse files Browse the repository at this point in the history
Fixes #132

---------

Signed-off-by: Ian Lewis <[email protected]>
  • Loading branch information
Ian Lewis authored Aug 19, 2023
1 parent aeec9ab commit e7e749f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
directory for TODOs referencing a GitHub issue and reopen issues that have
been prematurely closed.

### Changed

- Lowercase "Todo", "todo", "Fixme", "fixme", "Hack", "hack" were added as
default TODO types.

## [0.2.0] - 2023-06-30

### Changed in 0.2.0
Expand Down
8 changes: 8 additions & 0 deletions internal/todos/todos.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,17 @@ import (
// DefaultTypes is the default set of TODO types.
var DefaultTypes = []string{
"TODO",
"Todo",
"todo",
"FIXME",
"Fixme",
"fixme",
"BUG",
"Bug",
"bug",
"HACK",
"Hack",
"hack",
"XXX",
"COMBAK",
}
Expand Down

0 comments on commit e7e749f

Please sign in to comment.