Skip to content

Commit a213a5f

Browse files
authored
documents default exclusion of vendor
1 parent d293239 commit a213a5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Please notice that if no particular configuration is provided, `revive` will beh
214214
`revive` accepts the following command line parameters:
215215

216216
- `-config [PATH]` - path to the config file in TOML format, defaults to `$HOME/revive.toml` if present.
217-
- `-exclude [PATTERN]` - pattern for files/directories/packages to be excluded for linting. You can specify the files you want to exclude for linting either as package name (i.e. `github.com/mgechev/revive`), list them as individual files (i.e. `file.go`), directories (i.e. `./foo/...`), or any combination of the three.
217+
- `-exclude [PATTERN]` - pattern for files/directories/packages to be excluded for linting. You can specify the files you want to exclude for linting either as package name (i.e. `github.com/mgechev/revive`), list them as individual files (i.e. `file.go`), directories (i.e. `./foo/...`), or any combination of the three. If no exclusion patterns are specified, `vendor/...` will be excluded by default.
218218
- `-formatter [NAME]` - formatter to be used for the output. The currently available formatters are:
219219

220220
- `default` - will output the failures the same way that `golint` does.

0 commit comments

Comments
 (0)