{"full_name":"rubocop/rubocop","owner":"rubocop","name":"rubocop","shard":"1","url":"https://github.com/rubocop/rubocop","description":"A Ruby static code analyzer and formatter, based on the community Ruby style guide.","homepage":"https://rubocop.org","topics":["ruby","rubocop","linter","static-code-analysis","code-formatter","hacktoberfest"],"tag_pages":["hacktoberfest","linter","ruby","static-code-analysis"],"language":"Ruby","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/10871348?v=4","created_at":"2012-04-21T10:09:58Z","pushed_at":"2026-11-15T16:53:47Z","metrics":{"stars":12926,"forks":3166,"watchers":168,"issues":6384,"prs":9723,"releases":294,"issues_open":93,"issues_closed":6291,"prs_open":81,"prs_closed":877,"prs_merged":8765,"discussions":110},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"},"week":{"stars":10,"forks":3,"base_day":"2026-11-04"},"month":{"stars":12,"forks":16,"base_day":"2026-10-17"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[12894,12893,12896,12895,12897,12897,12898,12901,12901,12901,12902,12903,12903,12903,12904,12905,12905,12905,12904,12904,12908,12908,12909,12909,12909,12910,12912,12912,12911,12911,12910,12910,12910,12911,12912,12912,12912,12912,12913,12913,12913,12914,12914,12914,12914,12914,12913,12914,12915,12916,12918,12919,12918,12918,12919,12918,12919,12918,12918,12916,12926,12928,12928,12928,12926,12926],"forks":[3135,3136,3138,3138,3137,3138,3138,3139,3139,3139,3139,3138,3138,3139,3138,3141,3141,3142,3143,3143,3143,3145,3145,3146,3147,3146,3147,3148,3147,3147,3148,3148,3148,3148,3148,3149,3148,3149,3149,3149,3151,3150,3150,3150,3151,3152,3151,3152,3153,3154,3155,3156,3156,3155,3158,3159,3160,3160,3162,3163,3166,3166,3166,3166,3166,3166],"watchers":[169,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,171,171,171,171,171,171,171,171,171,171,171,171,172,172,172,172,172,171,171,171,171,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,168,168],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,93,93,93,93,93,93],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,79,77,83,79,80,81]},"boards":{},"same_owner":[{"full_name":"rubocop/ruby-style-guide","name":"ruby-style-guide","shard":"1","boards":{}}],"issues":[{"number":8748,"title":"Prefer `require_relative`","comments":42,"created_at":"2020-09-19T16:46:29Z"},{"number":5866,"title":"Should Lint/ShadowingOuterLocalVariable ignore when assigning with #tap?","comments":23,"created_at":"2018-05-09T03:44:46Z"},{"number":10515,"title":"JSON Schema for Rubocop Config","comments":21,"created_at":"2022-04-08T22:59:23Z"},{"number":7927,"title":"Max Offenses option","comments":19,"created_at":"2020-05-03T18:45:02Z"},{"number":10204,"title":"Introduce cop to warn against usage of `$!` and `$@`.","comments":17,"created_at":"2021-10-21T11:14:20Z"},{"number":10080,"title":"`Lint/AmbiguousOperatorPrecedence` configuration","comments":16,"created_at":"2021-09-14T14:37:08Z"},{"number":6805,"title":"Nightly regression test","comments":16,"created_at":"2019-03-03T17:51:53Z"},{"number":6493,"title":"FirstMethodArgumentLineBreak plays poorly with arrays and hashes","comments":15,"created_at":"2018-11-17T11:44:51Z"}],"discussions":[{"number":15494,"title":"Settling on a MultilineMethodCallIndentation / MultilineBlockChain style","comments":3,"category":"Q&A","created_at":"2026-07-17T10:42:34Z"},{"number":15157,"title":"What should happen with `Style/FrozenStringLiteralComment` when Ruby enables the behaviour by default","comments":1,"category":"General","created_at":"2026-05-08T22:05:19Z"},{"number":15128,"title":"Poll: New function in Array class","comments":2,"category":"Ideas","created_at":"2026-04-25T12:50:23Z"},{"number":15105,"title":"Flow change inside conditions","comments":1,"category":"Ideas","created_at":"2026-04-13T06:26:33Z"},{"number":15033,"title":"Ruby-specific question: Inverse case-when syntax","comments":1,"category":"Ideas","created_at":"2026-03-18T10:27:16Z"},{"number":14991,"title":"Layout/MultilineMethodCallIndentation","comments":3,"category":"Q&A","created_at":"2026-03-05T08:39:56Z"},{"number":14913,"title":"Proposal: Enable new cops on a quarterly cadence starting with RuboCop 2.0","comments":4,"category":"General","created_at":"2026-02-18T01:33:55Z"},{"number":14910,"title":"RuboCop's place in an AI/agentic future","comments":4,"category":"General","created_at":"2026-02-17T03:29:45Z"}],"latest_release":{"name":"RuboCop v1.92.2","tag":"v1.92.2","published_at":"2026-10-29T09:50:01Z","body":"### Bug fixes\n\n* [#16147](https://github.com/rubocop/rubocop/pull/16147): Fix a false negative for `Lint/RedundantCopDisableDirective` when autocorrection shifts lines. ([@koic][])\n* [#16104](https://github.com/rubocop/rubocop/pull/16104): Fix a false negative for `Style/FloatDivision` with a trailing comment. ([@a-lavis][])\n* [#16146](https://github.com/rubocop/rubocop/pull/16146): Fix a false positive for `Lint/RedundantCopDisableDirective` with a repeated disable. ([@koic][])\n* [#16176](https://github.com/rubocop/rubocop/pull/16176): Fix a false positive for `Style/RaiseArgs` with `EnforcedStyle: compact` and constructor arguments. ([@bbatsov][])\n* [#16183](https://github.com/rubocop/rubocop/pull/16183): Fix an error for `Layout/RescueEnsureAlignment` with index or-assignment. ([@koic][])\n* [#16158](https://github.com/rubocop/rubocop/pull/16158): Fix an error for `Style/NumericPredicate` with a predicate nested in the receiver of another. ([@Starlexxx][])\n* [#16125](https://github.com/rubocop/rubocop/pull/16125): Fix an error for `Style/RedundantCondition` with a nested modifier `if`. ([@koic][])\n* [#16175](https://github.com/rubocop/rubocop/pull/16175): Fix an incorrect autocorrect for `Layout/HashAlignment` with multiple styles and pairs on one line. ([@bbatsov][])\n* [#16139](https://github.com/rubocop/rubocop/pull/16139): Fix an incorrect autocorrect for `Layout/LineLength` with code after a heredoc opener. ([@koic][])\n* [#16160](https://github.com/rubocop/rubocop/pull/16160): Fix an incorrect autocorrect for `Layout/SingleLineBlockChain` with `Style/MapToSet`. ([@koic][])\n* [#16002](https://github.com/rubocop/rubocop/pull/16002): Fix an incorrect autocorrect for `Layout/SpaceBeforeBlockBraces` with a brace after a line continuation. ([@Starlexxx][])\n* [#16175](https://github.com/rubocop/rubocop/pull/16175): Fix an incorrect autocorrect for `Layout/SpaceBeforeBlockBraces` with a brace after a heredoc body. ([@bbatsov][])\n* [#16180](https://github.com/rubocop/rubocop/pull/16180): Fix an incorrect autocorrect for `Lint/InterpolationCheck` in a split string. ([@Starlexxx][])\n* [#16143](https://github.com/rubocop/rubocop/pull/16143): Fix an incorrect autocorrect for `Lint/ParenthesesAsGroupedExpression` with a command call operand. ([@koic][])\n* [#16170](https://github.com/rubocop/rubocop/pull/16170): Fix an incorrect autocorrect for `Lint/RedundantSplatExpansion` with `Array.new` as a method argument. ([@wleeaf][])\n* [#16178](https://github.com/rubocop/rubocop/pull/16178): Fix an incorrect autocorrect for `Style/AndOr` with a binary operator method operand. ([@bbatsov][])\n* [#16150](https://github.com/rubocop/rubocop/pull/16150): Fix an incorrect autocorrect for `Style/AndOr` with a command call that takes a `do` block. ([@Starlexxx][])\n* [#16178](https://github.com/rubocop/rubocop/pull/16178): Fix an incorrect autocorrect for `Style/AndOr` with a method chained onto a command call's do block. ([@bbatsov][])\n* [#16178](https://github.com/rubocop/rubocop/pull/16178): Fix an incorrect autocorrect for `Style/AndOr` with a negated command call that takes a do block. ([@bbatsov][])\n* [#16178](https://github.com/rubocop/rubocop/pull/16178): Fix an incorrect autocorrect for `Style/AndOr` with a pattern matching, ternary, range or `defined?` operand. ([@bbatsov][])\n* [#16178](https://github.com/rubocop/rubocop/pull/16178): Fix an incorrect autocorrect for `Style/AndOr` with `super` called with arguments. ([@bbatsov][])\n* [#16171](https://github.com/rubocop/rubocop/pull/16171): Fix an incorrect autocorrect for `Style/CaseEquality` with a non-numeric range. ([@wleeaf][])\n* [#16127](https://github.com/rubocop/rubocop/pull/16127): Fix an incorrect autocorrect for `Style/ClassAndModuleChildren` with `Style/DataInheritance`. ([@koic][])\n* [#16154](https://github.com/rubocop/rubocop/pull/16154): Fix an incorrect autocorrect for `Style/EndlessMethod` with modifier cops. ([@koic][])\n* [#16167](https://github.com/rubocop/rubocop/pull/16167):","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}