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

fix: Package-specific migration bugs #107

Merged
merged 1 commit into from
Aug 26, 2024
Merged

fix: Package-specific migration bugs #107

merged 1 commit into from
Aug 26, 2024

Conversation

nzakas
Copy link
Member

@nzakas nzakas commented Aug 15, 2024

Prerequisites checklist

What is the purpose of this pull request?

Fix some bugs reported in eslint/eslint#18453 (reply in thread).

What changes did you make? (Give an overview)

  • Ensure that plugins with a / in their name are properly converted into JavaScript variables
  • Added compat-config.js as a list of shareable configs that are known to require the compat utility (added eslint-config-react-app as the only known one for now).

Related Issues

Is there anything you'd like reviewers to focus on?

@eslint-github-bot eslint-github-bot bot added the bug Something isn't working label Aug 15, 2024
@@ -83,6 +84,7 @@ describe("@eslint/migrate-config", async () => {
// run the migration for mjs
execSync(
`node src/migrate-config-cli.js ${filePath} ${gitignoreFlag}`,
{ stdio: "inherit" },
Copy link
Member

Choose a reason for hiding this comment

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

Is this change intentionally committed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. Otherwise the errors are swallowed during testing.

Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

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

LGTM if #107 (comment) is intentional. Otherwise, LGTM when it's removed.

@nzakas nzakas merged commit 7f416f4 into main Aug 26, 2024
14 checks passed
@nzakas nzakas deleted the slash-pkg-bug branch August 26, 2024 15:17
@github-actions github-actions bot mentioned this pull request Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted bug Something isn't working
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

2 participants