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

Commit Graph

  • cc04b177a4 useless-fallthrough: do not report fallthrough before default (#1549) master 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
  • f9fff3bb09 fix(deps): update module golang.org/x/sync to v0.17.0 renovate/golang.org-x-sync-0.x renovate[bot] 2025-10-09 10:51:44 +00:00
  • 7a05bb5a77 fix(deps): update module golang.org/x/tools to v0.38.0 renovate/golang.org-x-tools-0.x renovate[bot] 2025-10-09 01:27:55 +00:00
  • a09fdcbd15 fix(deps): update module golang.org/x/mod to v0.29.0 renovate/golang.org-x-mod-0.x renovate[bot] 2025-10-08 19:09:23 +00:00
  • 2ea6d7d7bc chore(deps): update module golang.org/x/text to v0.30.0 renovate/golang.org-x-text-0.x renovate[bot] 2025-10-08 19:09:15 +00:00
  • 3d842122e0 chore(deps): update module golang.org/x/sys to v0.37.0 renovate/golang.org-x-sys-0.x renovate[bot] 2025-10-08 14:30:07 +00: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
  • 809768cffe chore: enable formatters in golangci-lint config (#1421) Oleksandr Redko 2025-07-12 17:32:39 +03:00
  • 92243279ea fix(deps): update module golang.org/x/tools to v0.35.0 (#1423) v1.11.0 renovate[bot] 2025-07-12 00:19:24 -07:00
  • cc180e221e var-naming: option to skip initialism name checks (#1415) Asaf Krenzler 2025-07-11 14:45:38 +03:00
  • 594e56503b chore: update golangci-lint; enable a few revive rules (#1420) Oleksandr Redko 2025-07-11 14:19:23 +03:00
  • 772659ea1d fix(deps): update module golang.org/x/mod to v0.26.0 (#1419) renovate[bot] 2025-07-10 09:25:43 +02:00
  • 8d3b01013b chore(deps): update module golang.org/x/text to v0.27.0 (#1418) renovate[bot] 2025-07-10 09:24:39 +02:00
  • 8e0de86d83 fix(deps): update module golang.org/x/sync to v0.16.0 (#1417) renovate[bot] 2025-07-10 09:19:26 +02:00
  • e585c9be3a chore(deps): update module golang.org/x/sys to v0.34.0 (#1416) renovate[bot] 2025-07-10 09:18:35 +02:00
  • 47b44556d9 docs: improve unhandled-error ignore argument examples (#1412) Ville Skyttä 2025-07-08 10:25:19 +00:00
  • 03e81029a8 docs: improve Installation section (#1409) Oleksandr Redko 2025-06-25 16:29:58 +03:00
  • 77d0d4a54b early-return: detect short deviated statements (#1396) Oleksandr Redko 2025-06-25 14:51:18 +03:00
  • 456cbd0aa8 var-naming: handle possible panic (#1405) Oleksandr Redko 2025-06-20 14:03:56 +03:00
  • 87bd73b28e unexported-return: fix type aliases support (#1408) Ludovic Fernandez 2025-06-18 16:58:16 +02:00
  • 24c008dd00 fix: var-naming rule extraBadPackageNames type (#1404) Ludovic Fernandez 2025-06-16 22:04:53 +02:00
  • 04983a692f exported: ignore exported symbols from the main package (#1398) Oleksandr Redko 2025-06-16 15:23:47 +03:00
  • 426a27ac0d fix(deps): update module golang.org/x/tools to v0.34.0 (#1402) renovate[bot] 2025-06-06 02:13:36 -07:00
  • e515d11480 unexported_return: exclude main package and test and tests files (#1399) ccoVeille 2025-06-06 09:48:30 +02:00
  • a538e521c8 chore(deps): update module golang.org/x/text to v0.26.0 (#1400) renovate[bot] 2025-06-05 09:50:32 -07:00
  • cfd69439bb feature: new rule enforce-switch-default (#1390) chavacava 2025-06-01 09:57:47 +02:00
  • 6becd540e4 feature: new rule use-fmt-print (#1389) v1.10.0 chavacava 2025-05-28 12:57:37 +02:00
  • a260ed9034 refactor: simplifies the implementation of rule call-to-gc (#1388) chavacava 2025-05-27 18:08:33 +02:00