1
0
mirror of https://github.com/mgechev/revive.git synced 2026-04-24 20:55:48 +02:00

Commit Graph

  • 4a89763cb7 empty-block: skip bare for-range loops (#1710) master Oleksandr Redko 2026-04-24 09:29:32 +03:00
  • 0483b87b24 docs: improve README and RULES_DESCRIPTIONS (#1698) Oleksandr Redko 2026-04-24 09:28:44 +03:00
  • 8aa5ae3be7 chore(deps): update gomod (#1709) renovate[bot] 2026-04-13 07:27:53 +02:00
  • a10951a2ec fix(deps): update module golang.org/x/tools to v0.44.0 (#1708) renovate[bot] 2026-04-10 09:20:55 +02:00
  • 61677232e8 fix(deps): update module golang.org/x/mod to v0.35.0 (#1705) renovate[bot] 2026-04-09 17:16:56 +02:00
  • f51c7378a0 chore(deps): update golang docker tag to v1.26.2 (#1703) renovate[bot] 2026-04-08 09:27:21 +02:00
  • 1423b3c415 chore(deps): update module mvdan.cc/sh/v3 to v3.13.1 (#1702) renovate[bot] 2026-04-07 07:37:36 +02:00
  • b48d01b433 fix(deps): update module github.com/hashicorp/go-version to v1.9.0 (#1700) renovate[bot] 2026-03-30 08:04:21 -07:00
  • a1611dad17 use-any: enable only for Go 1.18+ (#1699) Oleksandr Redko 2026-03-25 19:57:54 +02:00
  • 67780da98b use-errors-new: disable for Go 1.26 (#1697) Oleksandr Redko 2026-03-25 13:32:04 +02:00
  • 4a96bcf1e3 chore(deps): update module golang.org/x/text to v0.35.0 (#1693) renovate[bot] 2026-03-23 03:09:23 -07:00
  • 73d2e9e410 chore: fix modernize issue; enable package-naming rule (#1694) Oleksandr Redko 2026-03-23 12:09:08 +02:00
  • 9b47430310 fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.4 (#1692) renovate[bot] 2026-03-23 11:44:04 +02:00
  • 3ef4f6f578 fix(deps): update module github.com/fatih/color to v1.19.0 (#1691) renovate[bot] 2026-03-20 05:13:53 -07:00
  • 24c17f6c96 use-waitgroup-go: support range statements (#1686) Oleksandr Redko 2026-03-20 12:55:30 +02:00
  • fdbb3df834 test: remove unused TestGetDevelopmentVersion for pre Go 1.24 (#1690) Oleksandr Redko 2026-03-16 21:15:07 +02:00
  • e3ce7b1c30 refactor: move isCallToExitFunction to internal/astutils (#1688) Oleksandr Redko 2026-03-16 20:16:20 +02:00
  • 40cc0b32ab fix(deps): update module golang.org/x/tools to v0.43.0 (#1684) renovate[bot] 2026-03-12 02:50:54 -07:00
  • 99c8f90d2d fix(deps): update module golang.org/x/mod to v0.34.0 (#1683) renovate[bot] 2026-03-11 16:29:22 +01:00
  • e0b45914c7 docs: fix untyped rules descriptions (#1682) Oleksandr Redko 2026-03-11 14:28:39 +02:00
  • ef346d31cb fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.3 (#1681) renovate[bot] 2026-03-10 15:29:25 +01:00
  • 6c3a7a51f8 chore(deps): update module mvdan.cc/sh/v3 to v3.13.0 (#1680) renovate[bot] 2026-03-09 14:57:11 +01:00
  • 458218167b chore(deps): update module golang.org/x/sys to v0.42.0 (#1677) renovate[bot] 2026-03-09 07:49:50 +01:00
  • 05c37ed7e0 docs: update switch style rule arguments to kebab-case (#1676) Oleksandr Redko 2026-03-08 19:22:16 +02:00
  • d79e9fc50f docs: show only kebab-cased options (#1670) Oleksandr Redko 2026-03-08 19:08:35 +02:00
  • 05ff559b66 fix(deps): update module golang.org/x/sync to v0.20.0 (#1675) renovate[bot] 2026-03-08 15:17:05 +01:00
  • a17ce4cd53 fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.2 (#1674) renovate[bot] 2026-03-08 07:44:55 +01:00
  • 23da32b176 fix(deps): update module codeberg.org/chavacava/garif to v0.2.1 (#1673) renovate[bot] 2026-03-07 20:15:19 +01:00
  • 79dcc20f14 docs: improve rules descriptions (#1671) Oleksandr Redko 2026-03-07 15:20:50 +02:00
  • f31bbab8a9 fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.1 (#1668) renovate[bot] 2026-03-06 21:57:37 +01:00
  • 815ffde4de package-naming: move package checks from var-naming (#1645) v1.15.0 Oleksandr Redko 2026-03-06 11:57:31 +02:00
  • 65abe1a6cd chore(deps): update golang docker tag to v1.26.1 (#1667) renovate[bot] 2026-03-06 07:34:40 +01:00
  • a4ed2c534c chore: upgrade hougesen/mdsf to v0.12.0 (#1666) Oleksandr Redko 2026-03-05 15:07:24 +02:00
  • 91c4cae548 Revert "refactor: drop dependency on github.com/fatih/structtag (#1650)" (#1664) Oleksandr Redko 2026-03-04 14:19:52 +02:00
  • 480a496df7 refactor: drop dependency on github.com/fatih/structtag (#1650) Oleksandr Redko 2026-03-04 07:52:55 +02:00
  • 34c5b90fb2 test: improve formatters coverage (#1661) Oleksandr Redko 2026-03-03 12:38:00 +02:00
  • 5759c3c119 docs: Fix logo aligning (#1660) Oleksandr Redko 2026-03-02 21:35:09 +02:00
  • 2245a224e1 docs: Fix links and maintainers table (#1659) Oleksandr Redko 2026-03-02 21:27:30 +02:00
  • 75c97a3c0f chore: go:fix inline for LintPattern.GetPattern (#1658) Oleksandr Redko 2026-02-25 10:10:01 +02:00
  • f10d9cd56a chore(deps): update golang docker tag to v1.26.0 (#1634) renovate[bot] 2026-02-24 14:29:27 +01:00
  • 6bfad8fbcb chore: bump go.mod version to 1.25.0 (#1655) Denis Voytyuk 2026-02-24 12:14:39 +01:00
  • 2eeafd5ef0 chore: bump go.mod version to 1.25.0 chore/bump-go-version Denis V 2026-02-24 12:09:02 +01:00
  • 2f3124d525 docs: add star history to README (#1653) Oleksandr Redko 2026-02-24 13:00:35 +02:00
  • f49109e08f docs: remove archived Bazel and Neovim links (#1652) Oleksandr Redko 2026-02-24 12:57:44 +02:00
  • 6aef37021c chore: enable reassign linter (#1649) Oleksandr Redko 2026-02-22 20:29:05 +02:00
  • 6a72f8d471 chore: fix panicking benchmarks (#1648) Oleksandr Redko 2026-02-21 19:23:15 +02:00
  • b1d733d8e5 docs: improve comments (#1646) Oleksandr Redko 2026-02-21 16:45:54 +02:00
  • 802fc25644 chore: use alias linters.Arguments instead of []any (#1644) Oleksandr Redko 2026-02-21 13:41:42 +02:00
  • af160c7de0 chore: enable unparam.check-exported (#1643) Oleksandr Redko 2026-02-20 21:42:40 +02:00
  • 8fa0790ef1 fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.10.1 (#1640) renovate[bot] 2026-02-20 18:59:22 +02:00
  • cf20396f12 fix: forbid enabling both enableAllRules and enableDefaultRules (#1642) Oleksandr Redko 2026-02-20 17:32:20 +02:00
  • 201451e758 chore: enable all revive rules (#1639) Oleksandr Redko 2026-02-17 17:10:43 +02:00
  • f061964aea chore(deps): update module golang.org/x/text to v0.34.0 (#1638) renovate[bot] 2026-02-16 08:44:33 +01:00
  • 53682248d8 chore(deps): update github actions (major) (#1635) Oleksandr Redko 2026-02-11 18:27:46 +02:00
  • a0496584e9 fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.9.0 (#1636) renovate[bot] 2026-02-11 07:38:14 +01:00
  • b38af67f54 docs: use go.dev instead of golang.org (#1632) v1.14.0 Oleksandr Redko 2026-02-10 23:39:57 +02:00
  • f9673c6857 enforce-switch-style: handle type switches (#1629) Simone Carletti 2026-02-10 17:20:37 +01:00
  • 61ea61d6a8 fix(deps): update module golang.org/x/tools to v0.42.0 (#1631) renovate[bot] 2026-02-09 22:42:20 +01:00
  • 17c5f58e0a fix(deps): update module golang.org/x/mod to v0.33.0 (#1630) renovate[bot] 2026-02-09 22:30:22 +01:00
  • 1b01da3a7b chore(deps): update module golang.org/x/sys to v0.41.0 (#1627) renovate[bot] 2026-02-09 09:40:04 +01:00
  • 38dde6a633 docs: document empty-block rule limitations and workarounds (#1624) Denis Voytyuk 2026-01-19 16:00:13 +01:00
  • d3deb98c3c ci: optimize PR ci runs to only run on related files modified (#1625) Denis Voytyuk 2026-01-18 09:39:12 +01:00
  • d3e7ec7b53 Address review comments fix/empty_block-false-positive Denis V 2026-01-15 14:24:52 +01:00
  • 9bbf9babcb Fix empty-block false positive on for-loop controls Denis V 2026-01-15 14:15:27 +01:00
  • 7b932f9861 fix(deps): update module golang.org/x/tools to v0.41.0 (#1621) renovate[bot] 2026-01-13 03:14:12 -08:00
  • 66a34ce0c4 chore(deps): update gomod (#1620) renovate[bot] 2026-01-12 02:33:49 -08:00
  • 9e01d9c617 fix(deps): update module golang.org/x/mod to v0.32.0 (#1619) renovate[bot] 2026-01-10 12:34:38 +01:00
  • a26ed11c58 fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.8.0 (#1618) renovate[bot] 2026-01-08 08:54:03 -08:00
  • 98b02d4ac7 Merge branch 'master' into feature/var-naming-acceptedPackageNames feature/var-naming-acceptedPackageNames chavacava 2025-12-21 10:32:31 +01:00
  • 594788c494 removes trailing space chavacava 2025-12-21 10:30:50 +01:00
  • 05d21c48ef fix tests chavacava 2025-12-21 10:29:02 +01:00
  • 9c3c0ddfb4 documents the new flag chavacava 2025-12-20 19:20:34 +01:00
  • 664be2eda8 feature: new rule use-slices-sort (#1605) chavacava 2025-12-19 22:05:06 +01:00
  • e4b119d424 chore(deps): update module golang.org/x/tools to v0.40.0 (#1614) renovate[bot] 2025-12-19 18:56:05 +01:00
  • 0f20c29e4f fix pbs identified in the code review rule/use-slices-sort chavacava 2025-12-19 18:28:17 +01:00
  • b1bb9a83ee chore: update GHA in renovate; change to indirect for tools (#1613) Oleksandr Redko 2025-12-19 17:25:12 +02:00
  • 65e8c0a15d fix(deps): update module github.com/burntsushi/toml to v1.6.0 (#1611) renovate[bot] 2025-12-19 00:41:26 -08:00
  • 0527051da3 chore(deps): update module golang.org/x/text to v0.32.0 (#1609) renovate[bot] 2025-12-15 20:09:08 +01:00
  • e2ac40435d chore(deps): update tools gomod (major) (#1595) renovate[bot] 2025-12-15 20:08:38 +01:00
  • 3daeaf4fe3 fix(deps): update module golang.org/x/tools to v0.40.0 (#1608) renovate[bot] 2025-12-09 10:07:53 +01:00
  • 7db572dd6e fix(deps): update module golang.org/x/mod to v0.31.0 (#1607) renovate[bot] 2025-12-09 10:05:34 +01:00
  • 8e7b33d479 fix(deps): update module golang.org/x/sync to v0.19.0 (#1606) renovate[bot] 2025-12-09 09:48:42 +01:00
  • 737b6b2453 fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.7.2 (#1597) renovate[bot] 2025-12-09 09:47:45 +01:00
  • 45875f4786 fixing linting errors that should be warnings... chavacava 2025-12-07 11:22:19 +01:00
  • 1a7dc2f590 fix lint warnings chavacava 2025-12-07 11:19:04 +01:00
  • f171b5c3d6 fix test with hardcoded values :( chavacava 2025-12-07 11:18:34 +01:00
  • 7b89a93265 add tests chavacava 2025-12-07 11:04:31 +01:00
  • 66f6acc9c5 apply the rule only if Go version >= 1.21 chavacava 2025-12-07 10:35:58 +01:00
  • 6ce0c0d4c0 better rule description chavacava 2025-12-07 10:35:31 +01:00
  • ba01e194bc add doc chavacava 2025-12-07 10:27:24 +01:00
  • ff87d26b68 add support to all sort methods that can be replaced by slices methods chavacava 2025-12-07 10:26:58 +01:00
  • fee6b8f65f cleaner implementation chavacava 2025-12-07 09:39:24 +01:00
  • 25f91f4c93 draft implementation chavacava 2025-12-06 20:19:26 +01:00
  • 9b74d17451 draft new conf key for accepting package names chavacava 2025-12-06 12:39:16 +01:00
  • 435ddcff5d fix(inefficient-map-lookup): rule panics on ranges without key (#1604) chavacava 2025-12-05 17:27:59 +01:00
  • 50a36ac674 redundant-test-main-exit: allow flag.Parse() in TestMain (#1599) Oleksandr Redko 2025-12-05 18:27:11 +02:00
  • e174d6d752 var-naming: improve std package name collision check (#1593) Oleksandr Redko 2025-12-01 13:57:29 +02:00
  • 3e6d16baec change: sort stylish issues; test only exported formatter functions (#1587) Oleksandr Redko 2025-12-01 13:55:03 +02:00
  • 51564f1f29 fix(deps): update module github.com/hashicorp/go-version to v1.8.0 (#1591) renovate[bot] 2025-11-28 00:21:31 -08:00
  • bec3e617d1 fix: add check for error in epoch-naming (#1589) Oleksandr Redko 2025-11-28 09:58:52 +02:00