-
Notifications
You must be signed in to change notification settings - Fork 20
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
Thoughts on the recent PRs re: eslint, prettier? #29
Comments
Hi @tony , yes this is a good suggestion, PR welcome! |
Hi @tony we do appreciate the PRs and work behind them. Unfortunately between the ramp up to holidays, log4shell, volunteers/priorities the team just hasn’t been able to get to these yet. For the time being I’d suggest holding off on further PRs, but don’t give up. These will be dealt with and then it’ll make sense to continue. Thanks again for your interest and effort! |
Seconded! Thanks @tony and sorry we havnt got to your PRs yet but they are appreciated and we will get to them asap... |
@kingthorin @psiinon Thank you for your very courteous responses. Noted on recent security log4j issue as well. I will hold off on PRs in the mean time. Best, Tony |
For consistency it might be better to use the same linter as the HUD repo. |
The only dependency I see on HUD is a eslint-plugin-no-sanitized. Anything else? I also don't see a configuration in there (yet) I assume if something were to be shared, it'd be a configuration file (e.g. |
The HUD project uses xo. |
|
Hi @tony - we really do appreciate the help and suggestions but some of the PRs could definitely have done with a bit of discussion first ;) |
Thoughts on any of these? Worth reopening or creating a new one(s) for any of them? |
In JS projects it's pretty common to find a setup with both of those, the reason why is editors and CI work with the prettier/eslint very well.
Any thoughts on adopting these here and in the other projects for consistency? If there is I can make PRs across the others (and if there's a prettier/eslint config)
I think the value equation is there.
eslint
catches a lot of basic mistakes and prettier keeps code consistent resulting in easier to read diffs / reviews in the long run.Endgame: My idea is to have a basic CI setup with
eslint
/prettier
and perhaps checking for the exit code ofnpx ncc build src/index.js
to assure it builds without failing. TThe text was updated successfully, but these errors were encountered: