Skip to content

Update the configuration for import/no-extraneous-dependencies to includes all of the supported names for ESLint configuration files.#174

Merged
rajsite merged 2 commits intomainfrom
update-import-extraneous-dependencies
Oct 13, 2025
Merged

Update the configuration for import/no-extraneous-dependencies to includes all of the supported names for ESLint configuration files.#174
rajsite merged 2 commits intomainfrom
update-import-extraneous-dependencies

Conversation

@TrevorKarjanis
Copy link
Copy Markdown
Contributor

@TrevorKarjanis TrevorKarjanis commented Oct 13, 2025

The configuration already supports the eslint.config.js file name, but the projects I have upgraded use the .mjs extension. This extension and others are supported natively (documentation). Update the configuration to support all of them so that developers don't have to update it and publish for each when their linter fails. This is time consuming and a bad developer experience.

  • Update the configuration for import/no-extraneous-dependencies to include all of the supported names for ESLint configuration files.

Testing

  • Verified that the linter passes
  • Verified that the automated tests pass
  • Manually verified that the linter passes on a project with eslint.config.mjs

…ludes all of the supported names for ESLint configuration files.
@rajsite rajsite merged commit 0f96d20 into main Oct 13, 2025
2 checks passed
@rajsite rajsite deleted the update-import-extraneous-dependencies branch October 13, 2025 20:46
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