diff options
author | Jacek Kolasa <jacek.kolasa@gmail.com> | 2019-12-05 13:41:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-05 13:41:15 +0100 |
commit | 7953472f1190b96c46ce3180c935bdcc9b5d2717 (patch) | |
tree | 78c4f8be754ec414010dad2d12badf247329c5de /.remarkrc.js | |
parent | f92a0924175b00ca3810f4b9d472b6f6bb96692d (diff) |
address lgtm alerts (#7441)
Diffstat (limited to '.remarkrc.js')
-rw-r--r-- | .remarkrc.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/.remarkrc.js b/.remarkrc.js index a5d9d1280b..2465330fc3 100644 --- a/.remarkrc.js +++ b/.remarkrc.js @@ -1,8 +1,5 @@ // Source: https://github.com/codacy/codacy-remark-lint/raw/master/.remarkrc.js -const fs = require("fs"); -const path = require("path"); - exports.settings = { gfm: true, commonmark: true, @@ -19,13 +16,6 @@ exports.settings = { incrementListMarker: true }; -const personalDictionaryPath = path.join(__dirname, ".dictionary"); -const personalDictionary = fs.existsSync(personalDictionaryPath) - ? { - personal: fs.readFileSync(personalDictionaryPath, "utf8") - } - : {}; - const remarkPresetLintMarkdownStyleGuide = { plugins: require("remark-preset-lint-markdown-style-guide").plugins.filter( function(elem) { |