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

all configs preset #164

Closed
3 tasks done
antfu opened this issue Nov 17, 2023 · 1 comment · Fixed by #168
Closed
3 tasks done

all configs preset #164

antfu opened this issue Nov 17, 2023 · 1 comment · Fixed by #168
Labels
enhancement New feature or request

Comments

@antfu
Copy link
Member

antfu commented Nov 17, 2023

Clear and concise description of the problem

Ref: #163

Suggested solution

Introduce all-flat and all-legacy configs that simply enable all rules with their default configs.

Alternative

No response

Additional context

No response

Validations

@Splines
Copy link

Splines commented Nov 17, 2023

Thanks for opening this! In my opinion, such an option would be very useful if one just wants to have some good stylistic defaults without having to go through every option one by one. If one then notices that one particular rule is not suited, one could still deactivate just this one rule.

By the way, that's the way I expected things to work ("out of the box") when I read this in the docs, but maybe that's just me ;)

ESLint shareable configurations exist to provide a comprehensive list of rules settings that you can start with. ESLint Stylistic maintains a few built-in configurations that you can use out of the box, or as the foundation for your own custom configuration.

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

Successfully merging a pull request may close this issue.

2 participants