1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-10 03:17:11 +02:00
Commit Graph

20 Commits

Author SHA1 Message Date
chavacava
04728cf0de
Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
chavacava
671c55d82e
adds rule use-any (#660) 2022-03-29 11:25:38 -07:00
Bernardo Heynemann
1c283837a9
Allow revive to be called with extra linters (#650)
This change allows revive to be called from main.go
in other libraries and pass in a list of custom
linters to be added to the built-in linters found in config

Co-authored-by: Bernardo Heynemann <bernardo.heynemann@coinbase.com>
Co-authored-by: chavacava <salvadorcavadini+github@gmail.com>
2022-03-20 09:12:51 +01:00
subham sarkar
577441d60c
format sources w/ gofumpt (#643)
Signed-off-by: subham sarkar <sarkar.subhams2@gmail.com>
2022-03-02 08:24:55 +01:00
doniacld
5d04216294
Add optimize-operands-order rule (#599) (#603)
Co-authored-by: SalvadorC <salvadorcavadini+github@gmail.com>
2021-10-23 09:29:14 +02:00
doniacld
be81121399
Add banned characters rule (#532) (#591) 2021-10-14 20:56:29 +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
SalvadorC
e545098165
fixes issue #577 (#581) 2021-09-30 13:37:44 -07:00
SalvadorC
c939bb6af8
add new rule useless-break (#551) 2021-08-15 15:30:08 -07:00
SalvadorC
ea51f7aa3f
fix issue #537 (#538) 2021-06-29 13:04:51 -07:00
Robert Deusser
575ce5f61a
new rule: nested-structs (#530)
new rule: nested-structs
2021-06-15 11:36:41 +02:00
SalvadorC
b298ffe4ee
Adds configuration option to enable all available rules (#521)
Adds configuration option to enable all available rules
2021-05-21 09:53:10 +02:00
Keith Scroggs
2afe668e7b
Check string literals against regular expressions (#511)
Add string-format rule
2021-04-18 18:35:30 +02:00
SalvadorC
f2d79cc85d
adds SARIF formatter (#508) 2021-04-05 11:54:33 -07:00
SalvadorC
46f65914e3
new rule function-length (#504) 2021-03-20 15:45:30 -07:00
SalvadorC
50f01f660d
fix issue 470 (#477) 2020-10-29 15:11:52 +02:00