# Redmine plugin for Custom Workflows # # Copyright © 2015-19 Anton Argirov # Copyright © 2019-23 Karel Pičman # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. AllCops: TargetRubyVersion: 2.7 TargetRailsVersion: 6.1 NewCops: enable Exclude: - '**/vendor/**/*' # Enable extensions require: - rubocop-performance - rubocop-rails # Rules for CustomWorkflows Metrics/BlockLength: Enabled: false Metrics/ClassLength: Enabled: false Metrics/MethodLength: Enabled: false Metrics/AbcSize: Enabled: false Metrics/PerceivedComplexity: Enabled: false Metrics/CyclomaticComplexity: Enabled: false Rails/HasAndBelongsToMany: Enabled: false Rails/SkipsModelValidations: Exclude: - db/migrate/20210210144000_change_default_active_boolean_value_to_custom_workflows.rb Style/ExpandPathArguments: Enabled: false