1
0
Fork 0
mirror of https://github.com/archtechx/todo-system.git synced 2025-12-12 00:54:03 +00:00

Ignore colons (fix #2)

This commit is contained in:
Samuel Štancl 2024-03-13 20:35:48 +01:00
parent 9fe36adf20
commit e83185a687
4 changed files with 26 additions and 14 deletions

View file

@ -2,7 +2,7 @@ function add(foo: any, bar: any): any { // todo@types
return foo + bar;
}
function subtract(foo: any, bar: any): any { // todo@types add types
function subtract(foo: any, bar: any): any { // todo@types: add types
return foo - bar;
}
@ -24,12 +24,12 @@ function greet2(name: string) { // todo1 add return typehint
console.log(`Hello ${name}`);
}
function echo(str: string) { // todo2 add return typehint
function echo(str: string) { // todo2: add return typehint
console.log(str);
}
// console.log('foo'); // todo
// todo generic todo 2
// todo: generic todo 2
// TODO: generic todo 3
// todo11 invalid todo

View file

@ -18,6 +18,7 @@ def
- abc
- todo0 def
- todo00: ghi
- [ ] bar
- [ ] baz

View file

@ -3,7 +3,7 @@
- todo00 priority bar
## High priority
- todo0 a
- todo0: a
- foo
- [ ] bar