Skip to content

Enable gosec rules #3545

@janisz

Description

@janisz

Currently we have only one (1) gosec rule enabled in golangci-lint config.

stackrox/.golangci.yml

Lines 51 to 53 in 334e6b7

gosec:
includes:
- G601

Ideally we should enable all of them. Every PR should fix one rule. There is a chance that some rules are already fixed and we only need to enable them. After including new rule, please ensure make golangci-lint is passing if there are errors please fix them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions