TravisTheTechie / vscode-write-good

Write Good Linter for Visual Studio Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write Good Linter for Visual Studio Code

Provides a write-good linter extension for Visual Studio Code.

Installation

Press F1 or CTRL+P (or CMD+P) and type out > ext install travisthetechie.write-good-linter. Check out the latest published version on the Visual Studio Marketplace.

Settings

write-good.languages defaults to ["markdown", "plaintext"], but it can be overridden to something like ["markdown"] if you would like linting to apply to other filetypes.

write-good.write-good-config is a direct pass through to the underlying write-good engine. To enable eprime check and disable check for so at the start of sentance, add "write-good.write-good-config": { "eprime": true, "so": false } to your settings.

write-good.only-lint-on-save disables linting during editing for large files. A save triggers linting.

License and acknowledgements

This is licensed under the MIT open source license. Do what you want with this software, just include notice that it orginated with me.

The heavy lifting of this extension is done via Brian Ford's write-good npm module.

Working on this project

Install Node.js & npm install in the project.

Open up the project in Visual Studio Code and hit F5 to open up a developement host version of Visual Studio Code with the extension installed. Open up a Markdown file and write some bad prose to see linter in action.

Check out the Extending Visual Studio Code documentation for more information.

Publishing

  1. npm install -g vsce
  2. Visit https://travisthetechie.visualstudio.com/_details/security/tokens for a token (all accounts, all scopes)
  3. vsce login travisthetechie
  4. vsce publish

Thank you to contributors

Thank you to James Ruskin for enabling settings. PR4

About

Write Good Linter for Visual Studio Code

License:MIT License


Languages

Language:TypeScript 89.1%Language:JavaScript 10.9%