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

Commit Graph

  • 14babf2824 refactor: move lint.Name to name.go file (#1084) Oleksandr Redko 2024-10-28 14:22:36 +02:00
  • a213a5f7f6 documents default exclusion of vendor chavacava 2024-10-28 09:15:06 -03:00
  • d29323985f refactor: add tests for isGenerated in the lint package (#1083) Oleksandr Redko 2024-10-28 13:24:10 +02:00
  • 21344f1bd5 refactor: change to t.Fatal(err) (#1081) Oleksandr Redko 2024-10-28 13:21:57 +02:00
  • 3bead6f4a0 feat: add file-length-limit rule (#1072) Oleksandr Redko 2024-10-26 13:40:24 +03:00
  • 599874c773 chore: remove unnecessary empty lines (#1080) Oleksandr Redko 2024-10-26 13:35:02 +03:00
  • ad0f03a03f chore: fix typo (#1079) Ludovic Fernandez 2024-10-25 14:52:31 +02:00
  • 8ef730cd03 docs(README): fix TOC, add empty lines (#1074) Oleksandr Redko 2024-10-25 15:34:38 +03:00
  • 7fa1b2786d chore(deps): update golang docker tag to v1.23 (#1071) renovate[bot] 2024-10-25 09:33:34 -03:00
  • 1a3d95f6ab chore: update actions (#1075) Ludovic Fernandez 2024-10-25 14:32:38 +02:00
  • 662e02cd70 refactor: use "filepath" instead of "path" (#1073) Oleksandr Redko 2024-10-25 12:48:41 +03:00
  • 842b3e2fa3 enhance Docker build process (#1070) Markus Wiegand 2024-10-24 17:56:51 +02:00
  • 3780c36134 fix(deps): update module github.com/fatih/color to v1.18.0 (#1067) renovate[bot] 2024-10-22 17:59:56 +02:00
  • 501cc4a675 feat: ignore vendor if no exclude set (#1058) Marcin Federowicz 2024-10-18 00:25:24 +02:00
  • cea28f882a fix(deps): update module golang.org/x/tools to v0.26.0 (#1057) renovate[bot] 2024-10-09 18:02:39 +02:00
  • d76ffb98f6 update testdata: var case (#1055) Marcin Federowicz 2024-10-02 12:20:39 +02:00
  • ff7b0adb4c rule.exported: add feature to disable checking on const,method,function, variable (#1047) Marcin Federowicz 2024-10-02 10:46:52 +02:00
  • ca2a32b087 code cleanup (#1054) chavacava 2024-10-01 12:14:02 +02:00
  • 798ce21849 makes exported rule behave as golint (#1051) chavacava 2024-09-29 22:50:49 +02:00
  • fa37c00bdf removes redefinition of max built-in (#1052) chavacava 2024-09-29 10:08:15 +02:00
  • e9b7f3aa68 bumps go version to 1.21.1 and update dependencies (#1050) chavacava 2024-09-28 18:02:46 +02:00
  • 4c3641ebc3 fix #1032 by comparing string representations of types (#1049) chavacava 2024-09-24 11:29:20 +02:00
  • 3249a5ef06 fix: enforce-repeated-arg-type-style rule finds false positives in case of invalid types (#1046) Denis Voytyuk 2024-09-23 13:48:49 +02:00
  • 53a111d36e adds check for receiver names length (#1048) chavacava 2024-09-23 12:38:39 +02:00
  • a65fb8d1b5 adds tests for specific go versions (#1043) v1.4.0 chavacava 2024-09-20 16:09:24 +02:00
  • 4ac5cb5e39 fix gitignore (#1042) yuta nishiyama 2024-09-19 15:11:04 +09:00
  • 59131927d3 Move away from deprecated github.com/pkg/errors (#1039) Oleksandr Redko 2024-09-16 10:40:46 +03:00
  • 6b745b0075 fix lint issues (#1038) yuta nishiyama 2024-09-16 16:32:34 +09:00
  • 259f22ea3f docs: update Go wiki links (#1036) Oleksandr Redko 2024-09-14 22:38:45 +03:00
  • 8bea739f45 docs: fix typo in comments (#1037) Oleksandr Redko 2024-09-14 22:38:06 +03:00
  • 6a139caf92 fix #1029 (#1030) chavacava 2024-08-21 10:38:34 +02:00
  • 251470be6a use a default Go version (1.0) in absence of go.mod (#1028) chavacava 2024-08-18 19:21:50 +02:00
  • 56702bd8d7 extract go version without depending on go list (#1025) chavacava 2024-08-18 09:53:45 +02:00
  • 05c4801f9b check param, result, type param of function in redefines-builtin-id rule (#1023) Shoichi Kaji 2024-08-15 20:29:11 +09:00
  • e54773e4b9 check clear/max/min in redefines-builtin-id rule on go1.21+ (#1024) Shoichi Kaji 2024-08-15 20:14:16 +09:00
  • a638ed6e24 Add multiple scopes support to string-format rule (#1009) Trifun 2024-08-09 22:01:17 +03:00
  • 24a70cdf18 fix(deps): update module golang.org/x/tools to v0.24.0 (#1019) renovate[bot] 2024-08-09 20:55:14 +02:00
  • 8f9edc9fe7 #1002 - add "checkPublicInterface" option to "exported" rule to allow check documentation on public methods on public interfaces (#1003) Fagim Sadykov 2024-07-30 13:36:03 +05:00
  • a0fcd5a3c5 docs: typo in add-constant configuration (#1018) Amin Cheloh 2024-07-30 15:34:54 +07:00
  • 1b9010aff0 docs: fix TOC item (#1017) Ludovic Fernandez 2024-07-29 10:59:31 +02:00
  • 9ec5e553e9 Update goreleaser version to 1.22 (#1016) v1.3.9 Denis Voytyuk 2024-07-24 07:24:35 +02:00
  • 0eb2e24523 Drop go 1.20, add go 1.22 in GH actions (#1015) Denis Voytyuk 2024-07-24 07:19:53 +02:00
  • bedce659ca Fix goreleaser (#1014) Denis Voytyuk 2024-07-24 07:16:11 +02:00
  • 7ef710a0c2 fix(1007): return Sel.Name as FuncName when selector is an CallExpr (#1012) v1.3.8 Songlin Yang 2024-07-19 16:33:27 +08:00
  • a2174a34b3 fix(deps): update module golang.org/x/tools to v0.23.0 (#1006) renovate[bot] 2024-07-13 13:34:38 +02:00
  • bf7adb69ad Update README.md & Typo (#1010) Arash Hatami 2024-07-11 11:26:42 +03:30
  • 689291fbcb rule optimize-operands-order: do not consider built-in len as a caller (#1005) Kostas Stamatakis 2024-07-02 09:22:13 +03:00
  • 0df1bb0860 Fix a performance regression #995 (#998) dominiquelefevre 2024-06-22 18:12:49 +03:00
  • 9c2d25c919 docs: clean (#996) Ludovic Fernandez 2024-06-22 16:54:34 +02:00
  • 8fe6c0666e fix(deps): update module golang.org/x/tools to v0.22.0 (#999) renovate[bot] 2024-06-22 16:53:45 +02:00
  • 1bb03d77c2 docs: missing item and homogeneous style (#994) Ludovic Fernandez 2024-06-03 05:45:16 +02:00
  • 4242f24f4d Add support for the new implementation of for loop variables in go 1.22. (#993) dominiquelefevre 2024-06-02 12:55:26 +03:00
  • bbe5eb7414 fix(deps): update module github.com/burntsushi/toml to v1.4.0 (#992) renovate[bot] 2024-05-23 19:06:06 +02:00
  • f4d39494f0 fix(deps): update module github.com/fatih/color to v1.17.0 (#990) renovate[bot] 2024-05-13 15:08:23 -07:00
  • 5bf08fcd40 Fix 922 (#989) chavacava 2024-05-13 14:23:02 +02:00
  • 993c9f68a9 fix #982 Entuazism 2024-05-11 20:50:30 +03:00
  • 2d3426f777 more precise regular expression for directive comments (#988) chavacava 2024-05-11 19:19:09 +02:00
  • 85333f8533 Fix #808 (#986) chavacava 2024-05-10 12:11:05 +02:00
  • 582822e60a fix(deps): update module golang.org/x/tools to v0.21.0 (#984) renovate[bot] 2024-05-07 07:08:20 +02:00
  • 9b297848d9 adds comments-density rule (#979) chavacava 2024-04-20 10:20:56 +02:00
  • 0a77458f89 remove colon suffix in comment-spacings rule (#981) Gustavo Alves 2024-04-19 16:39:59 +02:00
  • f88f60da20 fix(deps): update module golang.org/x/tools to v0.20.0 (#978) renovate[bot] 2024-04-05 17:37:34 +02:00
  • 75a8e403f5 fix(deps): update module golang.org/x/tools to v0.19.0 (#976) renovate[bot] 2024-03-05 10:32:26 +01:00
  • 17a0393326 enforce-slice-style: Support nil declaration enforcement (#974) Jameel Al-Aziz 2024-02-26 02:58:31 -08:00
  • b3a6cfe0cd fix(deps): update module golang.org/x/tools to v0.18.0 (#972) renovate[bot] 2024-02-14 18:20:16 +01:00
  • 5c5d6c1075 fix: enforce-repeated-arg-type-style in config (#970) v1.3.7 Ludovic Fernandez 2024-02-07 18:00:26 +01:00
  • ef34f92cef fix 968 by removing references to black and white lists (#969) chavacava 2024-02-03 18:36:44 +01:00
  • 3a62091839 Adds rule max-control-nesting (#967) chavacava 2024-01-28 12:22:41 +01:00
  • f547cb594e Check function literals in unused-param (#966) Stephen Buttolph 2024-01-27 07:39:55 -05:00
  • 64dda06595 feat: capitalise var naming to IDs (#964) Vincent Baron 2024-01-17 14:01:40 +01:00
  • 9abe06adfa refactor: rename blacklist to blocklist and whitelist to allowlist (#946) Marcin Federowicz 2024-01-15 12:16:00 +01:00
  • af4f9ea960 fix(deps): update module golang.org/x/tools to v0.17.0 (#963) renovate[bot] 2024-01-12 07:37:41 +01:00
  • be35a880ab unhandled-error: use full function name in error message (#962) Michael McLoughlin 2024-01-08 12:36:30 -05:00
  • 4b62e4b6e5 Update list of contributors (#960) Denis Voytyuk 2024-01-08 10:00:05 +01:00
  • e33fb872bb fix: remove errored replace directive, fix go install (#957) v1.3.6 EXHades 2024-01-04 18:23:21 +08:00
  • f8e122f43d fix: add-constant struct tags in anonymous struct literals false positive (#954) v1.3.5 Denis Voytyuk 2023-12-28 23:59:58 +01:00
  • 8d5724f746 feat: add support for enforce-repeated-arg-type-style rule (#953) Denis Voytyuk 2023-12-27 10:30:09 +01:00
  • 90b21120ea fix(deps): update module golang.org/x/tools to v0.16.1 (#949) renovate[bot] 2023-12-13 00:34:38 +01:00
  • 2a1701aadb fix: enable tests in the test/utils.go file (#930) Oleksandr Redko 2023-12-02 13:42:41 +02:00
  • 782f0f118c variable to skip package name checks (#941) Georgy Buranov 2023-11-30 14:19:31 +01:00
  • d3aa99cf8b chore(deps): update module github.com/spf13/afero to v1.11.0 (#945) renovate[bot] 2023-11-28 15:50:12 +01:00
  • 7da6a39044 modifies-value-receiver: warn on slice or map (#943) Bryan Boreham 2023-11-28 14:45:52 +00:00
  • 2862d06d26 fix(deps): update module golang.org/x/tools to v0.16.0 (#944) renovate[bot] 2023-11-28 00:20:17 -08:00
  • 9e80d93545 extend parsing instructions to use json object instead of plain txt (#929) Marcin Federowicz 2023-11-26 10:18:36 +01:00
  • 9a2eab34f1 [dot-imports] support allow list of packages (#939) Nahshon Unna Tsameret 2023-11-26 04:07:12 -05:00
  • 12dd587d41 fix(deps): update module github.com/fatih/color to v1.16.0 (#933) renovate[bot] 2023-11-26 09:18:01 +01:00
  • 07eb59669a fix: ignore dot import aliases in import-alias-naming rule (#938) Denis Voytyuk 2023-11-26 08:57:34 +01:00
  • cdc8caf36b fix(deps): update module golang.org/x/tools to v0.15.0 (#935) renovate[bot] 2023-11-16 16:37:14 -08:00
  • ccae54e04e refactor: remove unused parameter from pick function (#932) Oleksandr Redko 2023-11-06 12:01:38 +02:00
  • 29ba247979 cli: refactor tests: use TestMain, t.Setenv (#931) Oleksandr Redko 2023-11-02 18:07:46 +02:00
  • 573f7153c1 var-naming: avoid allocations with (*regexp.Regexp).MatchString (#928) Eng Zer Jun 2023-11-02 16:40:09 +08:00
  • fd9a130d7a Add denyRegex support for import-alias-naming rule (#927) Denis Voytyuk 2023-10-29 13:19:53 +01:00
  • cb72bd880d formatters return output (#921) WillAbides 2023-10-29 02:05:08 -05:00
  • 25ae73a67a fix:ignore color marks when compare stings in test (#926) Marcin Federowicz 2023-10-29 07:43:52 +01:00
  • bcae8c78ca fix trailing whitespaces (#917) Marcin Federowicz 2023-10-27 07:26:27 +02:00
  • 1ef3c0f554 refactor: remove refs to io/ioutil (#918) Gavin Inglis 2023-10-14 10:25:25 -07:00
  • 8dbd58748a fix(deps): update module golang.org/x/tools to v0.14.0 (#915) renovate[bot] 2023-10-07 08:18:57 +02:00
  • cd2737acb4 Load config from different locations prefer XDG_CONFIG_HOME before HOME (#912) Marcin Federowicz 2023-10-03 20:07:00 +02:00
  • d631844aeb Fix link to the build (#911) y-yagi 2023-10-03 18:27:00 +09:00
  • fb5bbe72e7 fix: literal calls case (#909) Marcin Federowicz 2023-09-30 10:18:17 +02:00