diff --git a/common/tools/eslint-plugin-azure-sdk/ci.yml b/common/tools/eslint-plugin-azure-sdk/ci.yml index 2253227cb6fb..270e5c68238a 100644 --- a/common/tools/eslint-plugin-azure-sdk/ci.yml +++ b/common/tools/eslint-plugin-azure-sdk/ci.yml @@ -1,11 +1,23 @@ +trigger: + branches: + include: + - main + - feature/* + - hotfix/* + paths: + include: + - common/tools/eslint-plugin-azure-sdk/ + pr: branches: include: - main + - feature/* + - hotfix/* paths: include: - - common/tools/eslint-plugin-azure-sdk + - common/tools/eslint-plugin-azure-sdk/ jobs: - job: 'RunESLint' diff --git a/eng/pipelines/templates/steps/run-eslint.yml b/eng/pipelines/templates/steps/run-eslint.yml index 0c37bdc28d6f..d64fdf994913 100644 --- a/eng/pipelines/templates/steps/run-eslint.yml +++ b/eng/pipelines/templates/steps/run-eslint.yml @@ -8,9 +8,9 @@ steps: - pwsh: | node common/scripts/install-run-rush.js build -t @azure/eslint-plugin-azure-sdk - node eng/tools/rush-runner.js lint "${{parameters.ServiceDirectory}}" + node eng/tools/rush-runner.js lint "${{parameters.ServiceDirectory}}" -p max displayName: "Build ESLint Plugin and Lint Libraries" - pwsh: | - node common/scripts/install-run-rush.js test -t @azure/eslint-plugin-azure-sdk + node common/scripts/install-run-rush.js test -t @azure/eslint-plugin-azure-sdk --verbose displayName: "Run ESLint Plugin Unit Tests"