diff --git a/first-class-pipeline/src/com/freeleaps/devops/lint/ESLint.groovy b/first-class-pipeline/src/com/freeleaps/devops/lint/ESLint.groovy index 611a3479..b954e558 100644 --- a/first-class-pipeline/src/com/freeleaps/devops/lint/ESLint.groovy +++ b/first-class-pipeline/src/com/freeleaps/devops/lint/ESLint.groovy @@ -22,7 +22,7 @@ class ESLint extends LinterBase { def doLint() { steps.dir(workspace) { steps.log.info("${linterType.linter}", "Install eslint dependencies...") - // steps.sh("npm install --save-dev ${deps.join(' ')}") + steps.sh("npm install -g ${deps.join(' ')}") steps.log.info("${linterType.linter}", "Running eslint...") steps.sh("eslint --config ${configs} ${workspace}") }