Add plato JS static code analysis tool. - #8915
Conversation
|
Add the ability to run static code analysis on javascript. No tooling (e.g., paver, build scripts, etc) is included in this commit. To use plato locally, here is an example command that will produce complexity reports on common/
This produces an index.html with supporting files under jscomplexity/. Also note that it produces *.json files which can be parsed and eventually trended, asserted upon, etc. |
|
@singingwolfboy @jzoldak @andy-armstrong Thoughts? I can give a brief demo if you'd like. This was a hackathon project. We can add it here as something available in a dev environment for perusal. Nothing to collect or assert at this point; just an added resource. |
|
👍 Seems useful to me. I'm out the rest of the week, but I'd love a quick demo next week. |
|
@benpatterson could you add a short description of how you might use plato in a README file somewhere? Adding a dependency without actually using it seems odd to me. Could be as simple as creating |
a90bbdf to
c41b67f
Compare
|
@singingwolfboy thanks for the ping on this. I've added documentation. It's not in the place you suggested, but fits in nicely with all of our quality tools. Thoughts? @andy-armstrong I'm still good for a demo of this. Perhaps later this week? |
|
LGTM 👍 |
Add plato JS static code analysis tool.
No description provided.