This is a draft proposal. I'm yet unhappy with the tests and some of the code, I'll rewrite that before considering merging.
What do you think of this approach @dkorunic?
exclude_dirs requires a fully-qualified directory name, and excludes everything that's in it
exclude_files supports golang's glob syntax, but not double-star syntax (using bmatcuk/doublestar could be interesting if we want that)
Fixes #16
This is a draft proposal. I'm yet unhappy with the tests and some of the code, I'll rewrite that before considering merging.
What do you think of this approach @dkorunic?
exclude_dirs
requires a fully-qualified directory name, and excludes everything that's in itexclude_files
supports golang's glob syntax, but not double-star syntax (using bmatcuk/doublestar could be interesting if we want that)Usage examples:
My concerns at the moment:
InitAnalyzer
(only for test purposes)testdata
folder bloatedbetteralign.go
not super clean, will be reworked before merge