Implement an initial set of Vale linter rules #3811
Replies: 1 comment 1 reply
-
Thanks for raising this issue. To add what I shared with you 1:1 I am overall in favour of it, but I also have to say that it will not be easy to implement it because (a) we have to replace some existing tooling (textlint especially) and (b) we need to tune vale down to work for us initially and then grow from there and (c) we have to make sure it works well for new contributors as well. As some historical context: I tried to implement vale in the past, but failed in doing so, that's why I picked textlint and implemented it. So, if you can show us a proof of concept and then work towards a working solution (and take care of the maintanance), there is a chance that we can make this change (from textlint&other things to vale) |
Beta Was this translation helpful? Give feedback.
-
Vale is a prose linter written in Go and distributed as a fast, dependency-free binary for all major operating systems. Compared to classic spell checkers, Vale can use powerful natural language processing extensions to check for things such as conditional sequences of strings, undefined acronyms, readability, and consistency, to name a few. Vale is currently being used by all major o11y vendors for their docs. You can read more about it in https://passo.uno/posts/first-steps-with-the-vale-prose-linter/
I've extensive prior experience implementing Vale at Splunk (see vale-splunk-style-guide) and I'd be happy to bring Vale to the OTel docs. I think we could start from an initial set of rules focused on terminology and Google style guide recommendations that our current checkers would not be able to catch. We could go for a phased approach where:
I think there are many benefits to reap from using Vale, especially for maintainers and approvers who want to check contributions against our style guide, especially when using integrations such as the VS Code extension, which checks for style issues in real time, without having to run the check from the terminal:
Beta Was this translation helpful? Give feedback.
All reactions