The language server and the VSCode plugin are great! I’ve been pruning our team pipelines of warnings and errors. Good stuff.
A linter built on top of the language server would be very helpful. Then it would be possible to have a pre-commit hook and a GitHub action that run the linter for us. I was playing around with the language server this morning, trying to build a Python command-line utility to be used as a linter, but I was wondering if someone else has already built this?
Hi Martin, we are planning to incorporate the new error checking into Nextflow itself, hopefully in an upcoming edge release in the next few months. I’m thinking we’ll add a nextflow check command that just parses the code, prints any errors/warnings, and exits without running the pipeline.