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

Make wizard suggest adding lint script if there is none #672

Open
3 tasks done
Dimava opened this issue Mar 3, 2025 · 1 comment
Open
3 tasks done

Make wizard suggest adding lint script if there is none #672

Dimava opened this issue Mar 3, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Dimava
Copy link
Contributor

Dimava commented Mar 3, 2025

Clear and concise description of the problem

I often init bunx @antfu/eslint-config@latest for new experimental packages and always have to add "lint": "eslint --fix --cache" script manually

Suggested solution

Add "lint": "eslint --fix --cache" script with sensible defaults on init
optionally asking the user if they want to add it
or at the very least remind user its missing

Alternative

No response

Additional context

No response

Validations

@Dimava Dimava added the enhancement New feature or request label Mar 3, 2025
@antfu
Copy link
Owner

antfu commented Mar 3, 2025

Sure, if you want to work on a PR. But I am not sure if --fix should be included by default

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