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

Upgrade eslint-plugin-import-x 4.2.1 #27186

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

qmonmert
Copy link
Contributor

@qmonmert qmonmert commented Sep 5, 2024

Fix #27178


Please make sure the below checklist is followed for Pull Requests.

When you are still working on the PR, consider converting it to Draft (below reviewers) and adding skip-ci label, you can still see CI build result at your branch.

@github-actions github-actions bot added the theme: dependencies Pull requests that update a dependency file label Sep 5, 2024
@qmonmert qmonmert marked this pull request as ready for review September 5, 2024 12:17
@DanielFran DanielFran merged commit d9150b8 into jhipster:main Sep 5, 2024
24 checks passed
@@ -64,7 +64,7 @@ export default ts.config(
},
},
{
files: ['bin/**/*', '**/*.spec.ts', 'testing/**/*', 'test/**/*'],
files: ['generators/**/*', 'bin/**/*', 'cli/**/*', '**/*.spec.ts', 'testing/**/*', 'test/**/*'],
Copy link
Member

Choose a reason for hiding this comment

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

This looks a bug in import-x plugin.
bin/*.spec.ts/test files are not exported so we should ignore.
testing folder uses dependencies from peerDependencies so its not resolved from dependencies.

I think we should ignore yeoman-generator/yeoman-environment using https://github.com/un-ts/eslint-plugin-import-x/blob/master/docs/rules/no-unresolved.md#ignore instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mshima this is what you want #27188 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants