From cd41b9e3968574b34c88aae68bb5b33b5333e982 Mon Sep 17 00:00:00 2001 From: Daijiro Wachi Date: Sun, 30 Apr 2017 18:13:35 +0200 Subject: [PATCH] tools: use remark-preset-lint-node in .remarkrc PR-URL: https://github.com/nodejs/node/pull/12756 Reviewed-By: Refael Ackermann Reviewed-By: Vse Mozhet Byt Reviewed-By: James M Snell Reviewed-By: Sakthipriyan Vairamani --- .remarkrc | 64 +++---------------------------------------------------- 1 file changed, 3 insertions(+), 61 deletions(-) diff --git a/.remarkrc b/.remarkrc index b8cee4c2bb..34400ece0d 100644 --- a/.remarkrc +++ b/.remarkrc @@ -1,63 +1,5 @@ { - "plugins": { - "remark-lint/": { - "blockquote-indentation": 2, - "checkbox-character-style": { "checked": "x", "unchecked": " " }, - "checkbox-content-indent": true, - "code-block-style": "fenced", - "definition-case": false, - "definition-spacing": true, - "emphasis-marker": false, - "fenced-code-flag": true, - "fenced-code-marker": "`", - "file-extension": "md", - "final-definition": true, - "final-newline": true, - "first-heading-level": 1, - "hard-break-spaces": true, - "heading-increment": false, - "heading-style": "atx", - "link-title-style": false, - "list-item-bullet-indent": false, - "list-item-content-indent": false, - "list-item-indent": false, - "list-item-spacing": false, - "maximum-heading-length": false, - "maximum-line-length": false, - "no-auto-link-without-protocol": true, - "no-blockquote-without-caret": true, - "no-consecutive-blank-lines": false, - "no-duplicate-definitions": true, - "no-duplicate-headings": false, - "no-emphasis-as-heading": false, - "no-file-name-articles": true, - "no-file-name-consecutive-dashes": true, - "no-file-name-irregular-characters": false, - "no-file-name-mixed-case": false, - "no-file-name-outer-dashes": true, - "no-heading-content-indent": true, - "no-heading-indent": true, - "no-heading-punctuation": false, - "no-html": false, - "no-inline-padding": true, - "no-literal-urls": false, - "no-missing-blank-lines": false, - "no-multiple-toplevel-headings": true, - "no-shell-dollars": true, - "no-shortcut-reference-image": true, - "no-shortcut-reference-link": false, - "no-table-indentation": true, - "no-tabs": true, - "no-undefined-references": false, - "no-unused-definitions": true, - "ordered-list-marker-style": false, - "ordered-list-marker-value": false, - "rule-style": true, - "strong-marker": "*", - "table-cell-padding": "padded", - "table-pipe-alignment": false, - "table-pipes": true, - "unordered-list-marker-style": false - } - } + "plugins": [ + "./tools/remark-preset-lint-node/" + ] }