1
0
mirror of https://github.com/mgechev/revive.git synced 2025-07-15 01:04:40 +02:00

Commit Graph

  • 07d3fb99ce draft: detect exported methods on unexported types feature/bad-method-visibility chavacava 2025-07-14 10:12:21 +02:00
  • c971cb750b chore: improve comments for config files (#1424) master 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
  • 50dddb405b feature: detect time/date out of bounds in time-date rule (#1370) ccoVeille 2025-05-27 12:25:01 +02:00
  • bbcfa7f7ae docs: make contributors section shorter (#1381) Oleksandr Redko 2025-05-27 12:26:46 +03:00
  • f4976873e7 docs: improve comments for functions; enable godot (#1382) Oleksandr Redko 2025-05-27 08:44:24 +03:00
  • 398f7a83eb chore: enforce American English spelling in golangci-lint (#1384) ccoVeille 2025-05-27 07:43:06 +02:00
  • fb7687352c chore: enable dupword linter in golangci-lint (#1385) ccoVeille 2025-05-27 07:42:31 +02:00
  • a3338de10b chore: enable thelper linter in golangci-lint (#1386) ccoVeille 2025-05-27 07:41:11 +02:00
  • b1c9032746 feature: Add nil timezone handling detection to time-date rule (#1377) ccoVeille 2025-05-26 14:32:55 +02:00
  • 92f28cb5e1 refactor: moves code related to AST from rule.utils into astutils package (#1380) chavacava 2025-05-26 13:18:38 +02:00
  • 87b146c60e refactor: gofmt testdata (#1379) Oleksandr Redko 2025-05-26 13:54:46 +03:00
  • e8ed573739 refactor: enable gocritic linter; fix lint issues (#1375) Oleksandr Redko 2025-05-26 12:40:17 +03:00
  • 51ac5c2524 feature: new rule unnecessary-format to spot unnecessary use of formatting functions (#1372) chavacava 2025-05-26 11:07:42 +02:00
  • ab05438914 chore: improve time-date decimal tests (#1378) ccoVeille 2025-05-26 09:54:33 +02:00
  • a4737e935a fix: avoid false positive for blank identifier (#1376) ccoVeille 2025-05-25 16:36:22 +02:00
  • a56cf7290e docs: format code snippets in markdown files (#1324) Oleksandr Redko 2025-05-24 22:29:40 +03:00
  • 7b38dd84f1 refactor: modifies test utils functions by removing redundant test instructions parsing and simplifying asserting functions chavacava 2025-05-24 19:05:19 +02:00
  • 94cd7bdec2 refactor: removes get from getters names (#1373) chavacava 2025-05-24 19:03:05 +02:00
  • f531af3b48 fix(#1363): package-comments ignores //nolint directives (#1366) chavacava 2025-05-23 14:07:38 +02:00
  • 3cac850cb6 feature: add rule time-date to check for time.Date usage (#1327) ccoVeille 2025-05-22 21:44:04 +02:00
  • c73f766ea3 fix(#1367): struct-tag with validate is missing built-in rules chavacava 2025-05-22 20:53:10 +02:00
  • 70c77d5be2 chore: add linter for Markdown files (#1361) Oleksandr Redko 2025-05-21 23:00:07 +03:00
  • 3f2cbe9d4b fix: update rule description URLs to point to revive.run (#1360) Hazhir Derakhshi 2025-05-20 08:26:22 +01:00
  • 1c13e455be fix(deps): update module github.com/mgechev/dots to v1.0.0 (#1358) renovate[bot] 2025-05-19 09:29:04 -07:00
  • e16f5aa5a6 refactor: tiny refactoring on friendly, sarif and stylish formatters (#1355) chavacava 2025-05-18 10:52:49 +02:00
  • f3f77bb387 refactor: remove tablewriter dependency (#1351) Hazhir Derakhshi 2025-05-17 18:33:14 +01:00
  • 254bb41730 chore: remove unused deploy key (#1352) Oleksandr Redko 2025-05-16 15:41:54 +03:00
  • 26125211ba Integrate golangci-lint into CI/CD pipeline (#1346) Arjun Rajpal 2025-05-16 08:12:23 -04:00
  • da3ba31922 docs: fix displaying rules table on revive.run (#1349) Oleksandr Redko 2025-05-15 22:21:36 +03:00
  • f6cc22de4d update garif (#1340) Maria Ines Parnisari 2025-05-08 01:19:22 -07:00
  • 5c4ed0917b fix(deps): update module golang.org/x/tools to v0.33.0 (#1339) renovate[bot] 2025-05-05 17:42:24 -07:00
  • 9f0dedcc82 chore(deps): update module golang.org/x/text to v0.25.0 (#1338) renovate[bot] 2025-05-05 17:38:40 -07:00
  • 0fd7f16a68 chore(deps): update module golang.org/x/sys to v0.33.0 (#1336) renovate[bot] 2025-05-05 12:01:51 -07:00
  • a94da3b667 fix(deps): update module golang.org/x/sync to v0.14.0 (#1337) renovate[bot] 2025-05-05 12:01:33 -07:00
  • 724a4ca419 chore: remove redundant //revive:disable-line (#1335) Oleksandr Redko 2025-05-02 12:02:31 +03:00
  • 48c047b4fb chore: avoid third-party morphy2k/revive-action in CI (#1334) Oleksandr Redko 2025-05-02 12:00:30 +03:00
  • 906dcefddb chore: remove redundant typeparams for Go 1.17 (#1331) Oleksandr Redko 2025-05-01 12:44:38 +03:00
  • a5e5d78760 chore: enable a few revive rules (#1330) Oleksandr Redko 2025-05-01 12:40:29 +03:00
  • dbcfd66945 fix(1323): false positive in get-return rule for HTTP Get handlers (#1325) chavacava 2025-04-27 13:06:29 +02:00
  • 7ba6ad4fcd var-naming: remove regex from code (#1322) Marcin Federowicz 2025-04-25 10:32:03 +02:00
  • d8a47ba18e var-name checks each package name only once (#1319) chavacava 2025-04-24 14:29:39 +02:00
  • 17527c928b docs: adapt golangci-lint configuration to v2 (#1318) Oleksandr Redko 2025-04-17 11:40:28 +03:00
  • 558580268e var-naming: detect meaningless package names (#1312) Oleksandr Redko 2025-04-16 12:30:28 +03:00
  • 57ed899d0c fix: add missing TypeCheck call (#1308) v1.9.0 Ludovic Fernandez 2025-04-10 07:57:56 +02:00
  • 7b2c7e74fc test: split TestGetVersion; remove toolchain (#1303) Oleksandr Redko 2025-04-10 08:54:40 +03:00
  • 1cb97fdcfc refactor: fix typos in comments and struct names (#1304) Oleksandr Redko 2025-04-10 08:47:55 +03:00
  • 8221f8516d chore: remove edited trigger (#1309) Ludovic Fernandez 2025-04-10 07:47:02 +02:00
  • fbd90be544 fix: race condition of Package fields (#1307) Ludovic Fernandez 2025-04-10 07:44:38 +02:00
  • f0eea95daf struct-tag: change reported messages and refactor implementation (#1292) chavacava 2025-04-10 07:43:35 +02:00
  • 535ec5a470 fix(deps): update module golang.org/x/tools to v0.32.0 (#1301) renovate[bot] 2025-04-08 13:45:47 +02:00
  • 02f0a40e4e feature: Improve error-strings rule to detect acronyms and proper nouns (#1287) chavacava 2025-04-08 07:17:58 +02:00
  • 343da9fbf2 Refactor/exported (#1299) chavacava 2025-04-07 20:59:55 +02:00
  • 5f32e8bffa chore: add lint and all targets to Makefile (#1298) chavacava 2025-04-07 11:24:19 +02:00
  • c882cb8f4f exported: correctly report deprecation-only comments (#1295) Semih Buyukgungor 2025-04-06 13:59:04 +03:00
  • 2442da0712 chore(deps): update module golang.org/x/sys to v0.32.0 (#1293) renovate[bot] 2025-04-06 09:56:31 +02:00
  • a9ee63c60e chore(deps): update module golang.org/x/text to v0.24.0 (#1296) renovate[bot] 2025-04-06 09:22:58 +02:00
  • 62f0b012e5 docs: sort rules in README table (#1291) Oleksandr Redko 2025-04-05 04:23:06 -07:00
  • 7f7f31aaaf feature: add support for properties tag in struct-tag rule (#1289) chavacava 2025-04-05 08:38:59 +02:00
  • d6ad7ce2cd fix: call fmt.Errorf with wrong err (#1290) alingse 2025-04-04 22:40:17 +08:00
  • f4e39a7aa8 fix false positive in useless-break when a label follows a break (#1286) Semih Buyukgungor 2025-04-04 09:45:40 +03:00
  • a50141aadb docs: place redundant-build-tag before redundant-import-alias (#1288) Gareth Jones 2025-04-04 19:38:58 +13:00
  • 379856ae9c chore(deps): update dependency go to v1.24.2 (#1285) renovate[bot] 2025-04-03 19:22:11 +02:00
  • 9f5f957b33 rule: allow lowercased and kebab-cased options (#1272) v1.8.0 Oleksandr Redko 2025-03-28 01:34:20 -07:00
  • 43a44af30f refactor: apply suggestions from gopls modernize (#1282) Oleksandr Redko 2025-03-28 01:32:30 -07:00
  • 561c949334 change: replace log with log/slog for logging (#1280) Oleksandr Redko 2025-03-25 09:47:59 -07:00
  • 88e5689475 fix(deps): update module github.com/burntsushi/toml to v1.5.0 (#1276) renovate[bot] 2025-03-18 14:14:03 +01:00
  • 9919e6bbe0 refactor: replace IsAtLeastGo1* functions by IsAtLeastGoVersion (#1274) chavacava 2025-03-16 18:18:05 +01:00
  • 770af80ab2 fix(deps): update module github.com/spf13/afero to v1.14.0 (#1271) renovate[bot] 2025-03-16 11:53:27 +01:00
  • 8b973cb1c5 fix(deps): update module github.com/spf13/afero to v1.13.0 (#1270) renovate[bot] 2025-03-15 10:04:51 +01:00
  • b77bb1a9db fix: cognitive complexity nesting with if-else chains (#1268) AxiomaticFixedChimpanzee 2025-03-13 08:31:26 +01:00
  • 6d0498cb97 refactor: simplify File.disabledIntervals, add tests (#1216) Oleksandr Redko 2025-03-06 21:18:24 -08:00
  • dc3de104c4 chore(deps): update module golang.org/x/text to v0.23.0 (#1259) renovate[bot] 2025-03-07 06:16:36 +01:00
  • 39ae68321a fix(deps): update module golang.org/x/tools to v0.31.0 (#1261) renovate[bot] 2025-03-06 13:47:09 -08:00
  • 54ea25b718 doc: update description of struct-tag rule (#1262) chavacava 2025-03-06 22:38:54 +01:00
  • c940fa671b fix(deps): update module golang.org/x/mod to v0.24.0 (#1258) renovate[bot] 2025-03-06 08:32:34 +01:00
  • c9c079f295 chore(deps): update module golang.org/x/sys to v0.31.0 (#1257) renovate[bot] 2025-03-06 08:32:04 +01:00
  • 88d5434cee feature: add support for TOML struct tags in struct-tag rule (#1255) chavacava 2025-03-03 13:19:40 +01:00
  • b04d5a71b6 refactor: return error instead of panic (#1252) Oleksandr Redko 2025-02-26 23:27:31 +02:00