Skip to content

Configure list-item-spacing rule#19

Open
agentolivia wants to merge 1 commit intomasterfrom
agentolivia-patch-1
Open

Configure list-item-spacing rule#19
agentolivia wants to merge 1 commit intomasterfrom
agentolivia-patch-1

Conversation

@agentolivia
Copy link
Copy Markdown
Contributor

This is my attempt to configure remark-lint-list-item-spacing so that it will detect both "tight" and "loose" lists, in an attempt to get our more complex lists to pass the linter.

I couldn't figure out how to test this in the CLI, so I have no idea if this will work.

See https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-spacing#recommendation

This is my attempt to configure remark-lint-list-item-spacing so that it will detect both "tight" and "loose" lists, in an attempt to get our more complex lists to pass the linter.
@agentolivia agentolivia requested a review from eojthebrave March 15, 2022 20:23
@agentolivia
Copy link
Copy Markdown
Contributor Author

You know, I'm not really clear on what the solution should be here. I'm just tired of these "Missing new line after list item list-item-spacing remark-lint" errors on our lists that wrap multiple lines.

@eojthebrave
Copy link
Copy Markdown
Collaborator

@agentolivia can you give me an example of a tutorial that this is currently failing on? And then I can test it out and try and help.

@agentolivia
Copy link
Copy Markdown
Contributor Author

agentolivia commented Mar 16, 2022

  • tutorials/module_dev_basics/render_api/render_arrays.md
  • tutorials/configuration_management/configuration-data-storage.md
  • tutorials/coding-standards/code-standards-documentation.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants