mwittrock / cpilint

Automating your SAP Cloud Integration governance since 2019.
MIT License
57 stars 20 forks source link

Feature: Groovy best practices checks #11

Closed fippu82 closed 8 months ago

fippu82 commented 2 years ago

I would like to make a feature suggestion: Add a check for Groovy coding best practices. First rule could be to ensure that variables are always defined with at either "def" or explicit type. I got the idea from this blog: https://blogs.sap.com/2017/06/22/avoid-binding-variables-in-groovy-scripts/

atz-adobson commented 1 year ago

@fippu82 Take a look at groovy linting instead https://github.com/nvuillam/npm-groovy-lint

mwittrock commented 8 months ago

Added to feature requests - thank you!