vscode-rpgle icon indicating copy to clipboard operation
vscode-rpgle copied to clipboard

Run linting outside of VSCODE

Open JDubb-At-Nelnet opened this issue 3 years ago • 1 comments

This is an awesome tool - i was wondering if there was a way to use it outside of the context of VSCODE?

Things I would like to do

  • Define some linting rules, call a command or program passing a library / file / member name as input and get back something that tells me if the member passes all linting rules. This would be awesome to incorporate into a CI/CD pipeline.
  • Run a command that fixes all automatically fixable lint errors.

JDubb-At-Nelnet avatar Aug 12 '22 19:08 JDubb-At-Nelnet

Hi @JDubb-At-Nelnet !!

Yes, this is going to happen. I have already started the work to move all the parsing stuff out of this repo into another base library. The timeline is long but it'd be a great achievement.

I am aiming at something like: rpglint /path/to/source.rpgle, and of course many complex options, including entire directory scanning!

worksofliam avatar Aug 12 '22 19:08 worksofliam