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

Add type hints to the configuration #148

Closed
3 tasks done
nooooooom opened this issue Jan 3, 2023 · 1 comment
Closed
3 tasks done

Add type hints to the configuration #148

nooooooom opened this issue Jan 3, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@nooooooom
Copy link

Clear and concise description of the problem

@antfu/eslint-config has become a part of my daily development specification customization reference, and I like some of its customized coding specifications!

This may be a little different. When I want to delve into the rules or principles of a library, I always like downloading its source code and reviewing it in the editor. But when I open the source code of this library to know the details of a specific rule, I always need to open the corresponding website and search for the corresponding rule name. It's a hassle for people who want to know what these rules disable/enable! I tried to find out if I could add hints to eslint config, so I found eslint-define-config, which has @antfu/eslint-config uses most of the prompt information and the corresponding link address in the external configuration, so can we also add it.

There should be some people who have the same needs as me, because eslint is a plug-in for code style, which varies from person to person. We always want to learn something from others to notice have yet to catch. Add type hints to this to make this even more convenient!

Suggested solution

Add type hints to the configuration, e.g. eslint-define-config.

Alternative

No response

Additional context

No response

Validations

@nooooooom nooooooom added the enhancement New feature or request label Jan 3, 2023
@antfu
Copy link
Owner

antfu commented Sep 21, 2023

#250 should addressed it

@antfu antfu closed this as completed Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants