You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run npm-groovy-lint on the JenkinsFile I want to analyze (without the presence of the .groovylintrc.json file) no errors are detected. There are 36 problems detected by the vscode extension though.
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.
I am using the extension with vscode and I have updated the contents of .groovylintrc.json with the examples rule sets provided.
{
"codenarcRulesets": "RuleSet-1.groovy,RuleSet-2.groovy"
}
No problems are detected within the Jenkins file when I analyze the code following the modification of the config file.
Ideally I would like to implement only those rules in "rulesets/formatting.xml".
$ groovy --version
Groovy Version: 4.0.2 JVM: 18.0.1.1 Vendor: Oracle Corporation OS: Windows 10
$ java -version
java version "18.0.1.1" 2022-04-22
Java(TM) SE Runtime Environment (build 18.0.1.1+2-6)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: