Skip to content

tperry-r7/ux-writing-linter-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Style linter for Rapid7 UX Writing Team.

Contains the vale configuration files for R7 style guide linter.

Vale commands when running locally.

  • Test all markdown files (.md) in the current directory (.): vale --glob='*.md' .
  • To test a single file: vale filePath/fileName

Vale documentation

https://errata-ai.gitbook.io/vale/

Setup

  • Configuration file must be named .vale.ini or _vale.ini and needs to be at the top level directory.
  • Styles files are written in yml and located in .github/valeStyles.

To do

Regex

Need to build a regex expression to match on: http://buildregex.com/ Need to test it out: https://regexr.com/, https://regex101.com/

FAQ

  1. I keep getting output, but the article is fine. What do I do?
  • Nothing. This is meant to be a suggestion and bring your attention to something. If a rule exists you should review it and see if it applies to you. If it is non negotiable then its returned as an error.
  1. I want to make a new rule or changes.