Update RuboCop packages#157
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #157 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 150 150
=========================================
Hits 150 150 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ff8d860 to
b33efe8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
'~> 1.86.0'→'~> 1.87.0''~> 3.9.0'→'~> 3.10.0'Release Notes
rubocop/rubocop (rubocop)
v1.87.0Compare Source
New features
--enable-all-copsand--disable-all-copscommand line options that overrideAllCops/EnabledByDefaultandAllCops/DisabledByDefaultin configuration files. ([@koic][])Layout/EmptyLineAfterGuardClauseaccept the new# simplecov:disableand# simplecov:enabledirective comments. ([@koic][])AllCops/UseProjectIndexto enable cross-file detection inLint/ConstantReassignment(experimental). ([@koic][])Bug fixes
Lint/ParenthesesAsGroupedExpressionwhen the first argument is a call-like expression with its own parentheses, such asyield(...). ([@koic][])Style/YodaConditionwhen one side is an array or hash literal containing non-literal elements. ([@koic][])Style/Aliascausing a syntax error when the return value ofalias_methodis used, such as an argument topublic,private,protected, ormodule_function, or the right-hand side of an assignment. ([@koic][])Style/ClassAndModuleChildrencausing a syntax error when the namespace contains a method call (e.g.,class self.class::Foo; end). ([@koic][])Style/FileWritecausing a syntax error when the written heredoc is chained with another method call. ([@koic][])Style/HashConversioncausing a syntax error whenHash[...]is passed an anonymous splat (*). ([@koic][])Style/StructInheritancecausing a syntax error when the inheritedStruct.newis called without parentheses. ([@koic][])Layout/RedundantLineBreakwhen a single-line block is chained with a safe navigation method call. ([@koic][])Layout/IndentationWidthto indent block bodies relative to the method selector for trailing-dot multi-line method chains whenEnforcedStyleAlignWithisrelative_to_receiver. ([@ddbrendan][])Style/RedundantParenthesesthat swallowed chained method calls into a trailing inline comment on the line above the closing parenthesis. ([@hammadxcm][])Changes
FilePatterns#match?results per path so cops sharing the sameInclude/Excludeconfiguration do not each repeatFile.fnmatch?work on every file. ([@Darhazer][])rubocop/rubocop-rspec (rubocop-rspec)
v3.10.1Compare Source
Strictoption toRSpec/SharedContextto flagshared_contextwhenever it contains examples, even alongside setup code. ([@Darhazer])NegatedMatcherconfiguration optionRSpec/ExpectChange. ([@Darhazer])RSpec/MatchWithSimpleRegexto ignore regular expressions with interpolations. ([@bquorning])v3.10.0Compare Source
RSpec/MatchWithSimpleRegexto suggestincludematcher whenmatchis used with simple string literals without regex-specific features. ([@bquorning])RSpec/DiscardedMatcherto detect matchers in void context (e.g. missing.andbetween compound matchers). ([@ydakuka])itblocknodes. ([@Darhazer])RSpec/ScatteredLetnow preserves the order oflets during auto-correction. ([@Darhazer])RSpec/EmptyLineAfterFinalLetinsideshared_examples/include_examples/it_behaves_likeblocks. ([@Darhazer])RSpec/ContainExactlywhencontain_exactlyhas multiple splat arguments. ([@ydah])RSpec/SubjectDeclaration. ([@eugeneius])RSpec/SpecFilePathFormatwhen the expected class path only partially matches a path segment. ([@ydah])RSpec/ExpectActualwhen the matcher takes no arguments (e.g.expect("foo").to be_present,expect(1).to be). ([@cvx])Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.