1
0
mirror of https://github.com/mgechev/revive.git synced 2025-05-29 22:47:49 +02:00

Commit Graph

  • e7a6ed471e rename rule enforce-switch-default chavacava 2025-05-29 17:50:24 +02:00
  • 0be94241c6 update doc: rename rule + fix description chavacava 2025-05-29 17:47:53 +02:00
  • bac2589425 adds test for config chavacava 2025-05-29 17:47:04 +02:00
  • 2103c1a91b fix md lint issues chavacava 2025-05-29 09:49:07 +02:00
  • 0c15587f6c fix md lint issues chavacava 2025-05-29 09:31:23 +02:00
  • 12deb247a8 fix lint issue chavacava 2025-05-29 09:27:49 +02:00
  • 27ae42de2b adds doc chavacava 2025-05-29 09:25:58 +02:00
  • b22e68f34a wip: new rule enforce-switch-default chavacava 2025-05-28 15:30:00 +02:00
  • 6becd540e4
    feature: new rule use-fmt-print (#1389) master 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
  • 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