Commit Graph

100 Commits

Author SHA1 Message Date
Shawn Smith
a7a96b4141 move testfiles into testdata dir 2022-03-26 16:56:37 +09:00
Shawn Smith
a22b7c5858 add staticcheck GoTool test 2022-03-26 16:50:28 +09:00
Shawn Smith
df65088286 remove redundant if statement 2022-03-26 16:10:35 +09:00
Shawn Smith
44923ab6a2 add staticcheck (flagged off for now) 2022-03-26 16:05:53 +09:00
Shawn Smith
5aeaec8b44 disable golint 2022-03-22 11:52:20 +09:00
Shawn Smith
18ad6e4f5c simplify fileURL function 2021-12-04 18:11:08 +09:00
Shawn Smith
04068fe18d fix panic in fileURL for versions containing single hyphen 2021-12-04 13:45:50 +09:00
Shawn Smith
1237c87143 fix panic in fileURL for dirs without @ 2021-12-02 18:10:36 +09:00
Shawn Smith
114dbff3bd fix github links for +incompatible versions 2021-11-30 13:45:48 +09:00
Shawn Smith
87e76dbbd0 update gocyclo 2021-11-28 12:05:18 +09:00
Shawn Smith
749137a223 gofmt -s 2021-11-27 16:37:57 +09:00
Shawn Smith
7455924850 use module version in github URLs 2021-11-27 16:36:45 +09:00
Shawn Smith
78cbe6667b add TestMakeFilename, TestFileURL 2021-11-27 15:55:30 +09:00
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