Skip to content

Commit

Permalink
Generate .rubocop_todo.yml for remaining offences
Browse files Browse the repository at this point in the history
  • Loading branch information
iangmaia committed Sep 20, 2023
1 parent 4c94628 commit 2e4d358
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
inherit_from: .rubocop_todo.yml

inherit_mode:
merge:
- Include
Expand Down
37 changes: 37 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 2e4d358

Please sign in to comment.