Closed grst closed 2 years ago
Hi Gregor :)
npm-groovy-lint relies on:
I don't know if they could be included in CodeNarc release or delivered as a CodeNarc plugin (@chrismair, the amazing CodeNarc maintainer, could answer this question if you post an issue there)
For information, I added npm-groovy-lint in Mega-Linter, who lints natively .nf files, so if you need npm-groovy-lint seamless integration in your CI jobs, you can have a look there ;)
Thanks @nvuillam! I created https://github.com/CodeNarc/CodeNarc/issues/575 to follow up.
@grst i saw the reply on CodeNarc If you want npm-groovy-lint to be delivered with your extra JAR containing nextflow rules, that won't be a problem :)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
If you think this issue should stay open, please remove the O: stale 🤖
label or comment on the issue.
Hi @nvuillam,
I'm reaching out as a contributor to the nf-core project. We develop state-of-the art Bioinformatics pipelines in nextflow. We are highly interested in linting (or rather autoformatting) our pipelines, and I was thrilled to find out that
npm-groovy-lint
already can handle the Groovy parts in.nf
files.It would be amazing if npm-groovy-lint could be improved on the nextflow parts (see some non-exhaustive examples in the comments in the code below). We might be able to work on it during one of our next hackathons.
How complicated do you think it would be to improve the nextflow support? And if we were ready to tackle it, could you provide us some guidance where to start?
Best regards, Gregor