summaryrefslogtreecommitdiffstats
path: root/.remarkrc.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:34 +0000
commitd079b656b4719739b2247dcd9d46e9bec793095a (patch)
treed2c950c70a776bcf697c963151c5bd959f8a9f03 /.remarkrc.js
parentReleasing debian version 1.37.1-2. (diff)
downloadnetdata-d079b656b4719739b2247dcd9d46e9bec793095a.tar.xz
netdata-d079b656b4719739b2247dcd9d46e9bec793095a.zip
Merging upstream version 1.38.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.remarkrc.js')
-rw-r--r--.remarkrc.js111
1 files changed, 0 insertions, 111 deletions
diff --git a/.remarkrc.js b/.remarkrc.js
deleted file mode 100644
index 55793e43..00000000
--- a/.remarkrc.js
+++ /dev/null
@@ -1,111 +0,0 @@
-// Source: https://github.com/codacy/codacy-remark-lint/raw/master/.remarkrc.js
-
-exports.settings = {
- gfm: true,
- commonmark: true,
- looseTable: false,
- spacedTable: false,
- paddedTable: false,
- fences: true,
- rule: "-",
- ruleRepetition: 3,
- emphasis: "*",
- strong: "*",
- bullet: "-",
- listItemIndent: "1",
- incrementListMarker: true
-};
-
-const remarkPresetLintMarkdownStyleGuide = {
- plugins: require("remark-preset-lint-markdown-style-guide").plugins.filter(
- function(elem) {
- return elem != require("remark-lint-no-duplicate-headings");
- }
- )
-};
-
-exports.plugins = [
- require("remark-preset-lint-consistent"),
- require("remark-preset-lint-recommended"),
- remarkPresetLintMarkdownStyleGuide,
- [require("remark-lint-no-dead-urls"), { skipOffline: true }],
- require("remark-lint-heading-whitespace"),
- [require("remark-lint-maximum-line-length"), 120],
- [require("remark-lint-maximum-heading-length"), 120],
- [require("remark-lint-list-item-indent"), "tab-size"],
- [require("remark-lint-list-item-spacing"), false],
- [require("remark-lint-strong-marker"), "*"],
- [require("remark-lint-emphasis-marker"), "_"],
- [require("remark-lint-unordered-list-marker-style"), "-"],
- [require("remark-lint-ordered-list-marker-style"), "."],
- [require("remark-lint-ordered-list-marker-value"), "ordered"],
- /*[
- require("remark-lint-write-good"),
- [
- "warn",
- {
- passive: false,
- illusion: true,
- so: true,
- thereIs: true,
- weasel: true,
- adverb: true,
- tooWordy: true,
- cliches: true,
- eprime: false
- }
- ]
- ],*/
- require("remark-validate-links"),
- require("remark-frontmatter"),
- /*[
- require("remark-retext"),
- require("unified")().use({
- plugins: [
- require("retext-english"),
- require("retext-syntax-urls"),
- [
- require("retext-spell"),
- {
- ignoreLiteral: true,
- dictionary: require("dictionary-en-us"),
- ...personalDictionary
- }
- ],
- [
- require("retext-sentence-spacing"),
- {
- preferred: 1
- }
- ],
- require("retext-repeated-words"),
- require("retext-usage"),
- require("retext-indefinite-article"),
- require("retext-redundant-acronyms"),
- [
- require("retext-contractions"),
- {
- straight: true,
- allowLiteral: true
- }
- ],
- require("retext-diacritics"),
- [
- require("retext-quotes"),
- {
- preferred: "straight"
- }
- ],
- require("retext-equality"),
- require("retext-passive"),
- require("retext-profanities"),
- [
- require("retext-readability"),
- {
- age: 20
- }
- ]
- ]
- })
- ]*/
-];