1
0
mirror of https://github.com/mgechev/revive.git synced 2024-12-12 10:44:59 +02:00
Commit Graph

861 Commits

Author SHA1 Message Date
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>
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"
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>
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) 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>
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>
2021-05-25 15:09:42 -07:00
renovate[bot]
bcbc08c281
Update module golang.org/x/tools to v0.1.2 (#527)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-25 15:09:23 -07:00
SalvadorC
97ef50d9f7
fix 525 (#526) 2021-05-25 15:09:05 -07:00
SalvadorC
052235cc63
configuring revive in golanci-lint (#523) 2021-05-23 13:31:35 -07: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
renovate[bot]
5b4bd9a3c2
Update module github.com/fatih/color to v1.11.0 (#516)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-14 16:00:27 -07:00
renovate[bot]
a140bedcec
Update module golang.org/x/tools to v0.1.1 (#515)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-12 01:29:11 -07:00
Bernhard Reisenberger
3bac05c7a4
range-val-address: improve detection (#514)
range-val-address: improve detection
2021-05-03 14:22:35 +02:00
Markus Wiegand
e84dbc623d
bump revive-action to v2 (#512) 2021-04-18 20:13:35 +02:00
Keith Scroggs
2afe668e7b
Check string literals against regular expressions (#511)
Add string-format rule
2021-04-18 18:35:30 +02:00
renovate[bot]
8635ef94ee
Update github.com/chavacava/garif commit hash to e8a0a40 (#509)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-05 19:00:03 -07:00
SalvadorC
f2d79cc85d
adds SARIF formatter (#508) 2021-04-05 11:54:33 -07:00
Dmitry Filimonov
269e82afb9
Update the list of projects using revive (#507) 2021-03-30 13:33:56 -07:00
Ahmed
7abb883d0f
Add version command to show binary build info (#506)
add version cli flag to show binary build info
2021-03-23 20:45:31 +01:00
SalvadorC
46f65914e3
new rule function-length (#504) 2021-03-20 15:45:30 -07:00
SalvadorC
93b26c7949
adds "exclude" knob in configuration (#505) 2021-03-20 15:43:44 -07:00