1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
Commit Graph

796 Commits

Author SHA1 Message Date
Renovate Bot
6b41c1d6bf Update golang.org/x/tools commit hash to 0aa9f2f 2020-05-15 14:35:30 -07:00
SalvadorC
3b38f57c2d
Merge pull request #413 from chavacava/unconditional-recursion
Unconditional recursion
2020-05-15 22:08:24 +02:00
Renovate Bot
bc39276d85 Update golang.org/x/tools commit hash to d0dc4d4 2020-05-14 14:51:01 -07:00
Tymoteusz Blazejczyk
acce9eb309 feat(color): updated the README.md file about overriding colorization 2020-05-14 14:49:30 -07:00
Tymoteusz Blazejczyk
2e98c7c63a fix(color): moved global color calls to separate functions
There is an initialization order issue when forcing colorizing.

Every calls from the fatich/color package must be done by a function
not during global variable initialization.
2020-05-14 14:49:30 -07:00
Tymoteusz Blazejczyk
3bba955563 feat(color): added support for the REVIVE_FORCE_COLOR=1 environment variable
It forces colorizing for no TTY environments.

Tested:

TERM=dumb REVIVE_FORCE_COLOR=1 revive -formatter friendly ./...
2020-05-14 14:49:30 -07:00
chavacava
7787615901 adds test cases for ranges 2020-05-13 23:42:51 +02:00
chavacava
ef265b07dd removes commented code 2020-05-13 23:42:09 +02:00
chavacava
65beded8c4 Merge remote-tracking branch 'upstream/master' into unconditional-recursion 2020-05-13 22:13:08 +02:00
renovate[bot]
d6636b87d7
Update golang.org/x/tools commit hash to 2212a7e (#409)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-11 10:37:17 -07:00
SalvadorC
1da965b65f
fix issue 386: Incorrectly identifies channel draining as "empty code… (#415)
* fix issue 386: Incorrectly identifies channel draining as "empty code block"

* updates doc of empty-block rule
2020-05-10 17:43:56 -07:00
SalvadorC
1b8a7aa7cd
Merge pull request #411 from chavacava/identical-branches
Identical branches
2020-05-10 19:43:48 +02:00
chavacava
a76c962bd6 fix typo 2020-05-09 21:44:53 +02:00
chavacava
7a55cafc36 adds support for control exit statements 2020-05-09 21:43:12 +02:00
chavacava
4eb7ae0821 documents unconditional-recursion 2020-05-09 17:19:37 +02:00
chavacava
91adb8bc8a first working version 2020-05-09 17:10:34 +02:00
chavacava
5939a81c8a removes unused code 2020-05-08 22:43:14 +02:00
chavacava
b43b33a4e6 adds identical-branches to doc 2020-05-08 22:21:34 +02:00
chavacava
fb92af247c adds identical-branches to configuration 2020-05-08 22:20:59 +02:00
chavacava
0c49c6a991 identical-branches initial implementation 2020-05-08 22:08:16 +02:00
chavacava
579c7c761f utils.gofmt now accepts a interface{} 2020-05-08 22:08:16 +02:00
renovate[bot]
000a70d12a
Update golang.org/x/tools commit hash to 480da3e (#408)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-08 11:14:41 -07:00
SalvadorC
67c83886d7
Late return rule (#406)
* fisrt working version of late-return rule

* late-update: adds doc

* renames to early-return

* fix rule failure condition

* fix alphabetical sorting of early-return
2020-05-08 11:14:21 -07:00
renovate[bot]
44861bbc2a
Update golang.org/x/tools commit hash to 26f46d2 (#407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-06 09:32:34 -07:00
renovate[bot]
148fa41479
Update golang.org/x/tools commit hash to 33427f1 (#405)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-04 09:54:29 -07:00
renovate[bot]
e8443376bd
Update golang.org/x/tools commit hash to ed308ab (#403)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-03 14:49:59 -07:00
renovate[bot]
33682792b2
Update golang.org/x/tools commit hash to 4b814e0 (#402)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-30 11:31:22 -07:00
renovate[bot]
b9d93b43a3
Update golang.org/x/tools commit hash to 7ae4988 (#401)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 19:33:13 -07:00
renovate[bot]
0c1d2bdbea
Update golang.org/x/tools commit hash to 4697a28 (#400)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 18:36:04 -07:00
Minko Gechev
3406875f8c
Remove unused dependencies (#399) 2020-04-27 11:02:59 -07:00
renovate[bot]
1379ce2bc3
Update golang.org/x/tools commit hash to 9ea0146 (#398)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 11:00:58 -07:00
renovate[bot]
d0ec97612a
Update golang.org/x/tools commit hash to 59e7361 (#397)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-24 09:48:58 -07:00
renovate[bot]
d994d65295
Update golang.org/x/tools commit hash to 72e4a01 (#396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-22 17:43:34 -07:00
renovate[bot]
09735d7e87
Update golang.org/x/tools commit hash to 9f075f7 (#395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-20 16:00:24 -07:00
renovate[bot]
b0cb0aef7b
Update golang.org/x/tools commit hash to 978e26b (#394)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-20 13:36:32 -07:00
renovate[bot]
619e0e2e28
Update golang.org/x/tools commit hash to c07e33e (#393)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 10:58:41 -07:00
renovate[bot]
4d54859ca3
Update golang.org/x/tools commit hash to 5744cfd (#392)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-16 10:42:44 -07:00
renovate[bot]
a94bcdf6d3
Update golang.org/x/tools commit hash to 5d8e189 (#391)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-15 16:08:06 -07:00
renovate[bot]
07b1e017c1
Update golang.org/x/tools commit hash to 33e9372 (#390)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-14 16:03:20 -07:00
renovate[bot]
767f8fb656
Update golang.org/x/tools commit hash to 0037cb7 (#389)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-14 09:08:16 -07:00
renovate[bot]
b9e43767a2
Update golang.org/x/tools commit hash to 3bd2087 (#385)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-09 22:34:52 -07:00
renovate[bot]
c451aaca8e
Update golang.org/x/tools commit hash to 9ee5ef7 (#383)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-09 09:40:56 -07:00
renovate[bot]
46a397dbc7
Update golang.org/x/tools commit hash to a3568ba (#382)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-07 10:24:57 -07:00
renovate[bot]
a11403f63f
Update golang.org/x/tools commit hash to 9d5940d (#380)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-01 08:43:31 -07:00
renovate[bot]
89e1822077
Update golang.org/x/tools commit hash to fd4102a (#379)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-29 20:34:48 -07:00
renovate[bot]
8acee13e4f
Update golang.org/x/tools commit hash to 3db5fc6 (#377)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-28 13:18:41 -07:00
renovate[bot]
08984cae36
Update golang.org/x/tools commit hash to 644a21f (#376)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 14:05:44 -07:00
renovate[bot]
05f1253590
Update golang.org/x/tools commit hash to 1fc30e1 (#375)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 16:31:54 -07:00
renovate[bot]
6cc03b229b
Update golang.org/x/tools commit hash to 268ba72 (#374)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-21 09:01:39 -07:00
renovate[bot]
c759f99657
Update golang.org/x/tools commit hash to 521f4a0 (#373)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-20 10:05:16 -07:00