You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nevermind. The problem was that I had put the custom rule definition in the style definition file, instead of a separate rules definitions file, so it was calling a different rule function. Maybe the "Creating Rules" document should mention where they go.
Hi, markdownlint folks,
I'm having trouble defining a custom rule.
In my linter definition file, I've created a new rule with a simple definition. But when I run it, I get an "undefined method params" error.
This happens even when I just copy and paste the example custom rule from https://github.com/markdownlint/markdownlint/blob/a9e80fcf3989d73b654b00bb2225a00be53983e8/docs/creating_rules.md#creating-rules.
Any idea what's going on here?
I'm using markdownlint 0.5.0.
Reproduction example:
repro-mdl-no-such-method.zip
The text was updated successfully, but these errors were encountered: