From bfc83b61bfe88113900669c847e2e9f71583864e Mon Sep 17 00:00:00 2001 From: James Simone Date: Wed, 7 Feb 2024 10:47:32 -0500 Subject: [PATCH] Re-adding eslint to pipeline - thanks to @codefriar for pointing this out --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8487d5cd..53d7e15a 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,8 @@ "lint:verify": "sfdx scanner:run --target **/lwc/**/*.js,!node_modules/** --engine eslint-lwc --severity-threshold 3 --eslintconfig .eslintrc.json", "prepare": "husky install && sfdx plugins:link ./node_modules/@salesforce/sfdx-scanner && sfdx plugins:link ./node_modules/@jongpie/sfdx-bummer-plugin", "prettier": "prettier", - "scan": "sfdx scanner:run --pmdconfig config/pmd-ruleset.xml --target .,!plugins/ExtraCodeCoverage/** --engine pmd --severity-threshold 3", + "scan": "npm run lint:verify && npm run scan:pmd", + "scan:pmd": "sfdx scanner:run --pmdconfig config/pmd-ruleset.xml --target .,!plugins/ExtraCodeCoverage/** --engine pmd --severity-threshold 3", "scan:graph": "sfdx scanner:run -e sfge -p . --target 'rollup'", "test": "npm run test:apex && npm run test:lwc", "test:apex": "sh ./scripts/runLocalTests.sh",