Skip to content

Fix command to show linters #318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Directories are NOT analyzed recursively. To analyze them recursively append `/.
GolangCI-Lint can be used with zero configuration. By default the following linters are enabled:

```bash
$ golangci-lint help linters
$ golangci-lint linters help
Enabled by default linters:
govet: Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string [fast: true]
errcheck: Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: true]
Expand All @@ -179,7 +179,7 @@ typecheck: Like the front-end of a Go compiler, parses and type-checks Go code [
and the following linters are disabled by default:

```bash
$ golangci-lint help linters
$ golangci-lint linters help
...
Disabled by default linters:
golint: Golint differs from gofmt. Gofmt reformats Go source code, whereas golint prints out style mistakes [fast: true]
Expand Down Expand Up @@ -367,7 +367,7 @@ and you don't need to install them separately.
To see a list of supported linters and which linters are enabled/disabled:

```bash
golangci-lint help linters
golangci-lint linters help
```

### Enabled By Default Linters
Expand Down Expand Up @@ -492,6 +492,7 @@ Global Flags:
--cpu-profile-path string Path to CPU profile output file
--mem-profile-path string Path to memory profile output file
-v, --verbose verbose output
--version Print version

```

Expand Down Expand Up @@ -920,4 +921,4 @@ by [denis@golangci.com](mailto:denis@golangci.com).

## License Scan

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgolangci%2Fgolangci-lint.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgolangci%2Fgolangci-lint?ref=badge_large)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgolangci%2Fgolangci-lint.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgolangci%2Fgolangci-lint?ref=badge_large)
8 changes: 4 additions & 4 deletions README.tmpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,14 @@ Directories are NOT analyzed recursively. To analyze them recursively append `/.
GolangCI-Lint can be used with zero configuration. By default the following linters are enabled:

```bash
$ golangci-lint help linters
$ golangci-lint linters help
{{.LintersCommandOutputEnabledOnly}}
```

and the following linters are disabled by default:

```bash
$ golangci-lint help linters
$ golangci-lint linters help
...
{{.LintersCommandOutputDisabledOnly}}
```
Expand Down Expand Up @@ -336,7 +336,7 @@ and you don't need to install them separately.
To see a list of supported linters and which linters are enabled/disabled:

```bash
golangci-lint help linters
golangci-lint linters help
```

### Enabled By Default Linters
Expand Down Expand Up @@ -544,4 +544,4 @@ by [denis@golangci.com](mailto:denis@golangci.com).

## License Scan

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgolangci%2Fgolangci-lint.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgolangci%2Fgolangci-lint?ref=badge_large)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgolangci%2Fgolangci-lint.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgolangci%2Fgolangci-lint?ref=badge_large)