Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e57af5a

Browse filesBrowse 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 <cjihrig@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 8a17b7b commit e57af5a
Copy full SHA for e57af5a

File tree

Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: tools/remark-preset-lint-node/index.js
+4-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.