Skip to content

Commit

Permalink
Normalize on RFC <number> (#15)
Browse files Browse the repository at this point in the history
* add rfc to prohibited strings

* prohibit RFC<number>/rfc<number>

Enforce a space between `RFC` and the number.
  • Loading branch information
richardlau authored and Trott committed Mar 18, 2019
1 parent f6b7db8 commit 782a2cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ module.exports.plugins = [
{ no: "Github", yes: "GitHub" },
{ no: "Javascript", yes: "JavaScript" },
{ no: "Node.JS", yes: "Node.js" },
{ no: "Rfc", yes: "RFC" },
{ no: "[Rr][Ff][Cc]\\d+", yes: "RFC <number>" },
{ no: "rfc", yes: "RFC" },
{ no: "v8", yes: "V8" }
]
],
Expand Down

0 comments on commit 782a2cc

Please sign in to comment.