Add lint rules from eslint-plugin-node.

This commit is contained in:
David Anson 2020-09-06 19:49:35 -07:00
parent 6525c36f1e
commit e1eb81cd21
11 changed files with 61 additions and 19 deletions

View file

@ -32,7 +32,7 @@ const emphasisMarkersRe = /[_*]/g;
const linkRe = /\[(?:[^[\]]|\[[^\]]*\])*\](?:\(\S*\))?/g;
// readFile options for reading with the UTF-8 encoding
module.exports.utf8Encoding = { "encoding": "utf8" };
module.exports.utf8Encoding = "utf8";
// All punctuation characters (normal and full-width)
module.exports.allPunctuation = ".,;:!?。,;:!?";