-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
enhancementNew feature or improvementNew feature or improvementstaleNo recent correspondence or work activityNo recent correspondence or work activity
Description
Is your feature request related to a problem? Please describe.
On projects with many different build tags, it's often necessary to run golangci-lint multiple times to cover all --build-tags to get all files linted which leads to very long lint times primarily caused by the same files linted multiple times.
Describe the solution you'd like
A option like --all-tags which would ignore any tags present in a file and lint it regardless. Maybe used in combination with a explicit list of files and folders given as an argument.
Describe alternatives you've considered
Don't think there are any.
Additional context
Assuming golangci-lint does only static analysis, it should be possible to just ignore build tags and lint all files.
serejja, hug-dev and IlyasYOY
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvementNew feature or improvementstaleNo recent correspondence or work activityNo recent correspondence or work activity