From 20685cfc1b3b7509054629a80c699fe11a59aa98 Mon Sep 17 00:00:00 2001 From: Jack Bates Date: Sun, 20 Feb 2022 16:10:41 -0700 Subject: [PATCH] Make rule options default to respective settings --- .../remark-lint-code-block-style/index.js | 15 +++++++---- .../remark-lint-code-block-style/readme.md | 6 ++--- packages/remark-lint-heading-style/index.js | 18 ++++++++++--- packages/remark-lint-heading-style/readme.md | 6 ++--- .../remark-lint-link-title-style/index.js | 22 +++++++++------ .../remark-lint-link-title-style/readme.md | 10 +++---- .../remark-lint-list-item-indent/index.js | 27 +++++++++++-------- .../remark-lint-list-item-indent/readme.md | 14 +++++----- .../index.js | 15 +++++++---- .../readme.md | 8 +++--- .../index.js | 14 +++++++--- .../readme.md | 4 +-- .../index.js | 17 +++++++----- .../readme.md | 10 +++---- 14 files changed, 115 insertions(+), 71 deletions(-) diff --git a/packages/remark-lint-code-block-style/index.js b/packages/remark-lint-code-block-style/index.js index a84472c1..eca54f09 100644 --- a/packages/remark-lint-code-block-style/index.js +++ b/packages/remark-lint-code-block-style/index.js @@ -5,7 +5,7 @@ * * ## API * - * The following options (default: `'consistent'`) are accepted: + * The following options (default: `'fenced'` if [`settings.fences`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionsfences), `'consistent'` otherwise) are accepted: * * * `'fenced'` * — prefer fenced code blocks: @@ -77,7 +77,7 @@ * 7:1-9:4: Code blocks should be indented * * @example - * {"setting": "fenced", "name": "ok.md"} + * {"settings": {"fences": true}, "name": "ok.md"} * * ``` * alpha() @@ -90,7 +90,7 @@ * ``` * * @example - * {"setting": "fenced", "name": "not-ok-fenced.md", "label": "input"} + * {"settings": {"fences": true}, "name": "not-ok-fenced.md", "label": "input"} * * alpha() * @@ -99,7 +99,7 @@ * bravo() * * @example - * {"setting": "fenced", "name": "not-ok-fenced.md", "label": "output"} + * {"settings": {"fences": true}, "name": "not-ok-fenced.md", "label": "output"} * * 1:1-1:12: Code blocks should be fenced * 5:1-5:12: Code blocks should be fenced @@ -143,9 +143,14 @@ const remarkLintCodeBlockStyle = lintRule( url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-code-block-style#readme' }, /** @type {import('unified-lint-rule').Rule} */ - (tree, file, option = 'consistent') => { + function (tree, file, option) { const value = String(file) + if (!option) { + const {settings} = this.data() + option = settings && settings.fences ? 'fenced' : 'consistent' + } + if ( option !== 'consistent' && option !== 'fenced' && diff --git a/packages/remark-lint-code-block-style/readme.md b/packages/remark-lint-code-block-style/readme.md index 56c3fd3a..46b46506 100644 --- a/packages/remark-lint-code-block-style/readme.md +++ b/packages/remark-lint-code-block-style/readme.md @@ -124,7 +124,7 @@ The default export is `remarkLintCodeBlockStyle`. This rule supports standard configuration that all remark lint rules accept (such as `false` to turn it off or `[1, options]` to configure it). -The following options (default: `'consistent'`) are accepted: +The following options (default: `'fenced'` if [`settings.fences`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionsfences), `'consistent'` otherwise) are accepted: * `'fenced'` — prefer fenced code blocks: @@ -207,7 +207,7 @@ bravo() ##### `ok.md` -When configured with `'fenced'`. +When configured with `settings.fences: true`. ###### In @@ -229,7 +229,7 @@ No messages. ##### `not-ok-fenced.md` -When configured with `'fenced'`. +When configured with `settings.fences: true`. ###### In diff --git a/packages/remark-lint-heading-style/index.js b/packages/remark-lint-heading-style/index.js index f2d2b915..b077aad1 100644 --- a/packages/remark-lint-heading-style/index.js +++ b/packages/remark-lint-heading-style/index.js @@ -5,7 +5,7 @@ * * ## API * - * The following options (default: `'consistent'`) are accepted: + * The following options (default: `'setext'` if [`settings.setext`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionssetext), `'atx-closed'` if [`settings.closeAtx`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionscloseatx), `'consistent'` otherwise) are accepted: * * * `'atx'` * — prefer ATX headings: @@ -71,7 +71,7 @@ * ### Charlie * * @example - * {"name": "ok.md", "setting": "atx-closed"} + * {"name": "ok.md", "settings": {"closeAtx": true}} * * # Delta ## * @@ -80,7 +80,7 @@ * ### Foxtrot ### * * @example - * {"name": "ok.md", "setting": "setext"} + * {"name": "ok.md", "settings": {"setext": true}} * * Golf * ==== @@ -129,7 +129,17 @@ const remarkLintHeadingStyle = lintRule( url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-heading-style#readme' }, /** @type {import('unified-lint-rule').Rule} */ - (tree, file, option = 'consistent') => { + function (tree, file, option) { + if (!option) { + const {settings} = this.data() + option = + settings && settings.setext + ? 'setext' + : settings && settings.closeAtx + ? 'atx-closed' + : 'consistent' + } + if ( option !== 'consistent' && option !== 'atx' && diff --git a/packages/remark-lint-heading-style/readme.md b/packages/remark-lint-heading-style/readme.md index 1eaa2549..3daf776f 100644 --- a/packages/remark-lint-heading-style/readme.md +++ b/packages/remark-lint-heading-style/readme.md @@ -124,7 +124,7 @@ The default export is `remarkLintHeadingStyle`. This rule supports standard configuration that all remark lint rules accept (such as `false` to turn it off or `[1, options]` to configure it). -The following options (default: `'consistent'`) are accepted: +The following options (default: `'setext'` if [`settings.setext`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionssetext), `'atx-closed'` if [`settings.closeAtx`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionscloseatx), `'consistent'` otherwise) are accepted: * `'atx'` — prefer ATX headings: @@ -196,7 +196,7 @@ No messages. ##### `ok.md` -When configured with `'atx-closed'`. +When configured with `settings.closeAtx: true`. ###### In @@ -214,7 +214,7 @@ No messages. ##### `ok.md` -When configured with `'setext'`. +When configured with `settings.setext: true`. ###### In diff --git a/packages/remark-lint-link-title-style/index.js b/packages/remark-lint-link-title-style/index.js index e13c7219..3d799676 100644 --- a/packages/remark-lint-link-title-style/index.js +++ b/packages/remark-lint-link-title-style/index.js @@ -5,7 +5,7 @@ * * ## API * - * The following options (default: `'consistent'`) are accepted: + * The following options (default: [`settings.quote`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionsquote) or `'consistent'`) are accepted: * * * `'"'` * — prefer double quotes @@ -44,7 +44,7 @@ * @copyright 2015 Titus Wormer * @license MIT * @example - * {"name": "ok.md", "setting": "\""} + * {"name": "ok.md", "settings": {"quote": "\""}} * * [Example](http://example.com#without-title) * [Example](http://example.com "Example Domain") @@ -57,17 +57,17 @@ * [Example](#Heading-(optional)) * * @example - * {"name": "not-ok.md", "label": "input", "setting": "\""} + * {"name": "not-ok.md", "label": "input", "settings": {"quote": "\""}} * * [Example]: http://example.com 'Example Domain' * * @example - * {"name": "not-ok.md", "label": "output", "setting": "\""} + * {"name": "not-ok.md", "label": "output", "settings": {"quote": "\""}} * * 1:31-1:47: Titles should use `"` as a quote * * @example - * {"name": "ok.md", "setting": "'"} + * {"name": "ok.md", "settings": {"quote": "'"}} * * [Example](http://example.com#without-title) * [Example](http://example.com 'Example Domain') @@ -76,12 +76,12 @@ * [Example]: http://example.com 'Example Domain' * * @example - * {"name": "not-ok.md", "label": "input", "setting": "'"} + * {"name": "not-ok.md", "label": "input", "settings": {"quote": "'"}} * * [Example]: http://example.com "Example Domain" * * @example - * {"name": "not-ok.md", "label": "output", "setting": "'"} + * {"name": "not-ok.md", "label": "output", "settings": {"quote": "'"}} * * 1:31-1:47: Titles should use `'` as a quote * @@ -146,9 +146,15 @@ const remarkLintLinkTitleStyle = lintRule( url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-link-title-style#readme' }, /** @type {import('unified-lint-rule').Rule} */ - (tree, file, option = 'consistent') => { + function (tree, file, option) { const value = String(file) const loc = location(file) + + if (!option) { + const {settings} = this.data() + option = (settings && settings.quote) || 'consistent' + } + // @ts-expect-error: allow other paren combos. let look = option === '()' || option === '(' ? ')' : option diff --git a/packages/remark-lint-link-title-style/readme.md b/packages/remark-lint-link-title-style/readme.md index 66cfec9a..94ae9d1a 100644 --- a/packages/remark-lint-link-title-style/readme.md +++ b/packages/remark-lint-link-title-style/readme.md @@ -124,7 +124,7 @@ The default export is `remarkLintLinkTitleStyle`. This rule supports standard configuration that all remark lint rules accept (such as `false` to turn it off or `[1, options]` to configure it). -The following options (default: `'consistent'`) are accepted: +The following options (default: [`settings.quote`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionsquote) or `'consistent'`) are accepted: * `'"'` — prefer double quotes @@ -160,7 +160,7 @@ There is no option to use parens. ##### `ok.md` -When configured with `'"'`. +When configured with `settings.quote: '"'`. ###### In @@ -182,7 +182,7 @@ No messages. ##### `not-ok.md` -When configured with `'"'`. +When configured with `settings.quote: '"'`. ###### In @@ -198,7 +198,7 @@ When configured with `'"'`. ##### `ok.md` -When configured with `"'"`. +When configured with `settings.quote: "'"`. ###### In @@ -216,7 +216,7 @@ No messages. ##### `not-ok.md` -When configured with `"'"`. +When configured with `settings.quote: "'"`. ###### In diff --git a/packages/remark-lint-list-item-indent/index.js b/packages/remark-lint-list-item-indent/index.js index 1563d1a3..164f29ba 100644 --- a/packages/remark-lint-list-item-indent/index.js +++ b/packages/remark-lint-list-item-indent/index.js @@ -6,7 +6,7 @@ * * ## API * - * The following options (default: `'tab'`) are accepted: + * The following options (default: [`settings.listItemIndent`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionslistitemindent) or `'tab'`) are accepted: * * * `'one'` * — prefer a single space @@ -79,7 +79,7 @@ * ····item. * * @example - * {"name": "ok.md", "setting": "mixed"} + * {"name": "ok.md", "settings": {"listItemIndent": "mixed"}} * * *·List item. * @@ -96,7 +96,7 @@ * ····item. * * @example - * {"name": "ok.md", "setting": "one"} + * {"name": "ok.md", "settings": {"listItemIndent": "one"}} * * *·List item. * @@ -113,39 +113,39 @@ * ··item. * * @example - * {"name": "not-ok.md", "setting": "one", "label": "input"} + * {"name": "not-ok.md", "settings": {"listItemIndent": "one"}, "label": "input"} * * *···List * ····item. * * @example - * {"name": "not-ok.md", "setting": "one", "label": "output"} + * {"name": "not-ok.md", "settings": {"listItemIndent": "one"}, "label": "output"} * * 1:5: Incorrect list-item indent: remove 2 spaces * * @example - * {"name": "not-ok.md", "setting": "tab", "label": "input"} + * {"name": "not-ok.md", "settings": {"listItemIndent": "tab"}, "label": "input"} * * *·List * ··item. * * @example - * {"name": "not-ok.md", "setting": "tab", "label": "output"} + * {"name": "not-ok.md", "settings": {"listItemIndent": "tab"}, "label": "output"} * * 1:3: Incorrect list-item indent: add 2 spaces * * @example - * {"name": "not-ok.md", "setting": "mixed", "label": "input"} + * {"name": "not-ok.md", "settings": {"listItemIndent": "mixed"}, "label": "input"} * * *···List item. * * @example - * {"name": "not-ok.md", "setting": "mixed", "label": "output"} + * {"name": "not-ok.md", "settings": {"listItemIndent": "mixed"}, "label": "output"} * * 1:5: Incorrect list-item indent: remove 2 spaces * * @example - * {"name": "not-ok.md", "setting": "💩", "label": "output", "positionless": true} + * {"name": "not-ok.md", "settings": {"listItemIndent": "💩"}, "label": "output", "positionless": true} * * 1:1: Incorrect list-item indent style `💩`: use either `'tab'`, `'one'`, or `'mixed'` */ @@ -169,10 +169,15 @@ const remarkLintListItemIndent = lintRule( url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-indent#readme' }, /** @type {import('unified-lint-rule').Rule} */ - (tree, file, option = 'tab') => { + function (tree, file, option) { const value = String(file) option = compat[/** @type {never} */ (option)] || option + if (!option) { + const {settings} = this.data() + option = (settings && settings.listItemIndent) || 'tab' + } + if (option !== 'tab' && option !== 'one' && option !== 'mixed') { file.fail( 'Incorrect list-item indent style `' + diff --git a/packages/remark-lint-list-item-indent/readme.md b/packages/remark-lint-list-item-indent/readme.md index c76d05bd..7a86bd59 100644 --- a/packages/remark-lint-list-item-indent/readme.md +++ b/packages/remark-lint-list-item-indent/readme.md @@ -126,7 +126,7 @@ The default export is `remarkLintListItemIndent`. This rule supports standard configuration that all remark lint rules accept (such as `false` to turn it off or `[1, options]` to configure it). -The following options (default: `'tab'`) are accepted: +The following options (default: [`settings.listItemIndent`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionslistitemindent) or `'tab'`) are accepted: * `'one'` — prefer a single space @@ -204,7 +204,7 @@ No messages. ##### `ok.md` -When configured with `'mixed'`. +When configured with `settings.listItemIndent: 'mixed'`. ###### In @@ -232,7 +232,7 @@ No messages. ##### `not-ok.md` -When configured with `'mixed'`. +When configured with `settings.listItemIndent: 'mixed'`. ###### In @@ -250,7 +250,7 @@ When configured with `'mixed'`. ##### `ok.md` -When configured with `'one'`. +When configured with `settings.listItemIndent: 'one'`. ###### In @@ -278,7 +278,7 @@ No messages. ##### `not-ok.md` -When configured with `'one'`. +When configured with `settings.listItemIndent: 'one'`. ###### In @@ -297,7 +297,7 @@ When configured with `'one'`. ##### `not-ok.md` -When configured with `'tab'`. +When configured with `settings.listItemIndent: 'tab'`. ###### In @@ -316,7 +316,7 @@ When configured with `'tab'`. ##### `not-ok.md` -When configured with `'💩'`. +When configured with `settings.listItemIndent: '💩'`. ###### Out diff --git a/packages/remark-lint-ordered-list-marker-style/index.js b/packages/remark-lint-ordered-list-marker-style/index.js index 6efb8e02..dddbbc60 100644 --- a/packages/remark-lint-ordered-list-marker-style/index.js +++ b/packages/remark-lint-ordered-list-marker-style/index.js @@ -5,7 +5,7 @@ * * ## API * - * The following options (default: `'consistent'`) are accepted: + * The following options (default: [`settings.bulletOrdered`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionsbulletordered) or `'consistent'`) are accepted: * * * `'.'` * — prefer dots @@ -48,14 +48,14 @@ * * Foo * * @example - * {"name": "ok.md", "setting": "."} + * {"name": "ok.md", "settings": {"bulletOrdered": "."}} * * 1. Foo * * 2. Bar * * @example - * {"name": "ok.md", "setting": ")"} + * {"name": "ok.md", "settings": {"bulletOrdered": ")"}} * * 1) Foo * @@ -74,7 +74,7 @@ * 3:1-3:8: Marker style should be `.` * * @example - * {"name": "not-ok.md", "label": "output", "setting": "💩", "positionless": true} + * {"name": "not-ok.md", "label": "output", "settings": {"bulletOrdered": "💩"}, "positionless": true} * * 1:1: Incorrect ordered list item marker style `💩`: use either `'.'` or `')'` */ @@ -96,9 +96,14 @@ const remarkLintOrderedListMarkerStyle = lintRule( url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-ordered-list-marker-style#readme' }, /** @type {import('unified-lint-rule').Rule} */ - (tree, file, option = 'consistent') => { + function (tree, file, option) { const value = String(file) + if (!option) { + const {settings} = this.data() + option = (settings && settings.bulletOrdered) || 'consistent' + } + if (option !== 'consistent' && option !== '.' && option !== ')') { file.fail( 'Incorrect ordered list item marker style `' + diff --git a/packages/remark-lint-ordered-list-marker-style/readme.md b/packages/remark-lint-ordered-list-marker-style/readme.md index e790e9ca..4ff39dd7 100644 --- a/packages/remark-lint-ordered-list-marker-style/readme.md +++ b/packages/remark-lint-ordered-list-marker-style/readme.md @@ -125,7 +125,7 @@ The default export is `remarkLintOrderedListMarkerStyle`. This rule supports standard configuration that all remark lint rules accept (such as `false` to turn it off or `[1, options]` to configure it). -The following options (default: `'consistent'`) are accepted: +The following options (default: [`settings.bulletOrdered`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionsbulletordered) or `'consistent'`) are accepted: * `'.'` — prefer dots @@ -188,7 +188,7 @@ No messages. ##### `ok.md` -When configured with `'.'`. +When configured with `settings.bulletOrdered: '.'`. ###### In @@ -204,7 +204,7 @@ No messages. ##### `ok.md` -When configured with `')'`. +When configured with `settings.bulletOrdered: ')'`. ###### In @@ -220,7 +220,7 @@ No messages. ##### `not-ok.md` -When configured with `'💩'`. +When configured with `settings.bulletOrdered: '💩'`. ###### Out diff --git a/packages/remark-lint-ordered-list-marker-value/index.js b/packages/remark-lint-ordered-list-marker-value/index.js index 9536f588..bdbdc370 100644 --- a/packages/remark-lint-ordered-list-marker-value/index.js +++ b/packages/remark-lint-ordered-list-marker-value/index.js @@ -5,7 +5,7 @@ * * ## API * - * The following options (default: `'ordered'`) are accepted: + * The following options (default: `'single'` if [`settings.incrementListMarker`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionsincrementlistmarker) is `false`, `'ordered'` otherwise) are accepted: * * * `'ordered'` * — values should increment by one from the first item @@ -73,7 +73,7 @@ * 1. Charlie * * @example - * {"name": "ok.md", "setting": "single"} + * {"name": "ok.md", "settings": {"incrementListMarker": false}} * * 1. Foo * 1. Bar @@ -165,9 +165,17 @@ const remarkLintOrderedListMarkerValue = lintRule( url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-ordered-list-marker-value#readme' }, /** @type {import('unified-lint-rule').Rule} */ - (tree, file, option = 'ordered') => { + function (tree, file, option) { const value = String(file) + if (!option) { + const {settings} = this.data() + option = + settings && settings.incrementListMarker === false + ? 'single' + : 'ordered' + } + if (option !== 'ordered' && option !== 'one' && option !== 'single') { file.fail( 'Incorrect ordered list item marker value `' + diff --git a/packages/remark-lint-ordered-list-marker-value/readme.md b/packages/remark-lint-ordered-list-marker-value/readme.md index c16ee8c4..fb4e4370 100644 --- a/packages/remark-lint-ordered-list-marker-value/readme.md +++ b/packages/remark-lint-ordered-list-marker-value/readme.md @@ -123,7 +123,7 @@ The default export is `remarkLintOrderedListMarkerValue`. This rule supports standard configuration that all remark lint rules accept (such as `false` to turn it off or `[1, options]` to configure it). -The following options (default: `'ordered'`) are accepted: +The following options (default: `'single'` if [`settings.incrementListMarker`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionsincrementlistmarker) is `false`, `'ordered'` otherwise) are accepted: * `'ordered'` — values should increment by one from the first item @@ -238,7 +238,7 @@ When configured with `'one'`. ##### `ok.md` -When configured with `'single'`. +When configured with `settings.incrementListMarker: false`. ###### In diff --git a/packages/remark-lint-unordered-list-marker-style/index.js b/packages/remark-lint-unordered-list-marker-style/index.js index 4e3cb479..1484e7da 100644 --- a/packages/remark-lint-unordered-list-marker-style/index.js +++ b/packages/remark-lint-unordered-list-marker-style/index.js @@ -6,7 +6,7 @@ * * ## API * - * The following options (default: `'consistent'`) are accepted: + * The following options (default: [`settings.bullet`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionsbullet) or `'consistent'`) are accepted: * * * `'*'` * — prefer asterisks @@ -54,17 +54,17 @@ * 3. Baz * * @example - * {"name": "ok.md", "setting": "*"} + * {"name": "ok.md", "settings": {"bullet": "*"}} * * * Foo * * @example - * {"name": "ok.md", "setting": "-"} + * {"name": "ok.md", "settings": {"bullet": "-"}} * * - Foo * * @example - * {"name": "ok.md", "setting": "+"} + * {"name": "ok.md", "settings": {"bullet": "+"}} * * + Foo * @@ -82,7 +82,7 @@ * 3:1-3:6: Marker style should be `*` * * @example - * {"name": "not-ok.md", "label": "output", "setting": "💩", "positionless": true} + * {"name": "not-ok.md", "label": "output", "settings": {"bullet": "💩"}, "positionless": true} * * 1:1: Incorrect unordered list item marker style `💩`: use either `'-'`, `'*'`, or `'+'` */ @@ -106,9 +106,14 @@ const remarkLintUnorderedListMarkerStyle = lintRule( url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-unordered-list-marker-style#readme' }, /** @type {import('unified-lint-rule').Rule} */ - (tree, file, option = 'consistent') => { + function (tree, file, option) { const value = String(file) + if (!option) { + const {settings} = this.data() + option = (settings && settings.bullet) || 'consistent' + } + if (option !== 'consistent' && !markers.has(option)) { file.fail( 'Incorrect unordered list item marker style `' + diff --git a/packages/remark-lint-unordered-list-marker-style/readme.md b/packages/remark-lint-unordered-list-marker-style/readme.md index 8ce6077d..4a18daaf 100644 --- a/packages/remark-lint-unordered-list-marker-style/readme.md +++ b/packages/remark-lint-unordered-list-marker-style/readme.md @@ -124,7 +124,7 @@ The default export is `remarkLintUnorderedListMarkerStyle`. This rule supports standard configuration that all remark lint rules accept (such as `false` to turn it off or `[1, options]` to configure it). -The following options (default: `'consistent'`) are accepted: +The following options (default: [`settings.bullet`](https://github.com/remarkjs/remark/tree/main/packages/remark-stringify#optionsbullet) or `'consistent'`) are accepted: * `'*'` — prefer asterisks @@ -193,7 +193,7 @@ No messages. ##### `ok.md` -When configured with `'*'`. +When configured with `settings.bullet: '*'`. ###### In @@ -207,7 +207,7 @@ No messages. ##### `ok.md` -When configured with `'-'`. +When configured with `settings.bullet: '-'`. ###### In @@ -221,7 +221,7 @@ No messages. ##### `ok.md` -When configured with `'+'`. +When configured with `settings.bullet: '+'`. ###### In @@ -235,7 +235,7 @@ No messages. ##### `not-ok.md` -When configured with `'💩'`. +When configured with `settings.bullet: '💩'`. ###### Out