-
Notifications
You must be signed in to change notification settings - Fork 14
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
Enhancing Code Quality: Linting and Formatting Improvements #81
Conversation
Looks good from what I've tested! (running each of the scripts, and making some sample commits). I didn't see a warning from lefthook about no matching files. @iivvaannxx does anything look off with lefthook here? |
The warning must be coming from my end. Let's see what @iivvaannxx thinks. |
|
@siguici @thejackshelton Mmm the change on the JSON schema looks good to me. However, regarding the change on the command flags I am not sure, the fact that
Removing In my case for example, I have a couple of extra files in the repo that are not committed. These files configure my development environment so I can work with the repo because my machine runs a linux distribution which is a bit special and makes some of the binaries shipped with NPM packages (like the Biome CLI) not work out of the box. For me it didn't make sense adding these files to the Biome ignore list, so adding Now, if you want to leave it like this I have no problem, I think I should be able to work around that by manually passing the flags or temporarily modifying the commands if I want to work on some PR. One last thing I actually discourage is the usage of |
This PR complements the great work done by @iivvaannxx by adding scripts for linting and organizing imports, as well as checking both using the
biome ci .
command. Additionally, since Biome supports all files in this project, I removed the--no-errors-on-unmatched
and--files-ignore-unknown=true
flags.I noticed that Lefthook indicates that it didn't find any matching files. I don't use this tool, so I'm not sure if this is normal or not.