1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-22 03:38:47 +02:00

810 Commits

Author SHA1 Message Date
Penghui Liao
4be54f7261 Update ALE configuratoin guide
Signed-off-by: Penghui Liao <liaoishere@gmail.com>
2020-07-07 18:50:06 -07:00
Renovate Bot
037666a4c8 Update golang.org/x/tools commit hash to 0cc1aa7 2020-07-03 21:01:49 -07:00
Renovate Bot
449978dbcc Update golang.org/x/tools commit hash to 0f592d2 2020-06-21 12:42:03 -07:00
Renovate Bot
5f9d778422 Update golang.org/x/tools commit hash to 3e83d1e 2020-06-10 12:36:29 -07:00
chavacava
ad3100c9ec adds defer rule 2020-06-08 09:40:38 -07:00
Renovate Bot
2976b46f8d Update golang.org/x/tools commit hash to c42cb63 2020-06-07 22:41:29 -07:00
Renovate Bot
54c767ec59 Update golang.org/x/tools commit hash to 0310561 2020-06-03 16:01:09 -07:00
Renovate Bot
3607eb2cf7 Update golang.org/x/tools commit hash to 2caf765 2020-06-02 15:46:12 -07:00
Renovate Bot
06877bff00 Update golang.org/x/tools commit hash to 52effbd 2020-05-31 18:57:12 -07:00
Renovate Bot
bce5bfe00c Update golang.org/x/tools commit hash to cb1345f 2020-05-22 17:02:36 -07:00
Renovate Bot
d091928ac6 Update golang.org/x/tools commit hash to cf2d1e0 2020-05-20 15:32:36 -07:00
Renovate Bot
ca96fcad74 Update golang.org/x/tools commit hash to 57a9e44 2020-05-20 12:07:15 -07:00
chavacava
e9bdc9ed8f removes type-checking from empty-block rule 2020-05-20 12:05:56 -07:00
Renovate Bot
3119f5881c Update golang.org/x/tools commit hash to d3bf790 2020-05-16 19:19:41 -07:00
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