-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Repo maintenance improvements #1098
Comments
oh ooops, yes plz |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Hey @marcalexiei thanks very much for the tidy-up! Those are bonuses not required to have, you don't want to occupy more of your freed time. 🙏 The community should appreciate your effort and time as well. <3 |
That is not problem, If I haven't the time I wouldn't have proposed the additional changes 😂
I'll see what I can do in the upcoming days / weeks! |
When opening #1097 I noticed a few things that might be fixed / improved about repository maintenance
1. Double lock files
The project contains both
pnpm-lock.yml
andyarn.lock
.Proposed solution
pnpm-lock.yml
was update more recently so I would removeyarn.lock
from version control and update allyarn
command across the repository usingpnpm
2.
format
script is not validRunning
pnpm format
produce an error because the prettier command is missing the[file/dir/glob ...]
.Proposed solution
Update the script adding a
.
and add not relevant folders / files to.prettierignore
3.
pnpm run lint
returns an errorRunning
pnpm run lint
produce many errors / warnings.`pnpm run lint` Output
Proposed solution
Apply the fix for all warnings / errors and maybe also update eslint related dependencies when possible (I would consider updating
typescript-eslint
to get rid of the warning about typescript supported version)4. Add lint and format checks to CI
Might be worth adding a CI workflow that runs on
push
andpull_request
events onmaster
branch and executesformat
andlint
scripts?What do you think?
If you'd like, I can create a PR for each of the previously listed points!
yarn
scripts withpnpm
scripts #1100strict
mode #1104The text was updated successfully, but these errors were encountered: