Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplified scanner, mockfs, scanner tests, multiple folders support (#…
…167) * refactor: update scanner, scanner tests, mockfs closes #165 closes #163 * feat: add multi folder support closes #50 * chore: upgrade deps
- Loading branch information
Showing
72 changed files
with
4,289 additions
and
2,711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,51 @@ | ||
run: | ||
skip-dirs: | ||
- server/assets | ||
- server/assets | ||
skip-dirs-use-default: true | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- bodyclose | ||
- deadcode | ||
- depguard | ||
- dogsled | ||
- errcheck | ||
- exportloopref | ||
- gochecknoglobals | ||
- gochecknoinits | ||
- goconst | ||
- gocritic | ||
- gocyclo | ||
- goerr113 | ||
- golint | ||
- goprintffuncname | ||
- gosec | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- lll | ||
- misspell | ||
- nakedret | ||
- rowserrcheck | ||
- staticcheck | ||
- structcheck | ||
- stylecheck | ||
- typecheck | ||
- unconvert | ||
- varcheck | ||
|
||
issues: | ||
exclude-rules: | ||
- path: _test\.go | ||
linters: | ||
- bodyclose | ||
- deadcode | ||
- depguard | ||
- dogsled | ||
- errcheck | ||
- exportloopref | ||
- gochecknoglobals | ||
- text: "weak cryptographic primitive" | ||
linters: | ||
- gosec | ||
- text: "weak random number generator" | ||
linters: | ||
- gochecknoinits | ||
- goconst | ||
- gocritic | ||
- gocyclo | ||
- goerr113 | ||
- goprintffuncname | ||
- gosec | ||
|
||
# TODO: fix these | ||
- text: "should have comment" | ||
linters: | ||
- golint | ||
- text: "at least one file in a package should have a package comment" | ||
linters: | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- misspell | ||
- nakedret | ||
- revive | ||
- rowserrcheck | ||
- staticcheck | ||
- structcheck | ||
- stylecheck | ||
- typecheck | ||
- unconvert | ||
- varcheck | ||
|
||
issues: | ||
exclude-rules: | ||
- path: _test\.go | ||
linters: | ||
- errcheck | ||
- gochecknoglobals | ||
- text: "weak cryptographic primitive" | ||
linters: | ||
- gosec | ||
- text: "weak random number generator" | ||
linters: | ||
- gosec | ||
- text: "at least one file in a package should have a package comment" | ||
linters: | ||
- stylecheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.