Skip to content

feat: limit namespace import identifier in id-length rule - #18849

Merged
mdjermanovic merged 11 commits into
eslint:mainfrom
Chaedie:chaedie/id-length
Sep 6, 2024
Merged

mdjermanovic merged 11 commits into
eslint:mainfrom
Chaedie:chaedie/id-length

Conversation

@Chaedie

@Chaedie Chaedie commented Sep 3, 2024

Copy link
Copy Markdown
Contributor

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[ ] Documentation update
[x] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

limit namespace import identifier in id-length rule.
I did it because of the Issue #18847

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

No i don't.

This is my first open-source activity, If i missed something notice me please.
Thank you for all of your effort in eslint.
Thanks

@Chaedie
Chaedie requested a review from a team as a code owner September 3, 2024 15:07
@eslint-github-bot eslint-github-bot Bot added the feature This change adds a new feature to ESLint label Sep 3, 2024
@linux-foundation-easycla

linux-foundation-easycla Bot commented Sep 3, 2024 •

Copy link
Copy Markdown

CLA Signed

The committers listed above are authorized under a signed CLA.

@github-actions github-actions Bot added the rule Relates to ESLint's core rules label Sep 3, 2024
@netlify

netlify Bot commented Sep 3, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for docs-eslint ready!

Name Link
🔨 Latest commit 9677496
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/66d9c9d13785060008bbde7d
😎 Deploy Preview https://deploy-preview-18849--docs-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is a fantastic first open source activity! ✨

The rule implementation looks lovely to me. Just requesting changes on a bit more testing.

Comment thread tests/lib/rules/id-length.js Resolved
@nzakas

nzakas commented Sep 3, 2024

Copy link
Copy Markdown
Member

Moving to "Blocked" as we need to get the issue accepted first.

@nzakas

nzakas commented Sep 4, 2024

Copy link
Copy Markdown
Member

The issue has been accepted so moving out of "Blocked"

Comment thread lib/rules/id-length.js Resolved
Comment thread tests/lib/rules/id-length.js Resolved
Comment thread tests/lib/rules/id-length.js Resolved
@mdjermanovic mdjermanovic added contributor pool accepted There is consensus among the team that this change meets the criteria for inclusion labels Sep 5, 2024
Comment thread lib/rules/id-length.js Resolved
Comment thread tests/lib/rules/id-length.js Resolved
Comment thread tests/lib/rules/id-length.js Resolved
Chaedie and others added 4 commits September 5, 2024 22:47
Co-authored-by: Tanuj Kanti <86398394+Tanujkanti4441@users.noreply.github.com>
Co-authored-by: Tanuj Kanti <86398394+Tanujkanti4441@users.noreply.github.com>
Co-authored-by: Tanuj Kanti <86398394+Tanujkanti4441@users.noreply.github.com>
@Chaedie

Chaedie commented Sep 5, 2024

Copy link
Copy Markdown
Contributor Author

@Tanujkanti4441
Thank you for advice, I accepted your suggestions, please check this out.

Comment thread tests/lib/rules/id-length.js Resolved

@Tanujkanti4441 Tanujkanti4441 left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks for contributing!

Since this is feature, it needs additional approval.

@mdjermanovic mdjermanovic linked an issue Sep 5, 2024 that may be closed by this pull request
1 task done

@mdjermanovic mdjermanovic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks! Leaving open for @JoshuaKGoldberg to verify his review suggestions.

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀

@mdjermanovic
mdjermanovic merged commit bcf0df5 into eslint:main Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted There is consensus among the team that this change meets the criteria for inclusion contributor pool feature This change adds a new feature to ESLint rule Relates to ESLint's core rules

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

Bug: id-length rule does not limit namespace import identifier

5 participants