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

Enhancement: support name field in flat config types #8862

Closed
4 tasks done
auvred opened this issue Apr 6, 2024 · 0 comments · Fixed by #8863
Closed
4 tasks done

Enhancement: support name field in flat config types #8862

auvred opened this issue Apr 6, 2024 · 0 comments · Fixed by #8863
Labels
accepting prs Go ahead, send a pull request that resolves this issue enhancement New feature or request

Comments

@auvred
Copy link
Member

auvred commented Apr 6, 2024

Before You File a Proposal Please Confirm You Have Done The Following...

Relevant Package

utils

My proposal is suitable for this project

  • I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).

Description

New name field support has been added to ESLint flat configs:

eslint/eslint#18231 -> eslint/eslint#18256 -> eslint/eslint#18252 -> DefinitelyTyped/DefinitelyTyped#69185

Docs: https://eslint.org/docs/latest/use/configure/configuration-files#configuration-naming-conventions

I think it would be nice to include this field to the TSESLint.FlatConfig.Config type

Additional Info

Also, what do you think about giving names to shared typescript-eslint configs to help users better understand their configs with https://github.com/eslint/config-inspector?

@auvred auvred added enhancement New feature or request triage Waiting for maintainers to take a look labels Apr 6, 2024
@bradzacher bradzacher added accepting prs Go ahead, send a pull request that resolves this issue and removed triage Waiting for maintainers to take a look labels Apr 6, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepting prs Go ahead, send a pull request that resolves this issue enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants