File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,16 @@ It's an equivalent of executing:
14
14
golangci-lint run ./...
15
15
```
16
16
17
- You can choose which directories and files to analyze:
17
+ You can choose which directories or files to analyze:
18
18
19
19
``` sh
20
- golangci-lint run dir1 dir2/... dir3/file1.go
20
+ golangci-lint run dir1 dir2/...
21
+ golangci-lint run file1.go
21
22
```
22
23
23
- Directories are NOT analyzed recursively. To analyze them recursively append ` /... ` to their path.
24
+ Directories are NOT analyzed recursively.
25
+ To analyze them recursively append ` /... ` to their path.
26
+ It's not possible to mix files and packages/directories, and files must come from the same package.
24
27
25
28
GolangCI-Lint can be used with zero configuration. By default, the following linters are enabled:
26
29
You can’t perform that action at this time.
0 commit comments