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

feat(linter): rename @nx/eslint-plugin-nx to @nx/eslint-plugin #16420

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

FrozenPandaz
Copy link
Collaborator

Current Behavior

The new @nx/eslint-plugin-nx package means the rules look like @nx/nx/enforce-module-boundaries which is redundant.

Expected Behavior

The new @nx/eslint-plugin-nx package is now @nx/eslint-plugin means the rules look like @nx/enforce-module-boundaries which is better.

Related Issue(s)

Fixes #

@vercel
Copy link

vercel bot commented Apr 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 20, 2023 4:25pm

Copy link
Member

@AgentEnder AgentEnder left a comment

Choose a reason for hiding this comment

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

Can you update codeowners for the eslint-plugin-nx directory?

This comment was marked as resolved.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed :)

"root": "/packages/eslint-plugin-nx",
"source": "/packages/eslint-plugin-nx/src"
"name": "eslint-plugin",
"packageName": "@nrwl/eslint-plugin",
Copy link
Contributor

Choose a reason for hiding this comment

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

This is invalid - should be @nrwl/eslint-plugin-nx

@@ -32,6 +32,5 @@
]
}
}
},
"implicitDependencies": ["eslint-plugin-nx"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why was this removed?

If you remove this, then e2e-linter project needs implicit dependency of eslint-plugin-nx

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the legacy package, it only has a dependency on @nx/linter

Copy link
Contributor

Choose a reason for hiding this comment

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

Missed that suffix. Tnx

Copy link
Contributor

@meeroslav meeroslav left a comment

Choose a reason for hiding this comment

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

Left few minor comments

Copy link
Contributor

@meeroslav meeroslav left a comment

Choose a reason for hiding this comment

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

Looks good now, thanks!

@@ -5,7 +5,7 @@ export default {
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html'],
globals: {},
displayName: 'eslint-plugin-nx',
displayName: 'packages-eslint-plugin',
Copy link
Member

Choose a reason for hiding this comment

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

non-blocking: Does this need the packages- prefix? We don't use that elsewhere for this

@FrozenPandaz FrozenPandaz merged commit 739b4c2 into nrwl:master Apr 20, 2023
@FrozenPandaz FrozenPandaz deleted the rescope-linter branch April 20, 2023 17:26
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants