-
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:
|
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
With a similar pattern to what is shown in
rules.md
, namely, arrays: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