From ec713a911b0385d43948031afe7d66674f7e82b9 Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Fri, 19 Aug 2016 14:09:38 -0500 Subject: [PATCH 1/2] Be more explicit about markdown syntax --- script/test-prose | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/script/test-prose b/script/test-prose index 6df99b9959d..6886ff5734b 100755 --- a/script/test-prose +++ b/script/test-prose @@ -37,6 +37,12 @@ var options = { "first-heading-level": 2, // Page title is h1, so start with h2 "no-missing-blank-lines": {"exceptTightLists": true}, "emphasis-marker": "_", + "strong-marker": "*", + "unordered-list-marker-style": "*", + "ordered-list-marker-style": ".", + "blockquote-indentation": 2, + "heading-style": "atx", + // FIXME: Eventually remove these "maximum-heading-length": 80, From f58f120ee99da2d50f0aabbd62c0ef7339fcf777 Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Fri, 19 Aug 2016 14:19:27 -0500 Subject: [PATCH 2/2] Group lint settings --- script/test-prose | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/script/test-prose b/script/test-prose index 6886ff5734b..90af19aa9ea 100755 --- a/script/test-prose +++ b/script/test-prose @@ -30,22 +30,24 @@ var options = { // https://github.com/wooorm/remark-lint/blob/master/doc/rules.md "lint": { - "list-item-indent": "space", // As the gods intended. - "maximum-line-length": false, // turn off line length linting + // Headings + "heading-style": "atx", // ## Headings + "first-heading-level": 2, // Page title is h1, so start with h2 "no-heading-punctuation": false, + "maximum-heading-length": 80, // FIXME: Eventually remove this + + // Lists + "list-item-indent": "space", // As the gods intended. "list-item-spacing": false, - "first-heading-level": 2, // Page title is h1, so start with h2 - "no-missing-blank-lines": {"exceptTightLists": true}, - "emphasis-marker": "_", - "strong-marker": "*", "unordered-list-marker-style": "*", "ordered-list-marker-style": ".", - "blockquote-indentation": 2, - "heading-style": "atx", - - // FIXME: Eventually remove these - "maximum-heading-length": 80, + // Misc + "maximum-line-length": false, // turn off line length linting + "emphasis-marker": "_", + "strong-marker": "*", + "blockquote-indentation": 2, + "no-missing-blank-lines": {"exceptTightLists": true}, }, "readability": { "age": 18