npm-groovy-lint
npm-groovy-lint copied to clipboard
Support Multiple Library Imports in Jenksinfile
So Jenkinsfile recommends importing multiple shared libraries like so
/* Accessing multiple libraries with one statement */
@Library(['my-shared-library', 'otherlib@abc1234']) _
npm-groovy-lint is by default failing for the _
on
- The variable [_] in class None is not used UnusedVariable
- Variable named _ in class None does not match the pattern [a-z][a-zA-Z0-9]* VariableName
Current workaround is to add // groovylint-disable-line UnusedVariable, VariableName
. Could we by default add support for multiple library support?