1
0
mirror of https://github.com/mgechev/revive.git synced 2025-10-30 23:37:49 +02:00
Commit Graph

876 Commits

Author SHA1 Message Date
David Jimenez
8a3653ca49 Add debug logger (#604)
Signed-off-by: David Jimenez <dvejmz@sgfault.com>
2021-10-20 19:32:31 +02:00
doniacld
0ee7866c45 Add build and test steps in CI on pull request (#602) 2021-10-18 19:27:26 +02:00
zeripath
3f99b6ceb1 File file-header.go (#601)
Add missing fmt import
2021-10-17 21:12:36 +02:00
SalvadorC
76b8c57329 Memoization of rule arguments (#595) 2021-10-17 20:34:48 +02:00
Jeferson Ferreira
b7d1908051 Avoids missing version description when using go install (#600) 2021-10-17 20:30:33 +02:00
doniacld
9c30b4479c Run revive over a invalid go source file (#364) (#598) 2021-10-17 19:58:29 +02:00
chavacava
55e1594efd fixes false positive in unconditional-recursion 2021-10-15 13:14:03 -07:00
David Jimenez
b331445a16 Set all version flags at build time so they have correct values (#593) 2021-10-15 10:35:15 +02:00
doniacld
c0f2d40eaa Add Docker image in release (#489) (#590) 2021-10-15 08:36:14 +02:00
doniacld
be81121399 Add banned characters rule (#532) (#591) 2021-10-14 20:56:29 +02:00
Jan Steinke
71b31e26ab overwrite error status code from config with set_exit_status (#589)
add set_exit_status flag
2021-10-12 22:10:35 +02:00
Abel
935acca925 Fix typo for gorush description (#588) 2021-10-08 09:33:22 +02:00
SalvadorC
1c654afd91 Update config.go 2021-10-04 09:37:01 -07:00
SalvadorC
12e4e8c172 Update config.go
removes use of `math.Inf(1)`
2021-10-04 09:37:01 -07:00
Mihai Todor
c3af594461 Fix config initialisation
Allow setting confidence to 0
2021-10-04 09:37:01 -07:00
Mihai Todor
099eeaca0c Fix get default config test 2021-10-04 09:37:01 -07:00
sina safari
62db66915b add new rule time equal (#584) 2021-10-01 13:55:53 +02:00
renovate[bot]
111721be47 Update module golang.org/x/tools to v0.1.7 (#586)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
v1.1.2
2021-09-30 13:39:59 -07:00
SalvadorC
e545098165 fixes issue #577 (#581) 2021-09-30 13:37:44 -07:00
sina safari
0bcc996acf fixed some complex code (#580) 2021-09-26 08:28:58 +02:00
renovate[bot]
527bea8bea Update github.com/mgechev/dots commit hash to e955255 (#578)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 16:15:23 -07:00
renovate[bot]
0e551e24ca Update module golang.org/x/tools to v0.1.6 (#575)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 12:17:27 -07:00
renovate[bot]
567f022d91 Update module github.com/fatih/color to v1.13.0 (#576)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 12:13:54 -07:00
Oleg Butuzov
d7e3d5eac7 fix: time-naming issue #571 (#572)
resolves #571
2021-09-12 16:09:14 -07:00
Oleg Butuzov
9b85893ff8 fix: switch to re.MatchString(string) instead re.Match([]byte(string)) (#574)
removes heaps allocation, feels more "native"
2021-09-12 16:05:42 -07:00
Oleg Butuzov
b1f01484c2 fix: markdown headers (#570)
minor markdown issue with rules headers
2021-09-10 08:25:48 +02:00
jmckenzieark
d7c8e25652 Update dead cognitive-complexity link (#569) 2021-08-30 19:55:43 +02:00
SalvadorC
18cdb55850 Exported config (#565)
* working version

* adds flag for replacing "stutters"
v1.1.1
2021-08-26 08:36:24 -07:00
Bernhard Reisenberger
406b1ce110 range-val-address: fix false positive (#554)
range-val-address: fix false positive (closes #554)
2021-08-26 08:41:58 +02:00
mgechev
c383001338 Add Cadence by Uber 2021-08-18 11:03:47 -07:00
SalvadorC
097f0bb533 better messages for rules' config errors (#563) 2021-08-17 12:14:42 -07:00
SalvadorC
351bb1277e updates installation instructions (#562) 2021-08-17 18:02:22 +02:00
SalvadorC
28559501d3 fix issue 556 (#557) 2021-08-16 12:15:17 +02:00
renovate[bot]
c582d6221f Update module github.com/BurntSushi/toml to v0.4.1 (#549)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
v1.1.0
2021-08-15 15:30:46 -07:00
SalvadorC
c939bb6af8 add new rule useless-break (#551) 2021-08-15 15:30:08 -07:00
SalvadorC
98c374dcad add tests on common methods handling (#548) 2021-07-28 17:59:55 +03:00
chris erway
7dde483bac Add Unwrap to common methods (#547) 2021-07-28 10:50:09 +02:00
renovate[bot]
b5b656510a Update module golang.org/x/tools to v0.1.5 (#544)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 22:33:19 -07:00
mgechev
a9ba67bacb Update the list of contributors 2021-07-11 21:35:26 -07:00
SalvadorC
89f108c22a fix issue #540 (#543) v1.0.9 2021-07-11 21:31:46 -07:00
Derek Perkins
1acbe6b30e Fix testeability typo (#542) 2021-07-10 08:15:20 +02:00
Abel
daffd5f7c7 Fix a typo: "Rule tuning" (#539) 2021-06-30 18:25:34 +02:00
SalvadorC
ea51f7aa3f fix issue #537 (#538) 2021-06-29 13:04:51 -07:00
SalvadorC
cfac8b0013 fix 534 (#536)
Closes #534
2021-06-29 21:40:40 +02:00
renovate[bot]
1d91f74b14 Update module golang.org/x/tools to v0.1.4 (#533)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
v1.0.8
2021-06-25 11:02:58 -07:00
renovate[bot]
8586baacbf Update module golang.org/x/tools to v0.1.3 (#531)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 13:19:58 -07:00
Robert Deusser
575ce5f61a new rule: nested-structs (#530)
new rule: nested-structs
2021-06-15 11:36:41 +02:00
mgechev
0ade5dc9f8 Update the list of contributors 2021-06-02 10:41:53 -07:00
sina safari
b5ff6325c2 simplify: redundant map composite literal (#528) 2021-05-31 21:54:58 +02:00
renovate[bot]
c4d52d202d Update module github.com/fatih/color to v1.12.0 (#524)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
v1.0.7
2021-05-25 15:09:42 -07:00