{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":68358055,"defaultBranch":"master","name":"rubocop","ownerLogin":"koic","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2016-09-16T06:35:14.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/13203?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1715184516.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"4d8d17cfc6b6ce9bfc472cbbe5809f404cdcfe08","ref":"refs/heads/make_style_redundant_parentheses_allow_parentheses_in_assignment","pushedAt":"2024-05-08T16:08:36.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Make `Style/RedundantParentheses` allow parentheses in assignment.\n\nFixes https://github.com/rubocop/rubocop/issues/12511#issuecomment-1852817131.\n\nThis PR makes `Style/RedundantParentheses` allow parentheses around conditional expressions in assignment\nto respect user's intentions for readability:\n\n```ruby\nvar = (foo || bar)\n```","shortMessageHtmlLink":"Make Style/RedundantParentheses allow parentheses in assignment."}},{"before":"1d5ef36fb4b42fd68b06b299c2693061f9365b1f","after":null,"ref":"refs/heads/add_ostruct_to_gemfile","pushedAt":"2024-05-08T13:00:53.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"}},{"before":"17eb2454e460804d746bc52c050cef8f988258da","after":"1d5ef36fb4b42fd68b06b299c2693061f9365b1f","ref":"refs/heads/add_ostruct_to_gemfile","pushedAt":"2024-05-07T17:11:39.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Workaround for Ruby's warning in YARD\n\nThis is a workaround to prevent the following warning in YARD:\n\n```console\n$ ruby -v\nruby 3.4.0dev (2024-04-19T07:33:16Z master 7951b349ab) [x86_64-darwin23]\n$ cd path/to/rubocop\n$ bundle exec rake\n/Users/koic/.rbenv/versions/3.4-dev/lib/ruby/gems/3.4.0+0/gems/yard-0.9.36/lib/yard/templates/template_options.rb:2:\nwarning: ostruct was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0.\nAdd ostruct to your Gemfile or gemspec.\n```\n\nThe fundamental resolution will likely be addressed in https://github.com/lsegal/yard/pull/1545.","shortMessageHtmlLink":"Workaround for Ruby's warning in YARD"}},{"before":null,"after":"17eb2454e460804d746bc52c050cef8f988258da","ref":"refs/heads/add_ostruct_to_gemfile","pushedAt":"2024-05-07T16:24:51.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Workaround for YARD's warning\n\nThis is a workaround to prevent the following warning in YARD:\n\n```console\n$ ruby -v\nruby 3.4.0dev (2024-04-19T07:33:16Z master 7951b349ab) [x86_64-darwin23]\n$ cd path/to/rubocop\n$ bundle exec rake\n/Users/koic/.rbenv/versions/3.4-dev/lib/ruby/gems/3.4.0+0/gems/yard-0.9.36/lib/yard/templates/template_options.rb:2:\nwarning: ostruct was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0.\nAdd ostruct to your Gemfile or gemspec.\n```\n\nThe fundamental resolution will likely be addressed in https://github.com/lsegal/yard/pull/1545.","shortMessageHtmlLink":"Workaround for YARD's warning"}},{"before":"1ec4ef9aa649083c55f60bdb7d2318118f79ad11","after":null,"ref":"refs/heads/suppress_interrupt_exception_for_lsp","pushedAt":"2024-05-07T01:58:05.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"}},{"before":null,"after":"1ec4ef9aa649083c55f60bdb7d2318118f79ad11","ref":"refs/heads/suppress_interrupt_exception_for_lsp","pushedAt":"2024-05-06T05:17:09.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Suppress `Interrupt` exception for LSP\n\nThis PR suppresses the following backtrace of `Interrupt` exception for LSP:\n\n## Before\n\n```console\n$ bundle exec rubocop --lsp\n^C/Users/koic/.rbenv/versions/3.4-dev/lib/ruby/gems/3.4.0+0/gems/language_server-protocol-3.17.0.3/\nlib/language_server/protocol/transport/io/reader.rb:16:in 'IO#gets': Interrupt\nfrom /Users/koic/.rbenv/versions/3.4-dev/lib/ruby/gems/3.4.0+0/gems/language_server-protocol-3.17.0.3/\nlib/language_server/protocol/transport/io/reader.rb:16:in 'LanguageServer::Protocol::Transport::Io::Reader#read'\n from /Users/koic/src/github.com/rubocop/rubocop/lib/rubocop/lsp/server.rb:35:in 'RuboCop::LSP::Server#start'\n(snip)\n```\n\n## After\n\n```console\n$ bundle exec rubocop --lsp\n^C\nExiting...\n```","shortMessageHtmlLink":"Suppress Interrupt exception for LSP"}},{"before":"428b7db98c4533b0c2152a70eb1ed3ae45fed8a6","after":null,"ref":"refs/heads/add_doc_and_log_info_for_yjit_in_lsp","pushedAt":"2024-05-03T06:51:48.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"}},{"before":"52a1e53107d8cee82cd7e2f97c589eb02cf18171","after":"459aff0c3c78d37b8484a2cb93cf024d833c3294","ref":"refs/heads/add_new_style_static_send_cop","pushedAt":"2024-05-02T18:30:23.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"[Fix #12842] Add new `Style/SendWithLiteralMethodName` cop\n\nFixes #12842.\n\n## Summary\n\nDetects the use of the `public_send` method with a literal method name argument.\nSince the `send` method can be used to call private methods, by default,\nonly the `public_send` method is detected.\n\n```ruby\n# bad\nobj.public_send(:method_name)\nobj.public_send('method_name')\n\n# good\nobj.method_name\n```\n\n## Safety\n\nThis cop is not safe because it can incorrectly detect based on the receiver.\nAdditionally, when `AllowSend` is set to `true`, it cannot determine whether\nthe `send` method being detected is calling a private method.\n\n## `AllowSend` option\n\nThis cop has `AllowSend` option.\n\n### AllowSend: true (default)\n\n```ruby\n# good\nobj.send(:method_name)\nobj.send('method_name')\nobj.__send__(:method_name)\nobj.__send__('method_name')\n```\n\n### AllowSend: false\n\n```ruby\n# bad\nobj.send(:method_name)\nobj.send('method_name')\nobj.__send__(:method_name)\nobj.__send__('method_name')\n\n# good\nobj.method_name\n```","shortMessageHtmlLink":"[Fix rubocop#12842] Add new Style/SendWithLiteralMethodName cop"}},{"before":"ffe62084264cbec4f711e69dd61512164664cebf","after":"428b7db98c4533b0c2152a70eb1ed3ae45fed8a6","ref":"refs/heads/add_doc_and_log_info_for_yjit_in_lsp","pushedAt":"2024-05-02T17:41:45.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Add documentation and log information for enabling YJIT in LSP\n\nThis PR adds documentation on enabling YJIT for LSP client to the LSP documentation.\nIt also includes an update to display whether YJIT is enabled or not during LSP startup.\n\nAlthough it has not been measured, due to its nature as a server, there is a potential\nfor improved execution efficiency with YJIT.","shortMessageHtmlLink":"Add documentation and log information for enabling YJIT in LSP"}},{"before":null,"after":"ffe62084264cbec4f711e69dd61512164664cebf","ref":"refs/heads/add_doc_and_log_info_for_yjit_in_lsp","pushedAt":"2024-05-02T17:28:43.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Add documentation and log information for enabling YJIT in LSP\n\nThis PR adds documentation on enabling YJIT for LSP client to the LSP documentation.\nIt also includes an update to display whether YJIT is enabled or not during LSP startup.\n\nAlthough it has not been measured, due to its nature as a server, there is a potential\nfor improved execution efficiency with YJIT.","shortMessageHtmlLink":"Add documentation and log information for enabling YJIT in LSP"}},{"before":"f8afe3cf61d9e06e3a98134d4ac500eecf5c0e48","after":null,"ref":"refs/heads/fix_an_error_for_layout_first_array_element_indentation","pushedAt":"2024-04-30T16:38:37.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"}},{"before":"26c26a13e27567f96e77b635ae95af79343647a0","after":"f8afe3cf61d9e06e3a98134d4ac500eecf5c0e48","ref":"refs/heads/fix_an_error_for_layout_first_array_element_indentation","pushedAt":"2024-04-30T16:10:43.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Fix an infinite loop error for `Layout/FirstArgumentIndentation`\n\nFixes https://github.com/standardrb/standard/issues/517#issuecomment-2084274653.\n\nThis PR fixes an infinite loop error for `Layout/FirstArgumentIndentation`\nwhen specifying `EnforcedStyle: with_fixed_indentation` of `Layout/ArrayAlignment`.","shortMessageHtmlLink":"Fix an infinite loop error for Layout/FirstArgumentIndentation"}},{"before":null,"after":"26c26a13e27567f96e77b635ae95af79343647a0","ref":"refs/heads/fix_an_error_for_layout_first_array_element_indentation","pushedAt":"2024-04-30T07:45:06.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Fix an infinite loop error for `Layout/FirstArgumentIndentation`\n\nFixes https://github.com/standardrb/standard/issues/517#issuecomment-2084274653.\n\nThis PR fixes an infinite loop error for `Layout/FirstArgumentIndentation`\nwhen specifying `EnforcedStyle: with_fixed_indentation` of `Layout/ArrayAlignment`.","shortMessageHtmlLink":"Fix an infinite loop error for Layout/FirstArgumentIndentation"}},{"before":"eb26e9d28a5c70dab7a30832d49e16283f25216e","after":null,"ref":"refs/heads/fix_an_error_for_metrics_block_length","pushedAt":"2024-04-29T17:02:01.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"}},{"before":"3b4f25918f107ecf1adefa2b3eed8e5511b06802","after":"eb26e9d28a5c70dab7a30832d49e16283f25216e","ref":"refs/heads/fix_an_error_for_metrics_block_length","pushedAt":"2024-04-29T09:32:22.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"[Fix #12873] Fix an error for `Metrics/BlockLength`\n\nFixes #12873.\n\nThis PR fixes an error for `Metrics/BlockLength` when the `CountAsOne` config is invalid.\n\n## Before\n\nWithout the `-d` option, the cause is unclear:\n\n```console\n$ bundle exec rubocop --only Metrics/BlockLength\nInspecting 1 file\nAn error occurred while Metrics/BlockLength cop was inspecting /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2.\nTo see the complete backtrace run rubocop -d.\n.\n\n1 file inspected, no offenses detected\n\n1 error occurred:\nAn error occurred while Metrics/BlockLength cop was inspecting /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2.\nErrors are usually caused by RuboCop bugs.\nPlease, report your problems to RuboCop's issue tracker.\nhttps://github.com/rubocop/rubocop/issues\n\nMention the following information in the issue report:\n1.63.4 (using Parser 3.3.0.5, rubocop-ast 1.31.2, running on ruby 3.3.0) [x86_64-darwin22]\n```\n\nWhen the `-d` option is used, hint appears hidden within the backtrace:\n\n```console\n$ bundle exec rubocop --only Metrics/BlockLength -d\nFor /Users/koic/src/github.com/koic/rubocop-issues/12873: configuration from /Users/koic/src/github.com/koic/rubocop-issues/12873/.rubocop.yml\nDefault configuration from /Users/koic/src/github.com/rubocop/rubocop/config/default.yml\nAllCops/Exclude configuration from /Users/koic/src/github.com/koic/rubocop-issues/.rubocop.yml\nconfiguration from /Users/koic/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/rubocop-minitest-0.35.0/config/default.yml\nconfiguration from /Users/koic/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/rubocop-minitest-0.35.0/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-performance/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-performance/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-rails/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-rails/config/default.yml\nUse parallel by default.\nSkipping parallel inspection: only a single file needs inspection\nInspecting 1 file\nScanning /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb\nAn error occurred while Metrics/BlockLength cop was inspecting /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2.\nUnknown foldable type: :config. Valid foldable types are: array, hash, heredoc, send, csend.\n/Users/koic/src/github.com/rubocop/rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb:54:in `block in build_foldable_checks'\n```\n\n## After\n\nEven without the `-d` option, only the hint is displayed:\n\n```console\n$ bundle exec rubocop --only Metrics/BlockLength\nInspecting 1 file\nUnknown foldable type: :config. Valid foldable types are: array, hash, heredoc, send, csend.\n(from file: /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2)\n.\n\n1 file inspected, no offenses detected\n```\n\nThis behavior is the same as when the `Notice` config in `Style/Copyright` cop is not valid.\nThis clarifies what needs to be addressed first to achieve the expected behavior.","shortMessageHtmlLink":"[Fix rubocop#12873] Fix an error for Metrics/BlockLength"}},{"before":"9433e6ce3efbd86aa382c9dc906c239f36eb0e40","after":"3b4f25918f107ecf1adefa2b3eed8e5511b06802","ref":"refs/heads/fix_an_error_for_metrics_block_length","pushedAt":"2024-04-29T09:28:49.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"[Fix #12873] Fix an error for `Metrics/BlockLength`\n\nFix #12873.\n\nThis PR fixes an error for `Metrics/BlockLength` when the `CountAsOne` config is invalid.\n\n## Before\n\nWithout the `-d` option, the cause is unclear:\n\n```console\n$ bundle exec rubocop --only Metrics/BlockLength\nInspecting 1 file\nAn error occurred while Metrics/BlockLength cop was inspecting /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2.\nTo see the complete backtrace run rubocop -d.\n.\n\n1 file inspected, no offenses detected\n\n1 error occurred:\nAn error occurred while Metrics/BlockLength cop was inspecting /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2.\nErrors are usually caused by RuboCop bugs.\nPlease, report your problems to RuboCop's issue tracker.\nhttps://github.com/rubocop/rubocop/issues\n\nMention the following information in the issue report:\n1.63.4 (using Parser 3.3.0.5, rubocop-ast 1.31.2, running on ruby 3.3.0) [x86_64-darwin22]\n```\n\nWhen the `-d` option is used, hint appears hidden within the backtrace:\n\n```console\n$ bundle exec rubocop --only Metrics/BlockLength -d\nFor /Users/koic/src/github.com/koic/rubocop-issues/12873: configuration from /Users/koic/src/github.com/koic/rubocop-issues/12873/.rubocop.yml\nDefault configuration from /Users/koic/src/github.com/rubocop/rubocop/config/default.yml\nAllCops/Exclude configuration from /Users/koic/src/github.com/koic/rubocop-issues/.rubocop.yml\nconfiguration from /Users/koic/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/rubocop-minitest-0.35.0/config/default.yml\nconfiguration from /Users/koic/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/rubocop-minitest-0.35.0/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-performance/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-performance/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-rails/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-rails/config/default.yml\nUse parallel by default.\nSkipping parallel inspection: only a single file needs inspection\nInspecting 1 file\nScanning /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb\nAn error occurred while Metrics/BlockLength cop was inspecting /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2.\nUnknown foldable type: :config. Valid foldable types are: array, hash, heredoc, send, csend.\n/Users/koic/src/github.com/rubocop/rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb:54:in `block in build_foldable_checks'\n```\n\n## After\n\nEven without the `-d` option, only the hint is displayed:\n\n```console\n$ bundle exec rubocop --only Metrics/BlockLength\nInspecting 1 file\nUnknown foldable type: :config. Valid foldable types are: array, hash, heredoc, send, csend.\n(from file: /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2)\n.\n\n1 file inspected, no offenses detected\n```\n\nThis behavior is the same as when the `Notice` config in `Style/Copyright` cop is not valid.\nThis clarifies what needs to be addressed first to achieve the expected behavior.","shortMessageHtmlLink":"[Fix rubocop#12873] Fix an error for Metrics/BlockLength"}},{"before":null,"after":"9433e6ce3efbd86aa382c9dc906c239f36eb0e40","ref":"refs/heads/fix_an_error_for_metrics_block_length","pushedAt":"2024-04-29T09:28:06.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"[Fix #12873] Fix an error for `Metrics/BlockLength`\n\nFix #12873.\n\nThis PR fixes an error for `Metrics/BlockLength` when the `CountAsOne` config is invalid.\n\n## Before\n\nWithout the `-d` option, the cause is unclear:\n\n```console\n$ bundle exec rubocop --only Metrics/BlockLength\nInspecting 1 file\nAn error occurred while Metrics/BlockLength cop was inspecting /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2.\nTo see the complete backtrace run rubocop -d.\n.\n\n1 file inspected, no offenses detected\n\n1 error occurred:\nAn error occurred while Metrics/BlockLength cop was inspecting /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2.\nErrors are usually caused by RuboCop bugs.\nPlease, report your problems to RuboCop's issue tracker.\nhttps://github.com/rubocop/rubocop/issues\n\nMention the following information in the issue report:\n1.63.4 (using Parser 3.3.0.5, rubocop-ast 1.31.2, running on ruby 3.3.0) [x86_64-darwin22]\n```\n\nWhen the `-d` option is used, hint appears hidden within the backtrace:\n\n```console\n$ bundle exec rubocop --only Metrics/BlockLength -d\nFor /Users/koic/src/github.com/koic/rubocop-issues/12873: configuration from /Users/koic/src/github.com/koic/rubocop-issues/12873/.rubocop.yml\nDefault configuration from /Users/koic/src/github.com/rubocop/rubocop/config/default.yml\nAllCops/Exclude configuration from /Users/koic/src/github.com/koic/rubocop-issues/.rubocop.yml\nconfiguration from /Users/koic/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/rubocop-minitest-0.35.0/config/default.yml\nconfiguration from /Users/koic/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/rubocop-minitest-0.35.0/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-performance/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-performance/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-rails/config/default.yml\nconfiguration from /Users/koic/src/github.com/rubocop/rubocop-rails/config/default.yml\nUse parallel by default.\nSkipping parallel inspection: only a single file needs inspection\nInspecting 1 file\nScanning /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb\nAn error occurred while Metrics/BlockLength cop was inspecting /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2.\nUnknown foldable type: :config. Valid foldable types are: array, hash, heredoc, send, csend.\n/Users/koic/src/github.com/rubocop/rubocop/lib/rubocop/cop/metrics/utils/code_length_calculator.rb:54:in `block in build_foldable_checks'\n```\n\n## After\n\nEven without the `-d` option, only the hint is displayed:\n\n```console\n$ bundle exec rubocop --only Metrics/BlockLength\nInspecting 1 file\nUnknown foldable type: :config. Valid foldable types are: array, hash, heredoc, send, csend.\n(from file: /Users/koic/src/github.com/koic/rubocop-issues/12873/example.rb:2:2)\n.\n\n1 file inspected, no offenses detected\n```\n\nThis behavior is the same as when the `Notice` config in the `Style/Copyright` cop is not valid.\nThis clarifies what needs to be addressed first to achieve the expected behavior.","shortMessageHtmlLink":"[Fix rubocop#12873] Fix an error for Metrics/BlockLength"}},{"before":"2821564bdbaf1d4e08de802f05cf9b50a479cd53","after":null,"ref":"refs/heads/fix_false_positive_for_style_redundant_line_continuation","pushedAt":"2024-04-25T16:11:43.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"}},{"before":null,"after":"2821564bdbaf1d4e08de802f05cf9b50a479cd53","ref":"refs/heads/fix_false_positive_for_style_redundant_line_continuation","pushedAt":"2024-04-24T18:03:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"[Fix #12862] Fix a false positive for `Style/RedundantLineContinuation`\n\nFixes #12862.\n\nThis PR fixes a false positive for `Style/RedundantLineContinuation`\nwhen line continuations involve `return` with a return value.","shortMessageHtmlLink":"[Fix rubocop#12862] Fix a false positive for `Style/RedundantLineCont…"}},{"before":"5df65f18dd6f861579ec2f0aaf43de73abbd91e9","after":null,"ref":"refs/heads/tweak_error_message","pushedAt":"2024-04-23T04:53:19.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"}},{"before":null,"after":"5df65f18dd6f861579ec2f0aaf43de73abbd91e9","ref":"refs/heads/tweak_error_message","pushedAt":"2024-04-23T02:28:08.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Tweak the infinite loop error message\n\nThis PR tweaks the infinite loop error message.\n\nThe single-line, monochromatic error message will be separated into error and hint sections,\nwith each section color-coded to enhance visibility.","shortMessageHtmlLink":"Tweak the infinite loop error message"}},{"before":"47ae288af5504f5ef27ddbc6dc2aefeb67f8c236","after":null,"ref":"refs/heads/fix_an_incorrect_autocorrect_for_lint_unreachable_code","pushedAt":"2024-04-20T07:31:36.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"}},{"before":null,"after":"47ae288af5504f5ef27ddbc6dc2aefeb67f8c236","ref":"refs/heads/fix_an_incorrect_autocorrect_for_lint_unreachable_code","pushedAt":"2024-04-20T06:27:52.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Fix false negatives for `Lint/UnreachableCode`\n\nThis PR fixes false negatives for `Lint/UnreachableCode`\nwhen using pattern matching.","shortMessageHtmlLink":"Fix false negatives for Lint/UnreachableCode"}},{"before":"8b6c8a234677b0ba23f86050eddc891fdae7ddf3","after":null,"ref":"refs/heads/fix_error_for_rubocop_lockfile","pushedAt":"2024-04-19T11:26:43.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"}},{"before":"c819a2d203d760c69fab3bdbe9ee7f6ef17eb82a","after":null,"ref":"refs/heads/set_custom_program_name_for_the_builtin_lsp_server","pushedAt":"2024-04-19T06:35:15.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"}},{"before":"9a87b78111151037c66ffcf3c5e2bdf2361bf1a8","after":"c819a2d203d760c69fab3bdbe9ee7f6ef17eb82a","ref":"refs/heads/set_custom_program_name_for_the_builtin_lsp_server","pushedAt":"2024-04-19T05:16:01.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Set custom program name for the built-in LSP server\n\nThis PR sets custom program name for the built-in LSP server.\n\nBefore:\n\n```console\n$ ps aux | grep rubocop\nuser 17414 0.0 0.2 5557716 144376 ?? Ss 4:48PM 0:02.13 /Users/user/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/bin/rubocop --lsp\n```\n\nAfter:\n\n```console\n$ ps aux | grep 'rubocop'\nuser 17414 0.0 0.2 5557716 144376 ?? Ss 4:48PM 0:02.13 rubocop --lsp /Users/user/src/github.com/rubocop/rubocop\n```\n\nWhen searching for the LSP server process, it is helpful to display the path to the project root instead of the Ruby command path.\nThis approach is already being implemented in server mode:\nhttps://github.com/rubocop/rubocop/blob/v1.63.2/lib/rubocop/server/core.rb#L31","shortMessageHtmlLink":"Set custom program name for the built-in LSP server"}},{"before":"245b8cc89419f1c6ff4aaadce775dfdff054a0d8","after":null,"ref":"refs/heads/workaround_for_prism_0_26","pushedAt":"2024-04-19T05:15:31.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"}},{"before":null,"after":"245b8cc89419f1c6ff4aaadce775dfdff054a0d8","ref":"refs/heads/workaround_for_prism_0_26","pushedAt":"2024-04-19T04:56:35.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Workaround for incompatibilities between Prism 0.25.0 and 0.26.0\n\nThis is a workaround for incompatibilities between Prism 0.25.0 and 0.26.0.\nTo upgrade to Prism 0.26+, it is necessary to investigate the following build error and provide feedback to Prism:\nhttps://github.com/rubocop/rubocop/actions/runs/8748485587/job/24008584735?pr=12855\n\nI will proceed with these separately.","shortMessageHtmlLink":"Workaround for incompatibilities between Prism 0.25.0 and 0.26.0"}},{"before":null,"after":"9a87b78111151037c66ffcf3c5e2bdf2361bf1a8","ref":"refs/heads/set_custom_program_name_for_the_builtin_lsp_server","pushedAt":"2024-04-19T04:37:48.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"Set custom program name for the built-in LSP server\n\nThis PR sets custom program name for the built-in LSP server.\n\nBefore:\n\n```console\n$ ps aux | grep rubocop\nuser 17414 0.0 0.2 5557716 144376 ?? Ss 4:48PM 0:02.13 /Users/user/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/bin/rubocop --lsp\n```\n\nAfter:\n\n```console\n$ ps aux | grep 'rubocop'\nuser 17414 0.0 0.2 5557716 144376 ?? Ss 4:48PM 0:02.13 rubocop --lsp /Users/user/src/github.com/rubocop/rubocop\n```\n\nWhen searching for the LSP server process, it is helpful to display the path to the project root instead of the Ruby command path.\nThis approach is already being implemented in server mode:\nhttps://github.com/rubocop/rubocop/blob/v1.63.2/lib/rubocop/server/core.rb#L31","shortMessageHtmlLink":"Set custom program name for the built-in LSP server"}},{"before":"09071bc8b0b4d511077902b8eb1bec91a45b2bb1","after":"52a1e53107d8cee82cd7e2f97c589eb02cf18171","ref":"refs/heads/add_new_style_static_send_cop","pushedAt":"2024-04-16T16:54:07.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"koic","name":"Koichi ITO","path":"/koic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13203?s=80&v=4"},"commit":{"message":"[Fix #12842] Add new `Style/StaticSend` cop\n\nFixes #12842.\n\n## Summary\n\nDetects the use of the `public_send` method with a static method name argument.\nSince the `send` method can be used to call private methods, by default,\nonly the `public_send` method is detected.\n\n```ruby\n# bad\nobj.public_send(:static_name)\nobj.public_send('static_name')\n\n# good\nobj.static_name\n```\n\n## Safety\n\nThis cop is not safe because it can incorrectly detect based on the receiver.\nAdditionally, when `AllowSend` is set to `true`, it cannot determine whether\nthe `send` method being detected is calling a private method.\n\n## `AllowSend` option\n\nThis cop has `AllowSend` option.\n\n### AllowSend: true (default)\n\n```ruby\n# good\nobj.send(:static_name)\nobj.send('static_name')\nobj.__send__(:static_name)\nobj.__send__('static_name')\n```\n\n### AllowSend: false\n\n```ruby\n# bad\nobj.send(:static_name)\nobj.send('static_name')\nobj.__send__(:static_name)\nobj.__send__('static_name')\n\n# good\nobj.static_name\n```","shortMessageHtmlLink":"[Fix rubocop#12842] Add new Style/StaticSend cop"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAERNGQ4QA","startCursor":null,"endCursor":null}},"title":"Activity · koic/rubocop"}