Skip to content

Commit e57af5a

Browse files
TrottMylesBorins
authored andcommitted
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. PR-URL: #17492 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 8a17b7b commit e57af5a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

+4-2
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)