-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way to run codemetrics on all files in workspace? #32
Comments
At the moment no, however one can build a webpack plugin using tsmetrics-core. I can not support You with that now, but I'll come back to this request in about a week or two (I'll be offline for some days). |
So finally I had some hours trying a few things out:
|
Well the purpose of this tool would be similar to any other linter - quality control of the code on compilation time. So an output should contain, all code pointers to where code is too complicated. Config should allow to set threshold of levels of complexity and prefilter output based on those levels. |
Well, that's fair enough, but sometimes it's ok that something is complicated (high complexity) and showing it always might get annoying. I'll publish the existing stuff to npm with the suggested additional filtering options. I'll post a link here of the new repo and we can iterate over the idea further there :-) |
So here it is: https://github.com/kisstkondoros/tsmetrics-webpack-plugin I'm closing this issue now, but feel free to open new ones in the linked repo 🎆 |
Is there any way to run codemetrics on all files in workspace? And/or integrate it into a es/ts linters, webpack?
The text was updated successfully, but these errors were encountered: