3 ms·
I saw Vale earlier today. The tool helps you comply with technical style guides like those by Microsoft and Google, and the out-of-the-box Vale rules (the exten
by zerojames 3y ago
I saw Vale earlier today. The tool helps you comply with technical style guides like those by Microsoft and Google, and the out-of-the-box Vale rules (the extent of the Vale rules I am unsure; I got way more suggestions when installing the Microsoft and Google extensions).
A few notes while getting it set up for macOS:
1. brew install vale
2. Create .vale.ini (in root dir, I think)
3. A minimal setup that lets you lint with Microsoft and Google style guides:
MinAlertLevel = suggestion
StylesPath = styles
Packages = Google, Microsoft
[*]
BasedOnStyles = Vale, Google, Microsoft
4. Run `vale sync` to install the Google and Microsoft style guide extensions.
5. Run 'vale {file}.md` to run the linter.
- hddqsb 3y agoThe built-in rules only include spelling according to the docs: https://vale.sh/docs/topics/styles/#built-in-style https://vale.sh/docs/topics/styles/#built-in-style