Skip to content

Commit 1d32243

Browse files
Merge branch 'master' into spelling
2 parents 3b1112c + 39da671 commit 1d32243

File tree

6 files changed

+10
-3
lines changed

6 files changed

+10
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: tests
2-
on: [push]
2+
on: [push, pull_request]
33
jobs:
44

55
build:

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Go Report Card](https://goreportcard.com/badge/github.com/augmentable-dev/tickgit)](https://goreportcard.com/report/github.com/augmentable-dev/tickgit)
44
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/augmentable-dev/tickgit)
55
[![Coverage](http://gocover.io/_badge/github.com/augmentable-dev/tickgit)](http://gocover.io/github.com/augmentable-dev/tickgit)
6-
[![TODOs](https://img.shields.io/endpoint?url=https%3A%2F%2Ftickgit.augmentable.dev%2Ftodos-badge%3Frepo%3Dhttps%3A%2F%2Fgithub.com%2Faugmentable-dev%2Ftickgit)](https://todos.augmentable.dev/?repo=https://github.com/augmentable-dev/tickgit)
6+
[![TODOs](https://img.shields.io/endpoint?url=https%3A%2F%2Ftickgit.augmentable.dev%2Ftodos-badge%3Frepo%3Dhttps%3A%2F%2Fgithub.com%2Faugmentable-dev%2Ftickgit)](https://todos.tickgit.com/browse?repo=https://github.com/augmentable-dev/tickgit)
77

88
## tickgit 🎟️
99

@@ -37,6 +37,8 @@ TODO: useTransition hook instead.
3737
128 TODOs Found 📝
3838
```
3939

40+
Check out [an example](https://todos.tickg.it/?repo=https://github.com/kubernetes/kubernetes) of the TODOs tickgit will surface for the Kubernetes codebase.
41+
4042
#### Coming Soon
4143

4244
- [x] History - get a better sense of how old TODOs are, when they were introduced and by whom

pkg/comments/comments.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ var LanguageParseOptions map[Language]*lege.ParseOptions = map[Language]*lege.Pa
6969
"Swift": CStyleCommentOptions,
7070
"Common Lisp": LispStyleCommentOptions,
7171
"Emacs Lisp": LispStyleCommentOptions,
72+
"R": HashStyleCommentOptions,
7273
}
7374

7475
// Comments is a list of comments

pkg/comments/comments_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func TestJSFiles(t *testing.T) {
1313
t.Fatal(err)
1414
}
1515

16-
if len(comments) != 2 {
16+
if len(comments) != 3 {
1717
t.Fail()
1818
}
1919
}

pkg/comments/testdata/javascript/node_modules/ignored.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// this comment should be found
2+

0 commit comments

Comments
 (0)