Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Add -o, --output flag to golangci-custom #1

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

lukasschwab
Copy link
Owner

Note

golangci-lint maintainer refuses to consider this change.

Confirmed the help output is as expected:

Build a version of golangci-lint with custom linters

Usage:
  golangci-lint custom [flags]

Flags:
  -o, --output string   Path to output file

Global Flags:
      --color string   Use color when printing; can be 'always', 'auto', or 'never' (default "auto")
  -h, --help           Help for a command
  -v, --verbose        Verbose output

Confirmed the help output is as expected:

```
Build a version of golangci-lint with custom linters

Usage:
  golangci-lint custom [flags]

Flags:
  -o, --output string   Path to output file

Global Flags:
      --color string   Use color when printing; can be 'always', 'auto', or 'never' (default "auto")
  -h, --help           Help for a command
  -v, --verbose        Verbose output
```
@lukasschwab lukasschwab changed the title Add -o // --output flag to golangci-custom Add -o, --output flag to golangci-custom Feb 3, 2025
@lukasschwab lukasschwab merged commit 5487b94 into master Feb 3, 2025
@lukasschwab lukasschwab deleted the ls/custom-o-argument branch February 3, 2025 04:54
lukasschwab added a commit that referenced this pull request Feb 3, 2025
> [!NOTE]
> `golangci-lint` maintainer [refuses to consider this change](golangci#5369 (comment)).

Confirmed the help output is as expected:

```
Build a version of golangci-lint with custom linters

Usage:
  golangci-lint custom [flags]

Flags:
  -o, --output string   Path to output file

Global Flags:
      --color string   Use color when printing; can be 'always', 'auto', or 'never' (default "auto")
  -h, --help           Help for a command
  -v, --verbose        Verbose output
```
lukasschwab added a commit that referenced this pull request Feb 3, 2025
> [!NOTE]
> `golangci-lint` maintainer [refuses to consider this change](golangci#5369 (comment)).

Confirmed the help output is as expected:

```
Build a version of golangci-lint with custom linters

Usage:
  golangci-lint custom [flags]

Flags:
  -o, --output string   Path to output file

Global Flags:
      --color string   Use color when printing; can be 'always', 'auto', or 'never' (default "auto")
  -h, --help           Help for a command
  -v, --verbose        Verbose output
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant