Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ESLint flat config files in generated package #2754

Merged
merged 13 commits into from
Aug 15, 2024

Conversation

jeremymeng
Copy link
Member

@jeremymeng jeremymeng commented Aug 14, 2024

The legacy config files (.eslintrc.json) are deprecated in latest version of ESLint. This PR updates codegen to use flat config.

  • delete .eslintrc.json from azure monorepo generated packages and add eslint.config.mjs for them
  • remove --ext arguments passed to eslint via command line as they are no longer valid when using flat config

@qiaozha qiaozha merged commit 3b65a10 into Azure:main Aug 15, 2024
15 checks passed
@jeremymeng jeremymeng deleted the move-to-flat-eslint-config branch August 15, 2024 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants