|
https://github.com/remarkjs/remark-lint/blob/main/doc/rules.md The page above under configuration shows us how to set the severity I want all of my tules to trigger and error instead of a warning, But this page does not show me how to do it in a .remarkrc config file. Could you show me how to add the severity of the rule in my config file My setup is as follows: |
Answered by
wooorm
Jun 3, 2021
Replies: 1 comment 1 reply
|
With a similar pattern to what is shown in "plugins": [
"remark-preset-lint-markdown-style-guide",
- ["remark-lint-list-item-indent", {"tab": true}],
+ ["remark-lint-list-item-indent", [2, {"tab": true}]],However, I do not suggest you do this. remark, the CLI, has a |
1 reply
Answer selected by
Denice00
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With a similar pattern to what is shown in
rules.md, namely, arrays:"plugins": [ "remark-preset-lint-markdown-style-guide", - ["remark-lint-list-item-indent", {"tab": true}], + ["remark-lint-list-item-indent", [2, {"tab": true}]],However, I do not suggest you do this. remark, the CLI, has a
--frail(-f) flag which treats warnings as errors. It sounds like that’s what you’re looking for