CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 19:47:46 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"ffd597725a749339743a11455fb9d515"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=4%2FBkLjksFtu%2Bzm7E0VZrsZzJe3krY5s5ae9zFNC8HnyBrDMsgSaPBzFphMS1JDmIl7MFte8t%2BMxUl4t%2B75rrgKE%2BRaHxQYiqgJDmmv7ZbFJgwN9xba2VoBVujgyK%2F8hSJLUDWjbysqN%2BrNs3o%2BiDUv7f3M82mtOOiByHTyiN062zhc0jdDxIadwtUm0DPYb2izNvYcaMvkHK7hn3LjlISWG%2FBpy42hBzQQ6tPBNAJXpprMfIY6FXl3rGUsaf7mV93POpHrLVYlDbK5xIFEa7iQ%3D%3D--2lA4EPbIIja0bjq%2B--uqFpK8SOhxbh%2FGKtB4bX%2FA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1580183621.1752868066; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 19:47:46 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 19:47:46 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D31A:29B498:11C549:169C6D:687AA4E2
Releases Β· rubocop/rubocop Β· GitHub
08 Jul 07:20
Loading
20 Jun 06:55
Loading
17 Jun 09:09
Loading
09 Jun 07:15
Loading
04 Jun 06:12
Loading
28 May 14:11
Loading
21 May 15:29
Loading
15 May 09:34
Loading
05 May 04:49
Loading
28 Apr 14:46
Loading
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Releases: rubocop/rubocop
Releases Β· rubocop/rubocop
RuboCop v1.78.0
Compare
New features
- #14331: Enhance
Naming/MethodName
cop to detect offenses withindefine_method
calls. (@viralpraxis) - #14325: Enhance
Naming/MethodName
cop to handle offenses withinStruct
members. (@viralpraxis) - #14335: Enhance
Security/Eval
cop to detectKernel.eval
calls. (@viralpraxis)
Bug fixes
- #14343: Fix autocorrect code for
Style/HashConversion
to avoid syntax error. (@koic) - #14346: Avoid requiring parentheses for
Style/SingleLineMethods
. (@koic) - #14339: Fix bug where specifying
--format
disables parallelization. (@r7kamura) - #14300: Fix false positives for
Lint/DuplicateMethods
cop when self-alias trick is used. (@viralpraxis) - #14329: Fix false positives for
Lint/LiteralAsCondition
when a literal is used inside||
incase
condition. (@koic) - #14326: Fix additional autocorrection errors in
Style/HashConversion
for nestedHash[]
calls. (@dvandersluis) - #14031: Honor --config options on server mode. (@steiley)
- #14319: Fix the following incorrect autocorrect for
Lint/RedundantTypeConversion
when using parentheses with no arguments or any arguments. (@koic) - #14336: Fix incorrect autocorrect for
Style/ItBlockParameter
when using a single numbered parameter after multiple numbered parameters in a method chain. (@koic) - #11782: Move pending cops warning out of ConfigLoader. (@nobuyo)
Changes
- #14318: Add
WaywardPredicates
config toNaming/PredicateMethod
to handle methods that look like predicates but aren't. (@dvandersluis)
Assets 2
1 person reacted
RuboCop v1.77.0
Compare
New features
- #14223: Add new
Gemspec/AttributeAssignment
cop. (@viralpraxis) - #14128: Allow long fully-qualified namespace strings to exceed max length. (@niranjan-patil)
- #14288: Add new cop
Style/CollectionQuerying
. (@lovro-bikic) - #14165: Add new
DefaultToNil
option toStyle/FetchEnvVar
cop. (@Yuhi-Sato) - #14314: Enhance
Gemspec/RequireMFA
cop autocorrect to insert MFA directive after lastmetadata
assignment. (@viralpraxis) - #14159: Enhance
Layout/SpaceInsideArrayLiteralBrackets
cop to analyze nested constant patterns. (@viralpraxis)
Bug fixes
- #14306: Fix an error for
Style/HashConversion
when using nestedHash[]
. (@koic) - #14298: Fix an error for
Style/SoleNestedConditional
when autocorrecting nested if/unless/if. (@ssagara00) - #14313: Fix a false positive for
Layout/SpaceBeforeBrackets
when call desugaredHash#[]
to lvar receiver with a space around the dot. (@koic) - #14292: Fix false positives for
Style/RedundantParentheses
when assigning a parenthesized one-linein
pattern matching. (@koic) - #14296: Fix false positives for
Style/RedundantSelf
when receiver and lvalue have the same name in or-assignment. (@koic) - #14303: Fix
Lint/SelfAssignment
to allow inline RBS comments. (@Morriar) - #14307: Fix
Style/MethodCallWithArgsParentheses
false positive on forwarded keyword argument with additional arguments. (@viralpraxis) - #14301: Fix autocorrection syntax error for multiline expressions in
Style/RedundantParentheses
. (@lovro-bikic)
Changes
- #14295: Update
Naming/PredicateMethod
to consider negation (!
/not
) as boolean values. (@dvandersluis) - #14255: Update
Naming/PredicateMethod
to treat returned predicate method calls as boolean values. (@dvandersluis)
Assets 2
4 people reacted
RuboCop v1.76.2
Compare
Bug fixes
- #14273: Fix an error for
Lint/EmptyInterpolation
when using a boolean literal inside interpolation. (@koic) - #14260: Fix an error for
Lint/UselessDefaultValueArgument
whenfetch
call without a receiver. (@koic) - #14267: Fix an error for
Style/ConditionalAssignment
cop when using one-line branches. (@viralpraxis) - #14275: Fix false positives for
Style/RedundantParentheses
when using parenthesized one-line pattern matching in endless method definition. (@koic) - #14269: Fix false positives for
Style/RedundantSelf
when local variable assignment name is used in nestedif
. (@koic) - #14286: Fix incorrect autocorrect for
Lint/SafeNavigationChain
when a safe navigation is used on the left-hand side of a-
operator when inside an array. (@koic)
Changes
- #14232: Add
AllowedPatterns
andAllowBangMethods
configuration toNaming/PredicateMethod
. (@dvandersluis) - #14268: Register operator expression range boundaries as offenses in
Lint/AmbiguousRange
. (@lovro-bikic) - #14264: Offend access modifiers used on top-level in
Lint/UselessAccessModifier
. (@lovro-bikic) - #14278: Register conditions wrapped in parentheses as offenses in
Style/MinMaxComparison
. (@lovro-bikic)
Assets 2
2 people reacted
RuboCop v1.76.1
Compare
Bug fixes
- #14245: Fix an error for
Lint/EmptyInterpolation
when using primitives in interpolation. (@ka8725) - #14233: Fix an error for
Style/SafeNavigation
when using ternary expression with index access call. (@koic) - #14236: Fix an error for
Style/SafeNavigation
when using ternary expression with operator method call. (@koic) - #14249: Fix false positives for
Style/RedundantArrayFlatten
whenArray#join
is used with an argument other than the defaultnil
. (@koic) - #14239: Fix false positives for
Style/RedundantParentheses
when using one-linein
pattern matching in operator. (@koic) - #14240: Fix
Naming/PredicateMethod
cop error on empty parentheses method body. (@viralpraxis) - #14235: Fix
Style/SafeNavigation
cop error on indexed assignment in ternary expression. (@viralpraxis) - #14247: Fix
Style/SafeNavigation
invalid autocorrection on double colon method call. (@viralpraxis)
Assets 2
5 people reacted
RuboCop v1.76.0
Compare
New features
- #12360: Add new
Naming/PredicateMethod
cop to check that predicate methods end with?
and non-predicate methods do not. (@dvandersluis) - #13121: Add new
Style/EmptyStringInsideInterpolation
cop. (@zopolis4) - #14091: Add new cop
Style/RedundantArrayFlatten
. (@lovro-bikic) - #14184: Add new cop
Lint/UselessOr
. (@lovro-bikic) - #14221: Enhance
Gemspec
department cops to detect offenses if specification variable isit
or a numbered parameter. (@viralpraxis) - #14166: Add new cop
Lint/UselessDefaultValueArgument
. (@lovro-bikic)
Bug fixes
- #14228: Fix a false positive for
Style/RedundantParentheses
when using a one-linerescue
expression as a method argument. (@koic) - #14224: Fix false negatives for
Style/RedundantParentheses
when using one-line pattern matching. (@koic) - #14205: False negatives in
Style/SafeNavigation
when a ternary expression is used in a method argument. (@steiley) - #14226: Fix
Lint/LiteralAsCondition
autocorrect when branches of a condition have comments. (@zopolis4)
Changes
- #14066: Add
EnforcedStyle: allow_single_line
as the default toStyle/ItBlockParameter
. (@koic) - #13788: Disable
Lint/ShadowingOuterLocalVariable
by default. (@nekketsuuu) - #14215: Recognize inequation (
!=
) inLint/IdentityComparison
. (@lovro-bikic)
Assets 2
3 people reacted
RuboCop v1.75.8
Compare
Bug fixes
- #14191: Fix
Lint/FloatComparison
cop to detect floating-point number comparisons incase
statements. (@daisuke) - #14209: Fix an error for
Style/RedundantFormat
with invalid format arguments. (@earlopain) - #14200: Fix false positives for
Style/DefWithParentheses
when using endless method definition with empty parentheses and a space before=
. (@koic) - #14197: Fix infinite loop error for
EnforcedStyle: with_fixed_indentation
ofLayout/ArgumentAlignment
andEnforcedStyle: consistent
ofLayout/FirstArgumentIndentation
andLayout/HashAlignment
. (@koic) - #14204: Fix
Layout/EmptyLinesAroundAccessModifier
cop error on trailing access modifier. (@viralpraxis) - #14198: Fix
Lint/DuplicateMethods
cop error onto
option is dynamically generated andprefix
is enabled. (@viralpraxis) - #14199: Fix wrong autocorrection for
Style/MapToHash
with destructuring argument. (@lovro-bikic) - #14050: Modify condition for
rubocop:todo
EOL comment. (@jonas054)
Assets 2
4 people reacted
RuboCop v1.75.7
Compare
Bug fixes
- #14185: Fix an error for
Style/IfUnlessModifierOfIfUnless
when using nested modifier. (@koic) - #14192: Fix negatives for
Layout/SpaceBeforeBrackets
when using space between method argument parentheses and left bracket. (@koic) - #14189: Fix incorrect autocorrect for
Layout/SpaceBeforeBrackets
when using space between receiver and left brackets, and a space inside left bracket. (@koic) - #14170: Fix
Style/AccessModifierDeclarations
cop error on semicolon after modifier. (@viralpraxis) - #14195: Fix
Style/AccessModifierDeclarations
cop error on symbol modifier without surrounding scope. (@viralpraxis) - #14172: Fix
Style/AccessModifierDeclarations
cop false positives when there are no method definitions and style isinline
. (@viralpraxis) - #14193: Fix
Lint/UselessAssignment
cop error when using nested assignment with splat. (@earlopain)
Changes
- #14188: Enhance
Gemspec/DuplicatedAssignment
cop to detect duplicated indexed assignment. (@viralpraxis) - #14183: Recognize
prefix
argument fordelegate
method inLint/DuplicateMethods
. (@lovro-bikic)
Assets 2
1 person reacted
RuboCop v1.75.6
Compare
Bug fixes
- #14176: Fix an error for
Style/MultilineIfModifier
when using nested modifier. (@koic) - #14077: Change
nil
representation in todo file comments. (@jonas054) - #14164: Fix an error for
Lint/UselessAssignment
when variables are assigned using unary operator in chained assignment and remain unreferenced. (@koic) - #14173: Fix an error for
Style/StringConcatenation
when using implicit concatenation with string interpolation. (@koic) - #14177: Fix false positives for
Style/SoleNestedConditional
when using nestedif
andnot
in condition. (@koic) - #14152: Fix
Layout/SpaceInsideArrayLiteralBrackets
cop error on array pattern without brackets. (@viralpraxis) - #14153: Fix
Style/PercentQLiterals
cop error on Unicode escape sequence. (@viralpraxis)
Changes
- #14082: Mark
Style/ComparableBetween
as unsafe. (@earlopain) - #14181: Make
Lint/DuplicateMethods
aware of Active Support'sdelegate
method. (@lovro-bikic) - #14156: Make
Style/IfUnlessModifier
allow endless method definition in theif
body. (@koic)
Assets 2
8 people reacted
RuboCop v1.75.5
Compare
Bug fixes
- #14148: Fix an infinite loop error for
Layout/SpaceAfterSemicolon
withLayout/SpaceBeforeSemicolon
when a sequence of semicolons appears. (@koic) - #14145: Fix
Lint/ArrayLiteralInRegexp
cop error on empty interpolation. (@viralpraxis) - #14072: Fix autocorrect issue in
Layout/HashAlignment
. (@jonas054) - #14131: Fix false positives for
Style/ArgumentsForwarding
when using anonymous block argument forwarding to a method with a block. (@koic) - #14140: Fix
Layout/LeadingCommentSpace
to allow splitting long inline RBS comment signatures across multiple lines. (@Morriar) - #14147: Fix
Lint/LiteralAsCondition
cop error onif
without body. (@viralpraxis) - #14151: Fix
Lint/Void
cop error on nested emptybegin
. (@viralpraxis) - #13547: Fix
Style/IdenticalConditionalBranches
cop failure in case ofif
node with implicitthen
. (@viralpraxis) - #14146: Fix
Style/MethodCallWithArgsParentheses
cop error on complex numbers whenEnforcedStyle
is set toomit_parentheses
. (@viralpraxis) - #14137: Fix
Style/TrailingCommaInArguments
cop error ifEnforcedStyleForMultiline
is set tocomma
. (@viralpraxis)
Changes
Assets 2
2 people reacted
RuboCop v1.75.4
Compare
Bug fixes
- #14123: Fix an infinite loop error for
Lint/BooleanSymbol
when using the rocket hash syntax with a boolean symbol key. (@koic) - #14134: Fix an error for
Style/ComparableBetween
when comparing the value with itself. (@earlopain) - #14111: Fix an error for
Style/SafeNavigation
when the RHS of&&
is a complex||
expression composed of&&
conditions. (@koic) - #14129: Fix false positives for
Style/ArgumentsForwarding
when using default positional arg, keyword arg, and block arg in Ruby 3.1. (@koic) - #14110: Fix false positives for
Style/RedundantParentheses
when parens around basic conditional as the second argument of a parenthesized method call. (@koic) - #14120: Fix false positives for
Style/RedundantParentheses
when parens around unparenthesized method call as the second argument of a parenthesized method call. (@koic) - #14133: Fix
Lint/LiteralAsCondition
autocorrect when a literal is the condition of an elsif followed by an else. (@zopolis4) - #14116: Make
Style/TrailingCommaInArguments
cop aware of trailing commas in[]
method call. (@viralpraxis) - #14114: Fix
Style/ClassAndModuleChildren
cop error on tab-intended compactable modules. (@viralpraxis)
Changes
- #13611: Enable
Lint/CircularArgumentReference
on Ruby 3.4. (@earlopain)
Assets 2
5 people reacted
Previous Next
You canβt perform that action at this time.