Skip to content

Commit

Permalink
style(rubocop): disable Performance/StringIdentifierArgument cop
Browse files Browse the repository at this point in the history
it breaks the code. related issue:

rubocop/rubocop-performance#278
  • Loading branch information
gildesmarais committed Dec 30, 2021
1 parent 302b722 commit 0410f9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ AllCops:
Exclude:
- vendor/**/*

Performance/StringIdentifierArgument:
Enabled: false

Metrics/BlockLength:
Exclude:
- "spec/**/*_spec.rb"
Expand Down

2 comments on commit 0410f9c

@koic
Copy link

@koic koic commented on 0410f9c Jan 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JFYI, Performance/StringIdentifierArgument cop now accepts attr by default.
rubocop/rubocop-performance#279

@gildesmarais
Copy link
Member Author

@gildesmarais gildesmarais commented on 0410f9c Jan 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for letting me know, @koic! I'll check the attr and possibly adjust the config. :)

Please sign in to comment.