From 2e4d3584d867013529dd20ee1703e08e011b443c Mon Sep 17 00:00:00 2001 From: Ian Maia Date: Wed, 20 Sep 2023 12:41:34 +0200 Subject: [PATCH] Generate .rubocop_todo.yml for remaining offences --- .rubocop.yml | 2 ++ .rubocop_todo.yml | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .rubocop_todo.yml diff --git a/.rubocop.yml b/.rubocop.yml index 547f1af6ce8..fee466fdf14 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,5 @@ +inherit_from: .rubocop_todo.yml + inherit_mode: merge: - Include diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml new file mode 100644 index 00000000000..ea8266bef1f --- /dev/null +++ b/.rubocop_todo.yml @@ -0,0 +1,37 @@ +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2023-09-20 10:40:52 UTC using RuboCop version 1.56.3. +# The point is for the user to remove these configuration records +# one by one as the offenses are removed from the code base. +# Note that changes in the inspected code, or installation of new +# versions of RuboCop, may require this file to be generated again. + +# Offense count: 3 +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. +Metrics/AbcSize: + Max: 75 + +# Offense count: 1 +# Configuration parameters: CountBlocks. +Metrics/BlockNesting: + Max: 4 + +# Offense count: 2 +# Configuration parameters: AllowedMethods, AllowedPatterns. +Metrics/CyclomaticComplexity: + Max: 26 + +# Offense count: 1 +# Configuration parameters: AllowedMethods, AllowedPatterns. +Metrics/PerceivedComplexity: + Max: 33 + +# Offense count: 3 +# Configuration parameters: AllowedConstants. +Style/Documentation: + Exclude: + - 'spec/**/*' + - 'test/**/*' + - 'scripts/themes/download_themes.rb' + - 'scripts/themes/generate_kotlin.rb' + - 'scripts/themes/generate_kotlin_compose.rb'