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
To implement a custom formatter, you need to subclass RuboCop::Formatter::BaseFormatter and override some methods, or implement all formatter API methods by duck typing.
Please see the documents below for more formatter API details.
The custom formatter guide says to use
BaseFormatter
:However, the class is listed as private API
Expected behavior
Either the guide should recommend another approach, or the API documentation should not describe the formatter as private.
Actual behavior
The guide and API docs conflict.
Steps to reproduce the problem
Visit current (January 12 2023) versions of links above.
RuboCop version
Not really relevant, since it's docs. Current SHAs of
master
branches are:The text was updated successfully, but these errors were encountered: