[go: nahoru, domu]

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

Bug: duplicate import fixupPluginRules #72

Closed
2 of 5 tasks
syi0808 opened this issue Jun 26, 2024 · 1 comment · Fixed by #70
Closed
2 of 5 tasks

Bug: duplicate import fixupPluginRules #72

syi0808 opened this issue Jun 26, 2024 · 1 comment · Fixed by #70
Labels
accepted bug Something isn't working repro:needed

Comments

@syi0808
Copy link
Contributor
syi0808 commented Jun 26, 2024

Which packages are affected?

  • @eslint/compat
  • @eslint/config-array
  • @eslint/migrate-config
  • @eslint/object-schema

Environment

Node version: v21.6.1
npm version: 10.2.4
ESLint version: 9.5.0
Operating System: MacOS sonoma 14.5

What did you do?

I migrated my legacy eslint config by npx @eslint/migrate-config .eslintrc.js and run eslint.

What did you expect to happen?

only one fixupPluginRules import syntax in migrated config file.

What actually happened?

node throw syntax error which duplicated import fixupPluginRules in migrated config file.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/stackblitz-starters-6p4uyp?file=eslint.config.mjs

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

No response

@nzakas
Copy link
Member
nzakas commented Jun 26, 2024

Ah, I see what you mean. Thanks for the additional details.

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 repro:needed
Projects
Status: Complete
Development

Successfully merging a pull request may close this issue.

2 participants