Skip to content

Change staticcheck severity to warning #1853

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

You must be logged in to vote

Hi,

The severity configuration allows handling a dedicated field, called severity, in some output format

The severity configuration doesn't change the exit code.

I recommend adding an exclude rule:

issues:
  exclude-rules:
    - linters:
        - staticcheck
      text: "SA1019: measurement.TotalWeightStore is deprecated"

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ldez
Comment options

You must be logged in to vote
5 replies
@thebeline
Comment options

@DONSA
Comment options

@thebeline
Comment options

@DONSA
Comment options

@skormos
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
4 participants