Commit Graph

87 Commits

Author SHA1 Message Date
Herman Schaaf
90f40babc4 Merge pull request #345 from gojp/handle-errors-better
Better handling for process failures (Closes #339)
2021-06-11 10:36:18 +01:00
Herman Schaaf
d8f43f5469 Better handling for process failures (Closes #339) 2021-06-11 10:32:42 +01:00
Shawn Smith
88dc3420a3 skip ineffassign on large repos temporarily 2021-06-11 17:52:44 +09:00
Shawn Smith
4198808d6c lower misspell skip limit 2021-06-04 18:02:10 +09:00
Shawn Smith
6c01b8d8b8 use testdata dir 2021-06-04 17:56:22 +09:00
Shawn Smith
a2c8a0a395 add check_test 2021-06-04 17:46:47 +09:00
Shawn Smith
6c5704d1f3 fix staticcheck issues 2021-04-25 21:47:12 +09:00
Jeremy Rans
ad7e9229be satisfy lint 2018-12-15 02:53:17 -06:00
Jeremy Rans
9e0e628362 add a simple CLI to run checks locally 2018-12-15 00:48:28 -06:00
Jeremy Rans
c958ecb465 refactor to prepare for CLI 2018-12-14 23:35:02 -06:00
Shawn Smith
2c54dab853 add more informative error messages when calling strconv.Atoi fails 2017-10-31 10:02:44 +09:00
tariqibrahim
100c9f9a47 Renaming repos directory to _repos as per issue #203 and updating travis yml 2017-09-18 23:48:03 -04:00
tariqibrahim
9b16ef8c5b Fixing the high cyclomatic complexity in goreportcard source files - Addressing review comments 2017-08-09 01:46:45 -07:00
tariqibrahim
0863c7dbc7 Fixing the high cyclomatic complexity in goreportcard source files 2017-08-09 00:58:06 -07:00
Shawn Smith
cca220c8ba #95 fix filename links for gopkg.in 2017-07-30 10:04:48 +09:00
Shawn Smith
f1c48484e5 #95 fix golang.org/x/* filenames 2017-07-30 08:19:46 +09:00
Shawn Smith
c714abff78 #184 add note in gocyclo description about threshold 2017-05-05 14:53:13 +09:00
Shawn Smith
927aa0bf5f add test for license check 2016-11-14 14:21:58 +09:00
Shawn Smith
a5daf2f907 #158 add --vendor flag for golint check (not sure yet if others need it too) 2016-09-30 23:56:27 +09:00
Bradley Falzon
1bd6acac27 #156 Exclude testdata directories from being checked 2016-09-25 19:25:03 +09:30
Shawn Smith
a16b0104fa disable misspell for large repos (temporary workaround) 2016-09-14 20:34:36 +09:00
Shawn Smith
2a1c7d1e8c use goroutines in gofmt native check (still not used in production) 2016-09-14 17:49:11 +09:00
Shawn Smith
05dd6324e7 add method for checking gofmt using go/format package (not currently switched on) 2016-09-06 00:35:46 +09:00
Shawn Smith
81e8f61add remove duplicate loop 2016-09-06 00:16:14 +09:00
Herman Schaaf
8c46db3ce7 Remove comment test case (failing golint, no way to fix it) 2016-08-17 00:43:37 +08:00
Herman Schaaf
c55fae78b1 Temporarily rename skipped files before checking, to speed up the process for repos with many generated files 2016-08-17 00:35:16 +08:00
Herman Schaaf
25f1fe9648 Check various comment styles and wordings for autogenerated code 2016-08-14 21:44:46 +08:00
Herman Schaaf
9bd83c69a9 Closes #149. Skip files suggesting auto-generated code in comment on first line 2016-08-14 21:38:26 +08:00
Herman Schaaf
442efa217e Show error message when test fails to complete, disable errcheck temporarily 2016-08-03 13:55:59 +08:00
Shawn Smith
d7ca2b113b #136 fix links when package is a sub-dir package 2016-06-15 22:27:57 +09:00
Herman Schaaf
24f1ce2f30 Fix case in errcheck name 2016-06-15 18:07:08 +08:00
Herman Schaaf
4a7ccfe0b2 Merge conflicts 2016-06-15 18:04:36 +08:00
Matthias Loibl
819b7ccd9e Fix typo in errcheck comment 2016-06-15 12:01:20 +02:00
Matthias Loibl
70febae13b Create errcheck checker and add handler 2016-06-15 11:20:16 +02:00
Herman Schaaf
dd42a4a90e Adjust and normalize weights, andd add errcheck to checks in handlers 2016-06-15 17:12:49 +08:00
Herman Schaaf
cdbe3cba31 Add errcheck check 2016-06-15 17:12:22 +08: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