Skip to content

Commit 68da4b0

Browse files
committed
tools: lint for additional strings in docs
Check for uses of `Github` (rather than `GitHub`) and `Node.JS` (rather than `Node.js`) in markdown files.
1 parent ab3535d commit 68da4b0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/remark-preset-lint-node/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ module.exports.plugins = [
4242
[
4343
require('remark-lint-prohibited-strings'),
4444
[
45-
{ no: 'v8', yes: 'V8' },
46-
{ no: 'Javascript', yes: 'JavaScript' }
45+
{ no: 'Github', yes: 'GitHub' },
46+
{ no: 'Javascript', yes: 'JavaScript' },
47+
{ no: 'Node.JS', yes: 'Node.js' },
48+
{ no: 'v8', yes: 'V8' }
4749
]
4850
],
4951
[require('remark-lint-strong-marker'), '*'],

0 commit comments

Comments
 (0)