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

fix: use non-enumerable property to bypass eslintrc validation #312

Closed
wants to merge 3 commits into from

Conversation

JounQin
Copy link
Member

@JounQin JounQin commented Mar 7, 2025

related #308

Thanks @fisker for this pattern at #309 (comment)

Copy link

changeset-bot bot commented Mar 7, 2025

🦋 Changeset detected

Latest commit: 91fd30f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-config-prettier Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@fisker
Copy link
Member

fisker commented Mar 7, 2025

Can @eslint/config-inspector pick the name?

@JounQin
Copy link
Member Author

JounQin commented Mar 7, 2025

Can @eslint/config-inspector pick the name?

Oh... That's unfortunate it does not work.

image

Object.keys(config) is used at

https://github.com/eslint/config-inspector/blob/aeafacee218441d42daea492402ee1640dd9d02b/shared/configs.ts#L30

@JounQin JounQin closed this Mar 7, 2025
@JounQin JounQin deleted the fix/name branch March 7, 2025 12:19
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