Skip to content

Commit

Permalink
tools: lint for additional strings in docs
Browse files Browse the repository at this point in the history
Check for uses of `Github` (rather than `GitHub`) and `Node.JS` (rather
than `Node.js`) in markdown files.
  • Loading branch information
Trott committed Dec 6, 2017
1 parent ab3535d commit 68da4b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/remark-preset-lint-node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ module.exports.plugins = [
[
require('remark-lint-prohibited-strings'),
[
{ no: 'v8', yes: 'V8' },
{ no: 'Javascript', yes: 'JavaScript' }
{ no: 'Github', yes: 'GitHub' },
{ no: 'Javascript', yes: 'JavaScript' },
{ no: 'Node.JS', yes: 'Node.js' },
{ no: 'v8', yes: 'V8' }
]
],
[require('remark-lint-strong-marker'), '*'],
Expand Down

0 comments on commit 68da4b0

Please sign in to comment.