diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-13 02:25:23 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-13 02:25:23 +0000 |
commit | 452376ae65f1d93a3f6510a1a9b7794401555a70 (patch) | |
tree | cf21e766e21ef42f0c2bf948228a278f666d1869 | |
parent | 73c1f8a6034ac7d555cbeaee0f64afab11c93123 (diff) | |
download | redmine-452376ae65f1d93a3f6510a1a9b7794401555a70.tar.gz redmine-452376ae65f1d93a3f6510a1a9b7794401555a70.zip |
rubocop: disable Naming/PredicateName
git-svn-id: http://svn.redmine.org/redmine/trunk@18461 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | .rubocop.yml | 3 | ||||
-rw-r--r-- | .rubocop_todo.yml | 23 |
2 files changed, 3 insertions, 23 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 45f4bf5d0..869a8268e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -37,6 +37,9 @@ Lint/HandleExceptions: Metrics: Enabled: false +Naming/PredicateName: + Enabled: false + Rails/BulkChangeTable: Exclude: - 'db/migrate/20120714122200_add_workflows_rule_fields.rb' diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index eb2b7ab74..e8653ac67 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -730,29 +730,6 @@ Naming/MethodName: - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' - 'test/helpers/application_helper_test.rb' -# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros. -# NamePrefix: is_, has_, have_ -# NamePrefixBlacklist: is_, has_, have_ -# NameWhitelist: is_a? -# MethodDefinitionMacros: define_method, define_singleton_method -Naming/PredicateName: - Exclude: - - 'spec/**/*' - - 'app/controllers/repositories_controller.rb' - - 'app/models/attachment.rb' - - 'app/models/enumeration.rb' - - 'app/models/member.rb' - - 'app/models/query.rb' - - 'app/models/repository/mercurial.rb' - - 'app/models/role.rb' - - 'app/models/user.rb' - - 'app/models/wiki_page.rb' - - 'lib/redmine/export/pdf/issues_pdf_helper.rb' - - 'lib/redmine/mime_type.rb' - - 'lib/redmine/nested_set/traversing.rb' - - 'lib/redmine/scm/adapters/abstract_adapter.rb' - - 'lib/redmine/scm/adapters/cvs_adapter.rb' - # Cop supports --auto-correct. # Configuration parameters: PreferredName. Naming/RescuedExceptionsVariableName: |