1
0
mirror of https://github.com/mgechev/revive.git synced 2025-06-14 23:45:11 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
4020f4387e fix: exclusions are no longer working as before (#1237)
* fix: exclusions are no longer working as before (fixed by reverting #1060)

* removes failing test on main.GetVersion
2025-02-13 14:38:55 +01:00
e8b55f8917 prepareSkips: to resolve regexps in excludes (#1060)
* prepareSkips: to resolve regexps in excludes

* prepareSkips: to resolve regexps in excludes

* cleanup

* errorf: format

* doublestar/v4: latest version
2025-02-04 19:17:59 +01:00
599874c773 chore: remove unnecessary empty lines (#1080) 2024-10-26 07:35:02 -03:00
501cc4a675 feat: ignore vendor if no exclude set (#1058) 2024-10-17 15:25:24 -07:00
59131927d3 Move away from deprecated github.com/pkg/errors (#1039) 2024-09-16 09:40:46 +02:00
5ccebe86c2 Code cleaunp (#905)
* fix minor lint issue

* fix package comments

* fix comments

* removes extra empty lines

* fix import alias name
2023-09-23 10:41:34 +02:00
6d5bc51b50 Move away from deprecated ioutils (#825)
Fix #806
2023-05-16 08:06:52 +02:00
022236f9e4 fix: error message typo in revivelib.New 2023-05-01 10:47:21 +02:00
04728cf0de Lint cleanup (#679) 2022-04-10 11:55:13 +02:00
318db94210 Separating lib from cli (#655)
* Separating lib from cli

* Renamed NewRevive to New

* Added GetLintFailures helper function

* Moved formatter to call to format since that's when it's needed

* makes fields of Revive struct non-public

* minor modifs in tests: remove unnamed constats

* Added lint package management to lint command

* README message for using revive as a library

* README formatting

* Removed unused method

* Slightly improved wording in README

* Handling format errors

* Renaming file to better reflect intent

* Refactoring pattern usage

* README heads

* renames excludePaths into excludePatterns

Co-authored-by: Bernardo Heynemann <bernardo.heynemann@coinbase.com>
Co-authored-by: chavacava <salvadorcavadini+github@gmail.com>
2022-03-29 17:31:52 +02:00