-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Install and configure Vale with Google Developer style guide rules #1621
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
Conversation
fa03f37
to
db76b41
Compare
d551ff6
to
44923be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the readme and dependencies, since I was having some issues. Unfortunately it looks like we're going to just have to tell people to install vale separately, rather than have it bundled in with our project dependencies so they can just pnpm i
.
Anyway, I think for now we should make it so vale doesn't block any PRs from merging until we do a separate PR to fix all the existing errors
ah weird, didn't realize Vale had to be installed on your device in addition to the project itself. Thanks for addressing that. I tried to get an LLM to address the errors and it failed miserably 🫠 so I'll try tackling that by hand. |
this PR installs Vale with (most of) the Google style rules package to get us started. I made some changes throughout to make it more useful to us but there's definitely more to be done. This should be enough to start using Vale right away as a CI check.
I tried getting an LLM to fix the 500ish errors reported but it made a colossal mess so I had to revert all of those changes. We can start to actually apply the Vale rules in follow-up PRs.
The command to run it is
pnpm run vale
. There are lots of flags available to refine it.Note: once this PR is merged we'll need to turn Vale back on in the Mintlify dashboard to get the CI checks.