Replies: 1 comment
-
|
Will take this under consideration now that we have gone GA with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use Neovim as my IDE and the
none-lsplugin to generate diagnostics for my Apex and JS files; this enables me to embed issues detected inpmdandeslintinto my active buffer so I can easily fix my code.Ideally, I'd like to remove both
pmdandeslintfrom my workflow and manage everything withcode-analyzercommands. This would allow me to take advantage of the new yaml-based configuration file to maintain rules in my codebase.none-lsallows me to write my own parser for the diagnostics output ofcode-analyzer run, but currently I am hitting a roadblock because there is no way to simply output the results in JSON format direct to stdout. I could definitely hack together a bash script to do this, but I have to force thecode-analyzer runoutput to be quiet with> /dev/null 2>&1and do several other operations to print then remove a.jsonoutput file. It seems ideal to simply output a--jsonand handle it that way.Even better would be a drop-in replacement for
pmdoreslintresults, so I could just substitute those commands withsf code-analyzer runand have its output already interpreted by existing tools built to read those result formats.Thoughts on this being desirable functionality for others as well?
Beta Was this translation helpful? Give feedback.
All reactions