Skip to content

Commit

Permalink
Fix base class used by rubocop cop
Browse files Browse the repository at this point in the history
Fix deprecation warning: Inheriting from 'RuboCop::Cop::Cop' is deprecated. Use 'RuboCop::Cop::Base' instead.
For more information, see https://docs.rubocop.org/rubocop/v1_upgrade_notes.html.
  • Loading branch information
hubb committed Jan 23, 2025
1 parent 18e74f4 commit 0eed370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/smart_todo_cop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module SmartTodo
# This Cop does not run by default. It should be added to the RuboCop host's configuration file.
#
# @see https://rubocop.readthedocs.io/en/latest/extensions/#loading-extensions
class SmartTodoCop < Base
class SmartTodoCop < Rubocop::Cop::Base
HELP = "For more info please look at https://github.com/Shopify/smart_todo/wiki/Syntax"
MSG = "Don't write regular TODO comments. Write SmartTodo compatible syntax comments. #{HELP}"

Expand Down

0 comments on commit 0eed370

Please sign in to comment.