Prettier: A formatter used across Thoth Tech to make sure that all our documents are formatted consistently.
Vale: A spell checking extension that allows editors to see spelling and grammar mistakes
See Thoth Tech Handbook.
Everyone at Thoth Tech should be using both Prettier, as well as Vale. These allow for Pull Requests to run smoothly and allow Thoth Tech to have a consistent format, free from grammar and spelling issues.
To install Prettier do the following:
Extensions pagePrettier
Manager > SettingsDefault FormatterEditor: Default Formatter select Prettier - Code Formatter
Manager > SettingsFormat On SaveEditor: Format On Save tick the checkbox
Vale is a spell checking extension that allows editors to see spelling and grammar mistakes. Vale is also set to prevent long sentences so we can keep our documents succinct.
choco install vale' (You must run as administrator so either
append sudo for Linux or open you command line as an administrator for windows).Extensions page.Vale
See here for the full Vale install documentation
Finally its good to make sure that everything is setup and working correctly to do this:
npm installnpm install finishes close down Visual Studio Code completely.prettierrc in your current
folder and copy the contents from the same .prettierrc file in main the repository