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

Commit Graph

  • cdb82683b1 cleanup rules descriptions (#908) Marcin Federowicz 2023-09-25 06:51:12 +02:00
  • 70ceb1cbfb cleanup: removes or names unused parameters and receivers to _ (#907) Marcin Federowicz 2023-09-24 08:55:14 +02:00
  • 36c2ee2718 code cleanup: replace interface{} with any (#906) Marcin Federowicz 2023-09-24 08:44:02 +02:00
  • 5ccebe86c2 Code cleaunp (#905) chavacava 2023-09-23 10:41:34 +02:00
  • 50091409c0 feat: add support for enforce-slice-style rule (#900) Denis Voytyuk 2023-09-23 09:05:52 +02:00
  • 5c69df7eb3 doc: fix examples (#899) Ludovic Fernandez 2023-09-19 09:03:56 +02:00
  • 93219dac49 updates checksums (#897) v1.3.4 chavacava 2023-09-17 11:35:06 +02:00
  • 356e667369 feat: add support for enforce-map-style rule (#895) Denis Voytyuk 2023-09-17 11:22:11 +02:00
  • 7dffe3ca48 quit config asap, remove unused pkg info (#896) chavacava 2023-09-17 11:10:49 +02:00
  • 95acb880a1 Add unchecked-type-assertion (#889) Dirk Faust 2023-09-17 10:58:45 +02:00
  • 3da2646e25 fix(deps): update module golang.org/x/tools to v0.13.0 (#887) renovate[bot] 2023-09-15 15:11:34 +02:00
  • ca0678cd08 fix: dot-imports does not check test files (#884) Denis Voytyuk 2023-08-30 08:06:58 +02:00
  • 883c4cc199 fix(deps): update module github.com/chavacava/garif to v0.1.0 (#882) renovate[bot] 2023-08-28 10:49:56 -07:00
  • f900b6c2d4 feat: add support for import-alias-naming rule (#881) Denis Voytyuk 2023-08-28 15:26:00 +02:00
  • 0357df7bc0 fix: add missing defer when unlocking mutex (#879) Oleksandr Redko 2023-08-25 14:20:27 +03:00
  • 9a87e6fd82 Update goreleaser v1.3.3 mgechev 2023-08-24 10:41:23 -07:00
  • a4ae369945 build: shift to the supported go versions (1.20 and 1.21) (#878) Denis Voytyuk 2023-08-22 09:18:10 +02:00
  • 4ee7542478 fix: false positive in import-shadowing for method names (#876) Denis Voytyuk 2023-08-21 23:45:41 +02:00
  • e758901c9a Revert "fix: unnecesary alert for use-any when comments inside interface{} (#873)" (#874) chavacava 2023-08-19 08:07:28 +02:00
  • 9acfcc8f86 fix #863:false positive on return statement in a func lit passed to the deferred function (#870) chavacava 2023-08-18 20:21:42 +02:00
  • 519ffbdd7a fix: unnecesary alert for use-any when comments inside interface{} (#873) Damián Ferencz 2023-08-18 15:21:10 -03:00
  • 19a95d9a7f resolve #867: remove k[A-Z][A-Za-z\d]*$ sub-rule from var-naming (#871) Martins Irbe 2023-08-16 12:23:29 +01:00
  • 16871ed55f fix #864: confusing-naming FP on methods of generic types (#869) chavacava 2023-08-12 10:56:53 +02:00
  • 7cb4540a46 fix #846: time-equal garbled message when time returned from function (#868) chavacava 2023-08-12 09:05:46 +02:00
  • 72f9108792 (var-naming) support private uppercase constants #865 (#866) fregin 2023-08-12 13:45:42 +07:00
  • 310d1d76e4 per-rule file exclude filters (#850) (#857) Fagim Sadykov 2023-08-12 11:21:11 +05:00
  • b4fc3db692 fix(deps): update module golang.org/x/tools to v0.12.0 (#859) renovate[bot] 2023-08-11 07:36:18 +02:00
  • b31eb18b1f adds [allowRegex] parameter for unused-parameter and unused-receiver rules (#858) Fagim Sadykov 2023-08-11 10:35:08 +05:00
  • 4c84a170af Allow import-blacklist to run against go test files (#862) Denis Voytyuk 2023-08-09 22:37:50 +02:00
  • df39256ea7 fix(deps): update module golang.org/x/tools to v0.11.1 (#855) renovate[bot] 2023-08-04 11:26:37 +02:00
  • 8941d19026 imporve var-naming - add upperCaseConst option to allow UPPER_CASED constants #851 (#852) Fagim Sadykov 2023-07-31 12:09:38 +05:00
  • 7bd666898c feat: add rule for redundant import alias (#854) Damián Ferencz 2023-07-31 03:22:40 -03:00
  • 26bc59f58c fix(deps): update github.com/chavacava/garif digest to 4bd63c2 (#838) renovate[bot] 2023-07-29 11:45:34 +02:00
  • a155d92342 fix: support method call from structures for string-format (#840) Ricardo Martin Marcucci 2023-07-29 06:27:07 -03:00
  • 6a2c5b132e fix(deps): update module golang.org/x/tools to v0.11.0 (#848) renovate[bot] 2023-07-05 15:32:27 -07:00
  • 95fcfe36f6 doc: add milvus to README usage (#845) (#847) kerneltravel 2023-07-05 14:12:42 +08:00
  • 9564ad9f07 fix(deps): update module golang.org/x/tools to v0.10.0 (#841) renovate[bot] 2023-06-26 09:43:34 -07:00
  • 2b4286ede2 Drop if-return from default ruleset (#843) Robert Liebowitz 2023-06-26 12:43:19 -04:00
  • a2701259fe Update defaults.toml to sort rules (#844) Stephen Brown II 2023-06-26 11:41:58 -05:00
  • e5d5d09026 Adding Checker Go library to the list of Who Uses. (#842) Onur Cinar 2023-06-21 23:56:53 -07:00
  • da1c99ded9 fix(deps): update module github.com/burntsushi/toml to v1.3.2 (#835) renovate[bot] 2023-06-14 08:31:32 +02:00
  • 5ef33f1406 fix(deps): update github.com/chavacava/garif digest to 8144c22 (#836) renovate[bot] 2023-06-06 14:30:47 -07:00
  • 7cfe9d8eaf fix(deps): update module golang.org/x/tools to v0.9.3 (#837) renovate[bot] 2023-06-06 14:30:28 -07:00
  • ca38cc3655 Fix typo in example documentation for early-return (#834) meanguy 2023-05-30 01:24:09 -07:00
  • 68bf7e5f38 build: remove go 1.17.x from ci (#833) Minko Gechev 2023-05-23 10:19:56 -07:00
  • ae07914dc4 ifelse: option to preserve variable scope (#832) Miles Delahunty 2023-05-23 18:10:09 +10:00
  • 2a1838f501 adds default config to enable all rules work out of the box (#830) chavacava 2023-05-20 14:44:34 +02:00
  • 9117f8e621 fix(deps): update github.com/chavacava/garif digest to 4752330 (#831) renovate[bot] 2023-05-19 14:04:54 -07:00
  • 4bb48df5d2 refactor: extract shared code for linting if-else chains (#821) Miles Delahunty 2023-05-17 21:51:35 +10:00
  • 81d85b505d fix #824 (#829) v1.3.2 chavacava 2023-05-16 10:31:25 +02:00
  • ed6d9ce652 Fix prefix trimming in struct-tag (#827) Minko Gechev 2023-05-16 09:09:20 +03:00
  • 6d5bc51b50 Move away from deprecated ioutils (#825) Minko Gechev 2023-05-16 09:06:52 +03:00
  • b508fa8d91 fix(deps): update module golang.org/x/tools to v0.9.1 (#811) renovate[bot] 2023-05-15 13:57:23 +02:00
  • cd336fc457 Fix invalid toml in rule.add-constant example (#819) Florian Karuhtz 2023-05-15 13:56:34 +02:00
  • e20c7788f9 add nolint to default list of acceptable comments for comment-spacings (#822) Nate Finch 2023-05-09 10:20:58 -04:00
  • 022236f9e4 fix: error message typo in revivelib.New Oleksandr Redko 2023-04-20 17:40:23 +03:00
  • 55585666b7 Prevent empty-block when looping over call expr Mario Valderrama 2023-04-28 15:38:51 +02:00
  • dc6909b49f fix tests not passing after the modif of the default rules list (#817) chavacava 2023-05-01 10:30:48 +02:00
  • b03e54f617 empty-block: Fix false positive on select {} (#805) v1.3.1 Abhinav Gupta 2023-03-16 13:39:52 -07:00
  • 5db07b5c97 fix(deps): update module github.com/fatih/color to v1.15.0 (#803) v1.3.0 renovate[bot] 2023-03-14 16:18:06 -07:00
  • 9a00c13773 fix(deps): update module golang.org/x/tools to v0.7.0 (#801) renovate[bot] 2023-03-14 16:17:53 -07:00
  • aea6254fca Update default rule set to match recommendations (#799) Johan Walles 2023-03-15 00:17:36 +01:00
  • 6fd2c76c7d fix issue #520 (#802) chavacava 2023-03-15 00:16:12 +01:00
  • d7bedbd946 add golint's package name MixedCaps rule as in 83fdc39ff7/lint.go (L561-L563) (#797) cce 2023-02-27 13:56:30 -05:00
  • e8d5df7741 fix(deps): update github.com/chavacava/garif digest to b8c73b2 (#798) renovate[bot] 2023-02-27 19:50:35 +01:00
  • cab1184197 Add tags to docker images built by GoReleaser (#794) Edouard Choinière 2023-02-23 06:04:22 -05:00
  • 10d4f5fb1c fix issue #792 (#793) chavacava 2023-02-18 10:57:06 +01:00
  • b2bc00bd75 refactor: Reduce package-comments output scope (#791) Vito (Victor Gama) 2023-02-17 17:39:51 -03:00
  • 8c2cd33315 fixing comment spacings (#789) Felipe David 2023-02-17 17:03:11 -03:00
  • 4981346ff9 fix(deps): update module golang.org/x/tools to v0.6.0 (#785) renovate[bot] 2023-02-14 09:10:15 -08:00
  • a4f4632a3f fix #781 (#782) v1.2.5 chavacava 2023-01-26 22:50:35 +01:00
  • 54ee9dbcde fix(deps): update module github.com/fatih/color to v1.14.1 (#783) renovate[bot] 2023-01-26 13:50:20 -08:00
  • cb6823a888 fix(deps): update module golang.org/x/tools to v0.5.0 (#780) renovate[bot] 2023-01-09 14:57:01 -08:00
  • b4fd11aa64 fix(deps): update module golang.org/x/tools to v0.4.0 (#777) renovate[bot] 2022-12-14 16:26:10 -08:00
  • b87d391ee4 Fix early-return false positive and other tweaks (#776) Miles Delahunty 2022-11-27 23:23:51 +11:00
  • d5d9da17ec fix(deps): update module golang.org/x/tools to v0.3.0 (#772) renovate[bot] 2022-11-11 18:18:49 -08:00
  • ae282a54c8 fix off by one issue in line and colums (#773) Reza Nikoopour 2022-11-11 01:47:58 -05:00
  • 7b1458a9cb fix #754 [rule.unhandled-error] change arguments to regexp (#757) Buyanov Vladimir 2022-11-09 15:13:52 +03:00
  • 5f26378cc2 Comment spacing rule (#761) Shubh Karman Singh 2022-10-29 23:02:42 +05:30
  • 5fd3b2c046 fix(deps): update github.com/chavacava/garif digest to b3ef358 (#767) renovate[bot] 2022-10-27 14:45:32 +01:00
  • 32a0cb8052 Allows inversing the semantics of string-format rule configurations (#765) chavacava 2022-10-24 20:48:41 +02:00
  • 06881a9f54 speedup branch comparison (#764) chavacava 2022-10-24 17:21:48 +02:00
  • 55e881a792 fix(deps): update module github.com/burntsushi/toml to v1.2.1 (#766) renovate[bot] 2022-10-24 17:13:42 +02:00
  • 3fe5f99860 fix(deps): update module golang.org/x/tools to v0.2.0 (#763) renovate[bot] 2022-10-21 15:38:35 +02:00
  • 1c3a15caaa fix #759 [rule.add-constant] change 'ignoreFuncs' expressions in documentation and test (#760) Buyanov Vladimir 2022-10-15 12:24:32 +03:00
  • 3d83403fb8 fix #751 [rule.add-constant] add ignoreFuncs to exclude constants in … (#756) Buyanov Vladimir 2022-10-13 14:23:23 +03:00
  • 5cc9e27ddb docs(README): add missing links and fix a broken one (#758) Tom 2022-10-12 08:32:14 +04:00
  • b4201ff650 Fix broken link of 'Comment Directives' in README (#753) Hsing-Yu (David) Chen 2022-10-06 17:05:23 +08:00
  • ec731c068d go get reference updates (#750) Attila Fabian 2022-10-04 10:26:40 +02:00
  • 3116818e59 fix bug #736 (#745) v1.2.4 chavacava 2022-09-10 09:08:17 +02:00
  • 7c2ebbda24 fix #744 (#746) chavacava 2022-09-05 11:11:45 +02:00
  • 553604eace fix bug #739: empty-lines false positive (#742) chavacava 2022-08-27 13:18:17 +02:00
  • a4add4a769 docs(README): Add neovim support in text editors section (#734) Rafael Madriz 2022-08-20 01:58:47 -03:00
  • fa350e6eb8 fix some typos in repository (#728) ccoVeille 2022-08-08 13:48:59 +02:00
  • 160dfbd4ad fix documentation (#730) ccoVeille 2022-08-08 13:21:09 +02:00
  • 556d4852f9 release with go 1.19 (#727) v1.2.3 Ahmed 2022-08-07 22:29:40 +02:00
  • 238d290ebb Add windows arm64 to the ignore list v1.2.2 mgechev 2022-08-06 20:29:48 -07:00
  • 7cd66dc752 Tidy mod file mgechev 2022-08-06 19:57:03 -07:00
  • fe7a52dd02 chore(deps): update module go to 1.19 (#715) renovate[bot] 2022-08-06 19:53:43 -07:00
  • 83e66f1647 fix(deps): update module golang.org/x/tools to v0.1.12 (#720) renovate[bot] 2022-08-06 19:52:47 -07:00