realvizu / NsDepCop

NsDepCop is a static code analysis tool that helps to enforce namespace dependency rules in C# projects. No more unplanned or unnoticed dependencies in your system.
GNU General Public License v2.0
200 stars 32 forks source link

Exclude generated files from analysis #40

Closed realvizu closed 5 years ago

realvizu commented 6 years ago

Huge generated files can take a long time to analyze while providing little value. There should be a way to exclude files from the analysis. Either by path and/or by filename pattern (eg. *.g.cs). (Of course it could be used to exclude any files, not just generated ones.)

realvizu commented 5 years ago

https://github.com/realvizu/NsDepCop/commit/1a6b693c4768eb0aa78c816ffdf6f1cb4f361355