Skip to content

Golangci-lint does not lint for all files inside subdirectories #4880

Answered by ldez
ViralDoshi1906 asked this question in Q&A
Discussion options

You must be logged in to vote

From your logs:

INFO [runner] Issues before processing: 19030, after processing: 0

This means you have a rule that excludes all the issues.

INFO [runner] Processors filtering stat (out/in): skip_files: 13145/13145, cgo: 19030/19030, exclude: 13145/13145, invalid_issue: 13145/19030, skip_dirs: 13145/13145, autogenerated_exclude: 13145/13145, nolint: 0/13145, filename_unadjuster: 19030/19030, path_prettifier: 13145/13145, identifier_marker: 13145/13145, exclude-rules: 13145/13145

This means that the nolint processor excludes all the issues, so I guess you have a nolint directive at a package level.

Replies: 3 comments 18 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ViralDoshi1906
Comment options

@ldez
Comment options

@ViralDoshi1906
Comment options

Comment options

You must be logged in to vote
15 replies
@ViralDoshi1906
Comment options

@ldez
Comment options

@ldez
Comment options

@ldez
Comment options

Answer selected by ldez
@ViralDoshi1906
Comment options

@ViralDoshi1906
Comment options

@ldez
Comment options

@ldez
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4878 on July 23, 2024 18:55.