Skip to content

doc: check default lists configuration reference #4134

@Antonboom

Description

@Antonboom

Your feature request related to a problem? Please describe.

$ grep ': \[\]' .golangci.reference.yml
  # Default: [].
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
      # Default: []
      # Default: []
      # Default: []
      # Default: []
    # Default: [] - means include all rules
    # Default: []
    # Default: []
        # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
    # Default: []
  # Default: []
  # Default: []

Describe the solution you'd like.

  1. Review configuration.
  2. If default is really empty – no changes.
  3. If default is not empty – add value and context in the comment.
  4. Change rule about this field in the new-linter-checklist

Describe alternatives you've considered.

Let it be as it is.

Additional context.

#4127 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions