From d5c945a9f81e92b68e10c3680882648ee42df00d Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Wed, 14 Jun 2023 14:28:42 +0200 Subject: Enable Naming/PredicateName cop Renaming the existing methods would break the public API, and it is not worth to alias and/or deprecate existing methods, so this commit enables Naming/PredicateName and allows the existing methods to preserve their name --- .rubocop_todo.yml | 12 ------------ 1 file changed, 12 deletions(-) (limited to '.rubocop_todo.yml') diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a855f812..dff9aacc 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -103,18 +103,6 @@ Naming/MethodName: Naming/MethodParameterName: Enabled: false -# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros. -# NamePrefix: is_, has_, have_ -# ForbiddenPrefixes: is_, has_, have_ -# AllowedMethods: is_a? -# MethodDefinitionMacros: define_method, define_singleton_method -Naming/PredicateName: - Exclude: - - 'spec/**/*' - - 'lib/axlsx/workbook/worksheet/cell.rb' - - 'lib/axlsx/workbook/worksheet/worksheet_comments.rb' - - 'lib/axlsx/workbook/worksheet/worksheet_drawing.rb' - # Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns. # SupportedStyles: snake_case, camelCase Naming/VariableName: -- cgit v1.2.3