1
0
mirror of https://github.com/mgechev/revive.git synced 2025-02-21 19:19:46 +02:00

422 Commits

Author SHA1 Message Date
chavacava
777e1b9e60 simpler implem of binEpr complexity computation 2019-12-17 22:11:32 +01:00
chavacava
e842146006 better description of cognitive complexity 2019-12-17 19:05:35 +01:00
chavacava
e4ac6611aa adds tests for Boolean expressions 2019-12-16 23:02:43 +01:00
chavacava
e63e7cbd3d fixes computation of complexity of Bool exprs 2019-12-16 23:02:12 +01:00
chavacava
0cdcc25bc7 removes unused return value 2019-12-15 10:57:26 +01:00
chavacava
b96b8ff365 restores default.toml 2019-12-14 16:41:31 +01:00
chavacava
74551b1bf8 cocuments cognitive-complexity 2019-12-14 16:36:42 +01:00
chavacava
e3fe65ebaf adds tests 2019-12-14 16:19:08 +01:00
chavacava
d877a0d7e8 fix binexp complexity logic 2019-12-14 16:18:53 +01:00
chavacava
2eae0cd122 fix method comment 2019-12-14 09:12:36 +01:00
chavacava
e544b60e1f documents test fixture 2019-12-14 09:01:22 +01:00
chavacava
611c6f7c81 firts working version 2019-12-14 08:27:06 +01:00
chavacava
4550f4cb76 Merge branch 'bugfix/file-header-index-out-of-range' of https://github.com/freedemster/revive into freedemster-bugfix/file-header-index-out-of-range 2019-12-01 20:18:42 +01:00
dshemin
a5c77eed9f Add check for argument length to "file-header" rule 2019-12-02 02:04:49 +07:00
dshemin
98b0cb55b7 Revert benchmark code 2019-11-28 10:19:08 +07:00
dshemin
9bb943735e Fix review comments 2019-11-28 10:14:21 +07:00
dshemin
3c93b9c1a4 Fix #245 File header rule: index out of range [0] with length 0 2019-11-28 01:38:43 +07:00
mgechev
88015ccf8e Update the list of contributors 2019-10-17 16:14:19 -04:00
John Rinehart
40564c5052 support global config (e.g. for company-wide settings) (#233)
* support global config (e.g. for company-wide settings)

* documented global config behavior
2019-09-17 08:38:25 -07:00
mgechev
596ef107bb Remove renovate from the list of contributors 2019-09-16 12:34:10 -07:00
mgechev
c93badef60 Update the list of contributors 2019-09-16 12:31:59 -07:00
SalvadorC
84deee4163 fixes issue #229 (#231) 2019-09-10 10:26:47 -07:00
Markus Wiegand
fa5acbc1f0 Add Revive Action to readme (#228) 2019-09-01 06:29:52 +09:00
Minko Gechev
b22bd7ca03
Update go.mod and go.sum (#225) 2019-08-18 08:03:16 -07:00
Ahmed
e8a54f5ffb Fix mgechev/dots timestamp mismatch (#224) 2019-08-17 09:38:54 -07:00
renovate[bot]
5806359b59 Update golang.org/x/tools commit hash to 6889da9 (#222) 2019-08-16 14:19:37 -07:00
renovate[bot]
e0e99e8e8b Update golang.org/x/tools commit hash to a857023 (#220) 2019-08-16 11:04:10 -07:00
renovate[bot]
e120712eba Update golang.org/x/sys commit hash to fde4db3 (#221) 2019-08-14 17:29:30 -07:00
renovate[bot]
a08e03e0bd Update golang.org/x/tools commit hash to 9dba7ca (#219) 2019-08-13 16:05:24 -07:00
renovate[bot]
acd18ac2f6 Update golang.org/x/tools commit hash to 4147ede (#218) 2019-08-12 14:02:58 -07:00
renovate[bot]
917f93bdfe Update golang.org/x/sys commit hash to 9eafafc (#216) 2019-08-12 07:47:17 -07:00
renovate[bot]
a5c15acc08 Update golang.org/x/tools commit hash to 6d4652c (#215) 2019-08-09 08:58:14 -07:00
renovate[bot]
f356ad975b Update golang.org/x/tools commit hash to e713427 (#214) 2019-08-08 22:57:51 -07:00
renovate[bot]
e43a9dc28a Update golang.org/x/tools commit hash to 6743d40 (#213) 2019-08-06 14:09:43 -07:00
renovate[bot]
fcce099ac1 Update golang.org/x/tools commit hash to c5a2fd3 (#212) 2019-08-06 08:21:16 -07:00
renovate[bot]
f84c9db7a4 Update golang.org/x/tools commit hash to e1fc249 (#211) 2019-08-05 15:15:16 -07:00
renovate[bot]
86af3e62d5 Update golang.org/x/tools commit hash to 2756c52 (#210) 2019-08-05 11:13:46 -07:00
Michal Šimon
7b27ac88b9 Add Codeac.io - Automated code review tool (#207)
* + Codeac.io service

* @ fix typo

* + CI section

* @ fix typo
2019-08-05 09:50:10 -07:00
SalvadorC
9649b1c2a1 fix 208 struct-tag linter false positive (#209) 2019-08-05 09:21:20 -07:00
renovate[bot]
4790dddbd1 chore(deps): update golang.org/x/sys commit hash to 51ab0e2 (#206) 2019-08-04 08:14:47 -07:00
Minko Gechev
b47d9fcb1c
Update deploy script (#195)
* Update deploy script

* Try to deploy
2019-08-02 19:36:37 -07:00
renovate[bot]
3f1f88837d chore(deps): update golang.org/x/tools commit hash to 1d17272 (#205) 2019-08-02 15:23:01 -07:00
renovate[bot]
6ecb7a3155 chore(deps): update golang.org/x/tools commit hash to 43c5e4c (#204) 2019-08-02 15:15:51 -07:00
chavacava
82b0df5338 Merge remote-tracking branch 'upstream/master' 2019-08-02 19:11:41 +02:00
renovate[bot]
b8a34fed22 chore(deps): update golang.org/x/tools commit hash to e9bb7d3 (#203) 2019-08-02 08:21:49 -07:00
SalvadorC
55cfae63e9 Conf reason rule disabling (#193)
* adds support for comments when enabling/disabling

* adds config flag to require disabling reason

* Update lint/file.go

adds code fmt suggestion by @mgechev

Co-Authored-By: Minko Gechev <mgechev@gmail.com>

* moves regexp compilation out of the function
fix typo in condition

* adds support for comments when enabling/disabling

* skips incomplete directives and generate a failure

* adds _directive_ concept to cope with specify-disable-reason

* adds doc
gofmt

* fixes severity is ignored
2019-08-02 08:21:33 -07:00
renovate[bot]
639585fb79 chore(deps): update golang.org/x/sys commit hash to cbf593c (#202) 2019-08-01 10:43:01 -07:00
renovate[bot]
94c4cad31c chore(deps): update golang.org/x/tools commit hash to 1e85ed8 (#201) 2019-07-31 16:49:27 -07:00
renovate[bot]
aac29c74e3 chore(deps): update golang.org/x/sys commit hash to 1393eb0 (#199) 2019-07-31 10:41:54 -07:00
renovate[bot]
227ec43d09 chore(deps): update golang.org/x/tools commit hash to ed3277d (#200) 2019-07-30 17:24:25 -07:00