Commit Graph

52 Commits

Author SHA1 Message Date
Matthias Loibl
70febae13b Create errcheck checker and add handler 2016-06-15 11:20:16 +02:00
Shawn Smith
a1f8fb1266 #95 use Sprintf 2016-06-13 01:26:41 +09:00
Shawn Smith
7fb8943f47 #95 remove extra var 2016-06-13 01:15:34 +09:00
Shawn Smith
122f58ead5 #95 fix line number links for golang.org packages 2016-06-13 01:08:05 +09:00
Shawn Smith
5de474ef7b use gometalinter for calling misspell, closes #135 2016-06-12 14:16:55 +09:00
Shawn Smith
5654ccd6a5 add slashes before and after skipDir when checking path rather than changing the strings in skipDirs directly 2016-05-16 01:31:43 +09:00
Shawn Smith
7ea0d80bb7 Revert "prepend skip dirs with slash so tools like govendor can still have a report"
This reverts commit 43b4abfd9a.
2016-05-16 01:29:15 +09:00
Shawn Smith
43b4abfd9a prepend skip dirs with slash so tools like govendor can still have a report 2016-05-15 01:51:06 +09:00
Hans Rødtang
7cee64607c implement prefix checker for license files 2016-05-12 13:13:09 +02:00
Shawn Smith
785e27a748 #121 increase min_confidence in golint 2016-05-11 16:54:40 +09:00
Shawn Smith
6a454d25d9 give gofmt more weight 2016-03-28 20:47:05 +09:00
Shawn Smith
41260decd3 #104 add ineffassign check 2016-03-19 00:36:06 +09:00
Vladislav Shub
a4bdaac687 Added support for custom domain and custom google analytics 2016-03-14 23:02:49 +02:00
Shawn Smith
153dfe1678 #92 strip /github.com/orgName/ from beginning of filenames 2016-03-09 15:59:37 +09:00
Shawn Smith
87ab879c0d add more license examples 2016-02-26 08:32:51 +09:00
Victor Vieux
8c1104b9b6 Allow license.code
I've seen a few repo when code and docs have different license, like github.com/docker/swarm

Might we add license.code to the list ?
2016-02-10 13:46:23 -08:00
Shawn Smith
e806adc2af #81 skip bindata.go files 2016-02-10 12:55:55 +09:00
Shawn Smith
9206202e1e #80 check for multiple license file types 2016-02-09 22:49:10 +09:00
Shawn Smith
1c140addfe remove unused function 2016-01-30 10:17:29 +09:00
Shawn Smith
c4f6cc53d9 add comment to exported method 2016-01-29 16:27:02 +09:00
Shawn Smith
aa605c53f7 skip .generated.go files 2016-01-29 16:13:20 +09:00
shawnps
8c06c4d654 move adding skipped dirs into GoTool fn 2016-01-14 03:29:26 -08:00
Shawn Smith
62c96ef0ba remove println 2016-01-11 16:14:34 +09:00
Shawn Smith
02c4c874a8 #52 add misspell 2016-01-11 16:14:01 +09:00
Shawn Smith
6055d2cb53 make deadline longer 2016-01-11 14:42:19 +09:00
Shawn Smith
06b3fba3dd remove --exclude 2016-01-11 14:42:05 +09:00
Shawn Smith
9050802063 use --exclude as temporary(?) fix for skipped dirs still showing up in output when using gometalinter --skip=DIR 2016-01-11 14:22:10 +09:00
Shawn Smith
0a6c430d84 add back skipping suffixes 2016-01-11 13:25:07 +09:00
Shawn Smith
cac11dcee4 keep a map of filename => FileSummary since lines can appear out of order 2016-01-11 13:15:26 +09:00
Shawn Smith
32636a8533 skip directories when calling gometalinter, append /... to dir 2016-01-11 13:02:52 +09:00
Shawn Smith
a52b388715 add cyclo-over flag 2016-01-11 12:47:19 +09:00
Shawn Smith
42daed1db3 fix filesummaries 2016-01-11 00:36:53 +09:00
Shawn Smith
1d8ccdd483 call out to gometalinter 2016-01-10 23:37:54 +09:00
Peter Edge
cd262f9974 add skipSuffixes variable and add initial suffixes 2015-12-19 17:01:37 +01:00
Shawn Smith
972c6d6d89 fix typo 2015-11-06 13:39:50 +09:00
Matt Farina
d30a087734 Allow license files to have extensions
License files can have extensions and sometimes this has meaning
like:
- LICENSE.txt
- LICENSE.GPL2
- LICENSE.LGPL2.1
2015-10-19 10:13:59 -04:00
Shawn Smith
d1ce119535 #41 make go vet and gofmt weights stronger 2015-10-14 16:17:47 +09:00
Shawn Smith
9a8266c240 #41 use weighted average to calculate overall grade 2015-10-14 15:46:18 +09:00
Shawn Smith
cd6f08bcfa add link to choose a license, todo update frontend 2015-10-14 12:49:57 +09:00
Shawn Smith
feeccfa3db #40 start license check 2015-10-14 12:08:38 +09:00
Shawn Smith
bf0f6330fd start GoTool tests 2015-10-03 17:28:38 +09:00
Shawn Smith
00eafa6527 check len s before assigning loc for gocyclo 2015-09-10 15:07:14 +09:00
russmack
b598dd3c5d Fixed splitting lines on colons when line includes eg i := range. 2015-08-07 17:46:47 +01:00
Shawn Smith
5699054319 fix up line number to account for multiple colons sometimes 2015-05-09 17:39:54 +09:00
Shawn Smith
7d3271b2c8 properly return error in GoTool 2015-05-09 16:48:30 +09:00
shawnps
d1c26b501b add some test files, update travis.yml 2015-02-14 10:40:29 -08:00
shawnps
c9be7a2858 increase gocyclo -over 2015-02-08 14:08:28 -08:00
shawnps
4c46ab68d5 skip vendor/third_party dirs, closes #2 2015-02-08 07:03:57 -08:00
shawnps
2f85ac52bd fix typo 2015-02-07 15:00:39 -08:00
shawnps
3dd8e2d465 golint fixes 2015-02-07 07:25:05 -08:00