golangci-lint CLI tool to run Go linters fast

Edit Package golangci-lint

golangci-lint is a fast Go linters runner. It runs linters in parallel, uses caching, supports yaml config, has integrations with all major IDE and has dozens of linters included.

Refresh
Refresh
Source Files
Filename Size Changed
_service 0000000780 780 Bytes
_servicedata 0000000243 243 Bytes
golangci-lint-1.57.0.tar.xz 0001037904 1010 KB
golangci-lint.changes 0000115062 112 KB
golangci-lint.spec 0000001498 1.46 KB
vendor.tar.xz 0003714828 3.54 MB
Revision 35 (latest revision is 50)
Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) committed (revision 35)
- Packaging improvements:
  * Re-enable binary stripping and debuginfo boo#1210938
  * Use BuildRequires: golang(API) >= 1.21 instead of go.
    The go metapackage points to a single go version that
    increments at a date TBD after each go1.x major release. The
    expression golang(API) is available immediately upon each go1.x
    major release and is stable for expressing the minimum version
    or a temporarily pinned version.
  * Use BuildRequires: golang(API) >= 1.21 matching go.mod
  * Drop BuildRequires: go-md2man and use plain markdown as %doc
  * Use autosetup -a 1 to unpack source and vendored dependencies
  * Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
  * Build PIE with pattern that may become recommended procedure:
    %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
    A go toolchain buildmode default config would be preferable
    but none exist at this time.
  * Remove ldflags -s (Omit symbol table and debug info) and -w
    (Omit DWARF symbol table). This information is used to produce
    separate debuginfo packages and binaries are stripped for
    reduced size by GNU strip during RPM build.
  * Remove ldflags -X entries for build time stamp.
    This information is embedded in binaries with go1.18+ and
    available via go version -m or runtime/debug.ReadBuildInfo().
  * Drop go build -o arg, default binary name is pkg of main()
  * Add basic %check to execute binary --help
  * Use %license dropping conditional for 0%{?suse_version} < 1500.
    %license macro is available since rpm-4.11+, SLE-12:SP3+
Comments 0
openSUSE Build Service is sponsored by