#8925: Add --display-time option for displaying elapsed time of rubocop command. (@joshuapinter)
#8967: Add new Style/NegatedIfElseCondition cop. (@fatkodima)
#8984: Support auto-correction for Style/DoubleNegation. (@koic)
#8992: Support auto-correction for Lint/ElseLayout. (@koic)
#8988: Support auto-correction for Lint/UselessSetterCall. (@koic)
#8982: Support auto-correction for Naming/BinaryOperatorParameterName. (@koic)
Bug fixes
#8989: Fix multibyte support in the regexp node handler that led Style/RedundantRegexpEscape to malfunction and corrupt a program in auto-correction. (@knu)
#8912: Fix Layout/ElseAlignment for rescue/else/ensure inside do/end blocks with assignment. (@miry)
#8971: Fix a false alarm for # rubocop:disable Lint/EmptyBlock inline comment with Lint/RedundantCopDisableDirective. (@koic)
#8976: Fix an incorrect auto-correct for Style/KeywordParametersOrder when when kwoptarg is before kwarg and argument parentheses omitted. (@koic)
#8084: Fix a bug in how Layout/SpaceAroundBlockParameters handles block parameters with a trailing comma. (@bquorning)
#8966: Fix Layout/SpaceInsideParens to enforce no spaces in empty parens for all styles. (@joshuapinter)
Changes
#5717: Support defined?-based memoization for Naming/MemoizedInstanceVariableName cop. (@fatkodima)
#8964: Extend Naming/VariableNumber cop to handle method names and symbols. (@fatkodima)
#8983: Support auto-correction for Naming/HeredocDelimiterCase. ([@koic][])
#8004: Add new GitHubActionsFormatter formatter. ([@lautis][])
#8175: Add new AllowedCompactTypes option for Style/RaiseArgs. ([@pdobb][])
#8566: Add new Style/CollectionCompact cop. ([@fatkodima][])
#8925: Add --display-time option for displaying elapsed time of rubocop command. ([@joshuapinter][])
#8967: Add new Style/NegatedIfElseCondition cop. ([@fatkodima][])
#8984: Support auto-correction for Style/DoubleNegation. ([@koic][])
#8992: Support auto-correction for Lint/ElseLayout. ([@koic][])
#8988: Support auto-correction for Lint/UselessSetterCall. ([@koic][])
#8982: Support auto-correction for Naming/BinaryOperatorParameterName. ([@koic][])
Bug fixes
#8989: Fix multibyte support in the regexp node handler that led Style/RedundantRegexpEscape to malfunction and corrupt a program in auto-correction. ([@knu][])
#8912: Fix Layout/ElseAlignment for rescue/else/ensure inside do/end blocks with assignment. ([@miry][])
#8971: Fix a false alarm for # rubocop:disable Lint/EmptyBlock inline comment with Lint/RedundantCopDisableDirective. ([@koic][])
#8976: Fix an incorrect auto-correct for Style/KeywordParametersOrder when when kwoptarg is before kwarg and argument parentheses omitted. ([@koic][])
#8084: Fix a bug in how Layout/SpaceAroundBlockParameters handles block parameters with a trailing comma. ([@bquorning][])
#8966: Fix Layout/SpaceInsideParens to enforce no spaces in empty parens for all styles. ([@joshuapinter][])
Changes
#5717: Support defined?-based memoization for Naming/MemoizedInstanceVariableName cop. ([@fatkodima][])
#8964: Extend Naming/VariableNumber cop to handle method names and symbols. ([@fatkodima][])
1.1.0 (2020-10-29)
New features
#8896: Add new Lint/DuplicateRegexpCharacterClassElement cop. ([@owst][])
#8921: Prevent Lint/LiteralInInterpolation from removing necessary interpolation in %W[] and %I[] literals. ([@knu][])
#8708: Fix bad regexp recognition in Lint/OutOfRangeRegexpRef when there are multiple regexps. ([@dvandersluis][])
#8945: Fix changelog task to build a correct changelog item when Fix [#123](https://github.com/rubocop-hq/rubocop/issues/123) is encountered. ([@dvandersluis][])
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
0340a51
Cut 1.2.0ea78840
Update Changelogde893b4
Support auto-correction forLint/ElseLayout
e46eeb6
Add AllowedCompactTypes option for Style/RaiseArgs6e47673
Fix trailing commas in SpaceAroundBlockParameters9016ac8
Supportdefined?
-based memoization for `Naming/MemoizedInstanceVariableName...7de9f00
Add newStyle/CollectionCompact
cop50c0607
Merge pull request #8991 from fatkodima/fix-incompat-for-configurable_formatting76d8e36
Fix introduced incompatibility for ConfigurableFormatting#messageb8f59b6
Fix multibyte support in the regexp node handlerDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)