Description
Your feature request related to a problem? Please describe.
golang-lint-ci --fast
is slowed down, because it traverses all directories (even unrelated big directories like a node_modules folder) and there is no option to exclude unrelated folders from scanning/traversal.
Describe the solution you'd like.
Provide an option to ignore/exclude folders from traversal/scanning.
Describe alternatives you've considered.
I tried excluding the folders with the --skip-dirs
flag, but golang-lint-ci will still traverse the subfolders and take a lot of time on each run.
Additional context.
I'm using golang-lint-ci as my integrated linter in VS Code (running on file-save), fast execution time is critical. I measured performance with --verbose and Go packages loading at mode 575
takes up the most time (even with caching enabled) it takes almost 9 seconds every run, even though my project has only ~1000 Lines of Go-Code in 6 files.
We have the frontend project in a subfolder of the go project (/frontend) which includes a huge node_modules folder. Deleting this folder speeds up the scan from 12 to 4 seconds. Is there any option to hide this folder from golang-lint-ci ?