1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-27 22:18:41 +02:00

Commit Graph

  • 5c1ca4901a chore: add token permissions to GHA (#1590) master Oleksandr Redko 2025-11-27 18:52:19 +02:00
  • 10e861964e refactor: fix gosec lint issues (#1586) Oleksandr Redko 2025-11-22 14:11:52 +02:00
  • 48b4f67d2b feature: new rule epoch-naming (#1556) Collie 2025-11-19 06:52:08 +00:00
  • dbcecde212 chore: format code with gofumpt (#1583) Oleksandr Redko 2025-11-17 13:35:59 +02:00
  • db0fc8688f chore(deps): update module golang.org/x/text to v0.31.0 (#1584) renovate[bot] 2025-11-17 03:35:41 -08:00
  • 5dc6ed197b refactor: enable few linters in golangci-lint config (#1580) Oleksandr Redko 2025-11-15 20:50:52 +02:00
  • d81298b0ce test: fix testpackage lint issues for test and ifelse (#1582) Oleksandr Redko 2025-11-15 20:24:16 +02:00
  • d1dd6ee961 refactor: remove unused checkNumberOfArguments (#1581) Oleksandr Redko 2025-11-15 19:35:57 +02:00
  • 6ff1fc5f12 test: check only exported functions in config package (#1579) Oleksandr Redko 2025-11-15 13:39:38 +02:00
  • 458fe3084c fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.6.2 (#1578) renovate[bot] 2025-11-14 08:25:07 -08:00
  • a295bebe6e refactor: enable godoclint linter in golangci-lint (#1576) Oleksandr Redko 2025-11-14 18:02:48 +02:00
  • ac5f398440 fix(deps): update module golang.org/x/tools to v0.39.0 (#1577) v1.13.0 renovate[bot] 2025-11-13 01:14:07 -08:00
  • 940621acdd import-shadowing: handle versioned packages correctly (#1445) Baranov Victor 2025-11-11 23:07:19 +03:00
  • 0038970a4f chore(deps): update module golang.org/x/sys to v0.38.0 (#1574) renovate[bot] 2025-11-10 01:43:16 -08:00
  • b73cca9e66 change: merge code-style with style categories (#1573) Oleksandr Redko 2025-11-09 19:18:26 +02:00
  • 010d7b28ec fix(deps): update module golang.org/x/sync to v0.18.0 (#1572) renovate[bot] 2025-11-08 09:27:47 -08:00
  • 5bf78f0755 chore(deps): update module google.golang.org/protobuf to v1.36.10 (#1569) renovate[bot] 2025-11-08 09:14:48 -08:00
  • e94ee821b8 chore(deps): update module dev.gaijin.team/go/golib to v0.7.0 (#1570) renovate[bot] 2025-11-08 09:14:39 -08:00
  • d492bd826e chore: update schedule in renovate config (#1571) Oleksandr Redko 2025-11-08 19:13:46 +02:00
  • f4985a3f6d chore(deps): update github.com/golangci/gofmt digest to 3e58ba0 (#1557) renovate[bot] 2025-11-07 08:33:59 -08:00
  • e0122e550c chore(deps): update module github.com/catenacyber/perfsprint to v0.10.1 (#1560) renovate[bot] 2025-11-07 08:33:49 -08:00
  • 592675e5bd chore(deps): update golang.org/x/telemetry digest to 5cc343d (#1559) renovate[bot] 2025-11-07 08:33:23 -08:00
  • 1723b3659a chore(deps): update github.com/golangci/golines digest to 8fd09d3 (#1558) renovate[bot] 2025-11-07 08:15:33 -08:00
  • 7b6a6119f8 chore(deps): bump Go 1.24 (#1555) Oleksandr Redko 2025-11-07 17:43:44 +02:00
  • ed85b79854 feature: add enableDefaultRules config option (#1551) cce 2025-11-06 07:05:40 -05:00
  • 480ab4f1ae docs: fix typos (#1553) Oleksandr Redko 2025-11-06 12:50:18 +02:00
  • cc04b177a4 useless-fallthrough: do not report fallthrough before default (#1549) Anupriya 2025-10-24 22:05:19 +05:30
  • 26d803fc96 package-directory-mismatch: ignore mismatch in root directory (#1548) Godsgift Uloamaka Ebite 2025-10-24 17:26:03 +01:00
  • 91147bf0b5 feature(package-directory-mismatch): allow test package names in version paths (#1547) spags 2025-10-23 07:20:40 -07:00
  • 1bc57ac6f3 feature(deep-exit): detect exit-triggering flag usage (#1544) Godsgift Uloamaka Ebite 2025-10-23 15:17:59 +01:00
  • d32d4a008f feature: package-directory-mismatch - ignore main_test package name (#1545) Godsgift Uloamaka Ebite 2025-10-15 06:24:17 +01:00
  • bc38b79980 feature: var-naming - add more bad package names and check for collisions with standard lib packages (#1540) Collie 2025-10-15 06:20:44 +01:00
  • c603da3180 chore(deps): update golang docker tag to v1.25 (#1474) renovate[bot] 2025-10-06 09:21:35 +02:00
  • c930786fdb fix: rule confusing-naming false positive on multiple blank identifiers (#1536) Emmanuel Ferdman 2025-10-06 10:13:26 +03:00
  • 8aae877599 feature: new rule use-new rule/use-new chavacava 2025-09-28 08:08:08 +02:00
  • c037639bc0 fix: rule struct-tag missing go-validator tags (#1526) (#1533) Peter Lyons 2025-09-25 22:40:51 -06:00
  • ef1b9fc156 fix: false positive for return in a defer function has no effect (#1531) chavacava 2025-09-25 17:15:34 +02:00
  • 0032846f87 fix: false positive for return in a defer function has no effect fix-1528 chavacava 2025-09-25 08:20:05 +02:00
  • dcfec1cf45 fix: false positive for return in a defer function has no effect fix/1528 chavacava 2025-09-25 08:20:05 +02:00
  • 1f2d3d5754 add example to the rule description feature/rule-redundant-assignment chavacava 2025-09-24 14:29:02 +02:00
  • 841265e56b feature: new rule redundant-assignment chavacava 2025-09-24 14:23:20 +02:00
  • 79e63ae064 feature: new rule unnecessary-if (#1520) chavacava 2025-09-22 19:07:45 +02:00
  • bc2aed1fd0 rename rule as unnecessary-if rule/unnecessary-conditional-2 chavacava 2025-09-22 12:39:22 +02:00
  • 7cdb6cfc2b add test with complex condition chavacava 2025-09-22 11:06:21 +02:00
  • 3220c1f04e feature: support cbor struct tag in struct-tag rule (#1527) chavacava 2025-09-22 11:03:36 +02:00
  • 199b3d2faa update doc feature-cborg-struct-tag chavacava 2025-09-20 18:54:59 +02:00
  • 2a21ae5c1c feature: support cbor struct tag in struc-tag rule chavacava 2025-09-20 18:54:36 +02:00
  • 8be7fa65f0 fix: rule struct-tag false positive on validate:omitempty (#1525) chavacava 2025-09-20 12:16:31 +02:00
  • 52c2c4d9a3 fix lint issue chavacava 2025-09-19 07:46:12 +02:00
  • bd1744e119 fix lint issue chavacava 2025-09-19 07:40:33 +02:00
  • 7359bf9a2e add doc chavacava 2025-09-19 07:38:09 +02:00
  • 4f4d390e67 add support for simplifying <,>,<=, >= negations chavacava 2025-08-31 09:46:38 +02:00
  • 335eb0d524 minor refactoring chavacava 2025-08-31 09:01:27 +02:00
  • 71a953df24 better replacement propositions + refactoring chavacava 2025-08-31 08:55:00 +02:00
  • 22844d49af draft version chavacava 2025-08-30 08:04:31 +02:00
  • ec8439e646 feature: add configuration notation in struct-tag rule to omit checking a tag (#1515) chavacava 2025-09-19 07:10:52 +02:00
  • 5736df325c fix(deps): update module github.com/spf13/afero to v1.15.0 (#1521) renovate[bot] 2025-09-09 01:26:02 -07:00
  • b827c22c4d struct-tag: support codec struct tag (#1507) Artem 2025-09-08 10:20:24 +03:00
  • b24647aaec feature: new rule forbidden-call-in-wg-go (#1514) chavacava 2025-09-05 20:05:53 +02:00
  • 490b37dbbe docs: enhance struct-tag rule description (#1512) Oleksandr Redko 2025-09-04 15:36:58 +03:00
  • 4d5fd518ca docs: fix MD024/no-duplicate-heading lint issue (#1513) Oleksandr Redko 2025-09-04 14:49:06 +03:00
  • 44e19927c0 doc: add before/after examples to bool-literal-in-expr description (#1500) chavacava 2025-08-31 10:25:19 +02:00
  • b89a95979b doc: add before/after examples to confusing-results description (#1503) chavacava 2025-08-31 10:19:44 +02:00
  • 89d77d3be8 doc: clearly identify configuration examples (#1504) chavacava 2025-08-30 10:48:25 +02:00
  • ca5fb06a93 feature: new rule inefficient-map-lookup (#1491) chavacava 2025-08-29 08:35:08 +02:00
  • 0e76b4d0b4 docs: update TOC; check for TOC consistency in GHA (#1493) Oleksandr Redko 2025-08-28 17:54:28 +03:00
  • e1d05f7a0e refactor: remove rule enforce-else (#1495) v1.12.0 chavacava 2025-08-28 13:09:42 +02:00
  • fc46c84cec feature: new rule unsecure-url-scheme (#1478) chavacava 2025-08-27 17:18:37 +02:00
  • 154a24fb51 docs: add info about golang code snippets (#1494) Oleksandr Redko 2025-08-27 12:31:47 +03:00
  • 4a6facc63c docs: add missing use-waitgroup-go TOC entry (#1492) Oleksandr Redko 2025-08-27 11:36:14 +03:00
  • 2db7034aca feature: new rule use-waitgroup-go (#1484) chavacava 2025-08-26 19:04:46 +02:00
  • 14c91fed1d feature: struct-tag warns on (useless) options on ignored fields (#1487) chavacava 2025-08-24 07:17:09 +02:00
  • cf4901574e refactor: replaces calls to astutils.PickNodes with calls to astutils.SeekNode when possible (#1482) chavacava 2025-08-23 17:41:10 +02:00
  • ccf85a25e5 fix: default formatter generates an extra new line (#1485) chavacava 2025-08-17 11:31:20 +02:00
  • 9fd8adbcd0 feature: detect useless options in spanner struct tag (#1483) chavacava 2025-08-17 07:50:54 +02:00
  • 15aded98f6 feature: new rule package-directory-mismatch (#1429) Baranov Victor 2025-08-16 20:16:20 +03:00
  • f07a47a1bf feature: support spanner struct tag in struct-tag rule (#1479) Sarthak S. Waghmare 2025-08-16 01:00:40 +05:30
  • 9d600b6df1 refactor: reduces the number of references to deprecated *ast.Object (#1473) chavacava 2025-08-14 13:25:47 +02:00
  • b34c8e96ec refactor: fix musttag lint issues (#1464) Oleksandr Redko 2025-08-11 11:43:23 +03:00
  • e5f7980ca3 chore: run tests and lint on push to main branch (#1470) Oleksandr Redko 2025-08-08 14:08:20 +03:00
  • 74e4f6318d chore: add macOS test runner (#1465) Baranov Victor 2025-08-08 13:55:52 +03:00
  • 74bbe3b1a6 fix(deps): update module golang.org/x/tools to v0.36.0 (#1469) renovate[bot] 2025-08-08 08:30:54 +02:00
  • da506562bb fix(deps): update module golang.org/x/mod to v0.27.0 (#1468) renovate[bot] 2025-08-07 22:32:08 +02:00
  • 3148906153 chore(deps): update module golang.org/x/sys to v0.35.0 (#1466) renovate[bot] 2025-08-07 22:30:55 +02:00
  • 22dfd66375 chore(deps): update module golang.org/x/text to v0.28.0 (#1467) renovate[bot] 2025-08-07 22:29:05 +02:00
  • 84b565b0bf feature: new rule useless-fallthrough (#1462) chavacava 2025-08-07 14:18:58 +02:00
  • 47205455ea feature: new rules identical-switch-branches and identical-ifelseif-branches chavacava 2025-08-06 11:19:12 +02:00
  • f353e4b0e5 feature: new rule identical-ifelseif-conditions (#1454) chavacava 2025-08-04 06:58:14 +02:00
  • 12d96adfd4 feature: new rule enforce-else (#1436) chavacava 2025-08-04 06:43:36 +02:00
  • 3f4591cd9a feature: new rule identical-switch-conditions (#1451) chavacava 2025-08-02 08:04:18 +02:00
  • 68ac5514f5 feature: detect identical-branches in switch statements (#1448) chavacava 2025-07-30 15:55:03 +02:00
  • 9fc7dc7d77 feature: identical-branches: check branches of "if ... else if" chains (#1440) chavacava 2025-07-29 16:57:06 +02:00
  • 6b060cd03a fix(1438): enforce-switch-style - false positive with pure return based switch (#1446) chavacava 2025-07-28 21:30:13 +02:00
  • 5a1e5fda4c chore: Add Copilot instructions (#1437) Oleksandr Redko 2025-07-25 13:11:08 +03:00
  • b969b8be4a modifies-parameter: handle slices.Delete and slices.DeleteFunc (#1427) Baranov Victor 2025-07-22 14:21:34 +03:00
  • 40a690dff5 exported: improve detection and error message (#1403) ccoVeille 2025-07-22 10:47:37 +02:00
  • 7de7cf3076 docs: add DeepWiki link to README (#1432) Oleksandr Redko 2025-07-22 11:45:40 +03:00
  • 984b38e246 chore: improve error reporting in test suite (#1431) ccoVeille 2025-07-21 11:21:37 +02:00
  • c971cb750b chore: improve comments for config files (#1424) Oleksandr Redko 2025-07-12 20:44:39 +03:00
  • a15fdfd322 chore: clean up GoReleaser config, remove unnecessary hooks (#1422) Oleksandr Redko 2025-07-12 17:33:28 +03:00