Skip to content

Conversation

@jeremymeng
Copy link
Member

@jeremymeng jeremymeng commented Nov 24, 2025

Currently if a package don't lint package (i.e., "echo skipped..."), we don't
include @azure/eslint-plugin-azure-sdk in its dev dependencies. However, this
makes manually running eslint impossible when the directory has an
eslint.config.mjs (likely from codegen) which imports our plugin.

This PR adds @azure/eslint-plugin-azure-sdk back to packages.

Fixes #36712.

Currently if a package don't lint package (i.e., "echo skipped..."), we don't
include `@azure/eslint-plugin-azure-sdk` in its dev dependencies. However, this
makes manually running `eslint` impossible when the directory has an
`eslint.config.mjs` (likely from codegen) which imports our plugin.

This PR adds `@azure/eslint-plugin-azure-sdk` back to packages.
Copilot AI review requested due to automatic review settings November 24, 2025 20:29
@github-actions github-actions bot added Farmbeats Mgmt This issue is related to a management-plane library. labels Nov 24, 2025
Copilot finished reviewing on behalf of jeremymeng November 24, 2025 20:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds @azure/eslint-plugin-azure-sdk to the devDependencies of ARM packages that have linting skipped. This ensures that ESLint can run successfully when these packages contain eslint.config.mjs files generated by codegen that import the Azure SDK ESLint plugin.

Key changes:

  • Adds @azure/eslint-plugin-azure-sdk to devDependencies with workspace:^ version specifier
  • Alphabetizes dependencies and npm scripts in affected packages for consistency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Farmbeats Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[engsys] some package doesn't have a dev dep on @azure/eslint-plugin-azure-sdk

1 participant