Commit 61bd18e
committed
Pass filepath to linter
Some of the checks are conditional based on the filepath. For example,
this check skips files that end in `_test.go`:
https://github.com/golang/lint/blob/206c0f020eba0f7fbcfbc467a5eb808037df2ed6/lint.go#L373-L375
Let's pass the filepath so the linter can make decisions such as that.1 parent 5d9022e commit 61bd18e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments