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

Commit Graph

  • 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
  • 77f4474cab refactor: string-format implements ConfigurableRule (#1251) Oleksandr Redko 2025-02-26 23:26:21 +02:00
  • 67d0a61a1b fix: error-strings custom funcs overwrites defaults (#1249) Oleksandr Redko 2025-02-26 23:16:06 +02:00
  • 9177f5044a test: re-enable and fix test case for getVersion (#1246) Oleksandr Redko 2025-02-21 18:33:13 +02:00
  • 8cd85e4e6c docs: describe configuration for error-strings rule (#1245) Oleksandr Redko 2025-02-21 18:29:40 +02:00
  • 3bbfedbf43 feature: add suport of validate struct tags in struct-tag rule (#1244) chavacava 2025-02-20 19:48:35 +01:00
  • 4f342352f0 feature: add suport of mapstructure struct tags in struct-tag rule (#1241) chavacava 2025-02-19 14:30:29 +01:00
  • a4ee892836 feature: add support of datastore struct tags in struct-tag rume (#1240) chavacava 2025-02-18 13:09:31 +01:00
  • 3cf67c5783 feature: add support of URL struct tags in struct-tag rule (#1239) chavacava 2025-02-17 07:18:30 +01:00
  • 8ece20b078 feature: add support for omitzero in rule struct-tag (#1238) v1.7.0 chavacava 2025-02-16 11:31:17 +01:00
  • a59a2288fd chore(deps): update golang docker tag to v1.24 (#1232) renovate[bot] 2025-02-13 17:07:22 +01:00
  • 4020f4387e fix: exclusions are no longer working as before (#1237) chavacava 2025-02-13 14:38:55 +01:00
  • 9a54195228 fix: panic with getFieldTypeName (#1229) v1.6.1 Ludovic Fernandez 2025-02-12 14:10:48 +01:00
  • 3e3e9825db fix(deps): update module golang.org/x/tools to v0.30.0 (#1227) renovate[bot] 2025-02-11 17:10:03 +01:00
  • 82dd1920b0 chore(deps): update module golang.org/x/sys to v0.30.0 (#1224) renovate[bot] 2025-02-04 20:56:31 +01:00
  • f66fd1eb75 chore(deps): update module golang.org/x/text to v0.22.0 (#1225) renovate[bot] 2025-02-04 20:52:16 +01:00
  • d04f429918 fix(deps): update module golang.org/x/sync to v0.11.0 (#1220) renovate[bot] 2025-02-04 19:59:36 +01:00
  • ea0222b242 fix(deps): update module golang.org/x/mod to v0.23.0 (#1219) renovate[bot] 2025-02-04 19:53:48 +01:00
  • 3b54068168 chore(deps): update module github.com/stretchr/testify to v1.10.0 (#1223) renovate[bot] 2025-02-04 19:49:47 +01:00
  • d02fd30f5c chore(deps): update module github.com/mattn/go-colorable to v0.1.14 (#1222) renovate[bot] 2025-02-04 19:49:27 +01:00
  • c237f70575 Update renovate.json config (#1221) Denis Voytyuk 2025-02-04 18:45:32 +00:00
  • e8b55f8917 prepareSkips: to resolve regexps in excludes (#1060) Marcin Federowicz 2025-02-04 19:17:59 +01:00
  • fd8d99d716 fix (1217): getting parameter type names panics in presence of generic types (#1218) chavacava 2025-02-04 12:26:17 +01:00
  • a34327e65c chore: check go.mod and run gofmt in CI (#1215) Oleksandr Redko 2025-01-29 19:11:05 +02:00
  • 4bd6fbac97 fix: unconditional-recursion false positive when the function is called right after its declaration (#1212) (#1214) chavacava 2025-01-29 17:24:22 +01:00