inherit_from: .rubocop_todo.yml AllCops: NewCops: enable Style/StringLiterals: Enabled: false Layout/SpaceInsideParens: Enabled: false Layout/SpaceInsideStringInterpolation: Enabled: false Layout/EmptyLinesAroundBlockBody: Enabled: false Style/FrozenStringLiteralComment: Enabled: false Layout/SpaceInsideBlockBraces: Enabled: false Metrics/BlockLength: IgnoredMethods: - describe - context - foreach # CSV parsing Layout/DotPosition: EnforcedStyle: trailing Enabled: true Layout/LineLength: Max: 120 Metrics/AbcSize: Max: 15 IgnoredMethods: - is_cpf_equal? - calculated_employee_contribution - calculated_total_contribution - age_grouping_for_2022_and_later - age_grouping_for_2015_and_earlier Metrics/ClassLength: Max: 40 Exclude: - lib/singapore_cpf_calculator/age_group.rb - lib/singapore_cpf_calculator/base_calculator.rb Metrics/CyclomaticComplexity: Max: 6 IgnoredMethods: - is_cpf_equal? - age_grouping_for_2015_and_earlier - age_grouping_for_2015_and_later - age_grouping_for_2022_and_later - validate_params ## Configuration parameters: CountComments, CountAsOne, ExcludedMethods, . Metrics/MethodLength: Max: 7 IgnoredMethods: - is_cpf_equal? - age_grouping_for_2015_and_earlier - age_grouping_for_2016_and_later - age_grouping_for_2022_and_later - calculated_employee_contribution - calculated_total_contribution - calculate - residency_modules - validate_params Metrics/ParameterLists: Max: 5 Exclude: - lib/singapore_cpf_calculator.rb Metrics/PerceivedComplexity: Max: 7 IgnoredMethods: - is_cpf_equal? - age_grouping_for_2015_and_earlier - age_grouping_for_2015_and_later - age_grouping_for_2022_and_later - validate_params