Skip to content

Commit

Permalink
[WIP] Ticket CV2-5919: Fixing Code Climate issues
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosba committed Jan 24, 2025
1 parent d2e8a1d commit a8d3fb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,10 @@ Metrics/ModuleLength:
Max: 250

Metrics/ParameterLists:
Description: 'Avoid parameter lists longer than 9 parameters.'
Description: 'Avoid parameter lists longer than 10 parameters.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#too-many-params'
Enabled: true
Max: 9
Max: 10

Metrics/PerceivedComplexity:
Description: >-
Expand Down
3 changes: 2 additions & 1 deletion app/lib/tipline_search_result.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
class TiplineSearchResult
attr_accessor :id, :team, :title, :body, :image_url, :language, :url, :type, :format, :link_settings
attr_accessor :id, :team, :image_url, :language, :type, :format, :link_settings
attr_writer :title, :body, :url

def initialize(id:, team:, title:, body:, image_url:, language:, url:, type:, format:, link_settings: nil)
self.id = id
Expand Down

0 comments on commit a8d3fb5

Please sign in to comment.