mipearson / webpack-rails

Integrate webpack with your Ruby on Rails application
MIT License
544 stars 82 forks source link

Bump rubocop from 0.33.0 to 0.50.0 #94

Open dependabot[bot] opened 4 years ago

dependabot[bot] commented 4 years ago

Bumps rubocop from 0.33.0 to 0.50.0.

Release notes *Sourced from [rubocop's releases](https://github.com/rubocop-hq/rubocop/releases).* > ## RuboCop 0.50 > ### New features > > * [#4464](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4464): Add `EnforcedStyleForEmptyBraces` parameter to `Layout/SpaceBeforeBlockBraces` cop. ([@​palkan][]) > * [#4453](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4453): New cop `Style/RedundantConditional` checks for conditionals that return true/false. ([@​petehamilton][]) > * [#4448](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4448): Add new `TapFormatter`. ([@​cyberdelia][]) > * Add new `Style/HeredocDelimiters` cop. ([@​drenmi][]) > * [#4153](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4153): New cop `Lint/ReturnInVoidContext` checks for the use of a return with a value in a context where it will be ignored. ([@​harold-s][]) > * Add auto-correct support to `Lint/ScriptPermission`. ([@​rrosenblum][]) > * [#4514](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4514): Add configuration options to `Style/YodaCondition` to support checking all comparison operators or equality operators only. ([@​smakagon][]) > * Add new `Lint/BooleanSymbol` cop. ([@​droptheplot][]) > * Make `Rails/PluralizationGrammar` use singular methods for `-1` / `-1.0`. ([@​promisedlandt][]) > * [#4541](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4541): Add new `Rails/HasManyOrHasOneDependent` cop. ([@​oboxodo][]) > * Add new `Style/Dir` cop. ([@​drenmi][]) > * Add new `Style/HeredocDelimiterCase` cop. ([@​drenmi][]) > * [#2943](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/2943): Add new `Lint/RescueWithoutErrorClass` cop. ([@​drenmi][]) > * [#4568](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4568): Fix autocorrection for `Style/TrailingUnderscoreVariable`. ([@​smakagon][]) > * [#4586](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4586): Add new `Performance/UnfreezeString` cop. ([@​pocke][]) > * [#2976](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/2976): Add `Whitelist` configuration option to `Style/NestedParenthesizedCalls` cop. ([@​drenmi][]) > * [#3965](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/3965): Add new `Style/DoublePipeEquals` cop. ([@​donjar][]) > * Make `rake new_cop` create parent directories if they do not already exist. ([@​highb][]) > * [#4368](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4368): Make `Performance/HashEachMethod` inspect send nodes with any receiver. ([@​gohdaniel15][]) > * [#4508](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4508): Add new `Style/ReturnNil` cop. ([@​donjar][]) > * [#4629](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4629): Add Metrics/MethodLength cop for `define_method`. ([@​jekuta][]) > * [#4702](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4702): Add new `Lint/UriEscapeUnescape` cop. ([@​koic][]) > * [#4696](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4696): Add new `Performance/UriDefaultParser` cop. ([@​koic][]) > * [#4694](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4694): Add new `Lint/UriRegexp` cop. ([@​koic][]) > * Add new `Style/MinMax` cop. ([@​drenmi][]) > * [#4720](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4720): Add new `Bundler/InsecureProtocolSource` cop. ([@​koic][]) > * [#4708](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4708): Add new `Lint/RedundantWithIndex` cop`. ([@​koic][]) > > ### Bug fixes > > * [#4709](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4709): Use cached remote config on network failure. ([@​kristjan][]) > * [#4688](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4688): Accept yoda condition which isn't commutative. ([@​fujimura][]) > * [#4676](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4676): Make `Style/RedundantConditional` cop work with elsif. ([@​akhramov][]) > * [#4656](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4656): Modify `Style/ConditionalAssignment` autocorrection to work with unbracketed arrays. ([@​akhramov][]) > * [#4615](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4615): Don't consider `<=>` a comparison method. ([@​iGEL][]) > * [#4664](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4664): Fix typos in Rails/HttpPositionalArguments. ([@​JoeCohen][]) > * [#4618](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4618): Fix `Lint/FormatParameterMismatch` false positive if format string includes `%%5B` (CGI encoded left bracket). ([@​barthez][]) > * [#4604](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4604): Fix `Style/LambdaCall` to autocorrect `obj.call` to `obj.`. ([@​iGEL][]) > * [#4443](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4443): Prevent `Style/YodaCondition` from breaking `not LITERAL`. ([@​pocke][]) > * [#4434](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4434): Prevent bad auto-correct in `Style/Alias` for non-literal arguments. ([@​drenmi][]) > * [#4451](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4451): Make `Style/AndOr` cop aware of comparison methods. ([@​drenmi][]) > * [#4457](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4457): Fix false negative in `Lint/Void` with initialize and setter methods. ([@​pocke][]) > * [#4418](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4418): Register an offense in `Style/ConditionalAssignment` when the assignment line is the longest line, and it does not exceed the max line length. ([@​rrosenblum][]) > * [#4491](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4491): Prevent bad auto-correct in `Style/EmptyElse` for nested `if`. ([@​pocke][]) > * [#4485](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4485): Handle 304 status for remote config files. ([@​daniloisr][]) > * [#4529](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4529): Make `Lint/UnreachableCode` aware of `if` and `case`. ([@​pocke][]) > * [#4469](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4469): Include permissions in file cache. ([@​pocke][]) > ... (truncated)
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.50.0 (2017-09-14) > > ### New features > > * [#4464](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4464): Add `EnforcedStyleForEmptyBraces` parameter to `Layout/SpaceBeforeBlockBraces` cop. ([@​palkan][]) > * [#4453](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4453): New cop `Style/RedundantConditional` checks for conditionals that return true/false. ([@​petehamilton][]) > * [#4448](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4448): Add new `TapFormatter`. ([@​cyberdelia][]) > * [#4467](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4467): Add new `Style/HeredocDelimiters` cop(Note: This cop was renamed to `Naming/HeredocDelimiterNaming`). ([@​drenmi][]) > * [#4153](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4153): New cop `Lint/ReturnInVoidContext` checks for the use of a return with a value in a context where it will be ignored. ([@​harold-s][]) > * [#4506](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4506): Add auto-correct support to `Lint/ScriptPermission`. ([@​rrosenblum][]) > * [#4514](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4514): Add configuration options to `Style/YodaCondition` to support checking all comparison operators or equality operators only. ([@​smakagon][]) > * [#4515](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4515): Add new `Lint/BooleanSymbol` cop. ([@​droptheplot][]) > * [#4535](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4535): Make `Rails/PluralizationGrammar` use singular methods for `-1` / `-1.0`. ([@​promisedlandt][]) > * [#4541](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4541): Add new `Rails/HasManyOrHasOneDependent` cop. ([@​oboxodo][]) > * [#4552](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4552): Add new `Style/Dir` cop. ([@​drenmi][]) > * [#4548](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4548): Add new `Style/HeredocDelimiterCase` cop(Note: This cop is renamed to `Naming/HeredocDelimiterCase`). ([@​drenmi][]) > * [#2943](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/2943): Add new `Lint/RescueWithoutErrorClass` cop. ([@​drenmi][]) > * [#4568](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4568): Fix autocorrection for `Style/TrailingUnderscoreVariable`. ([@​smakagon][]) > * [#4586](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4586): Add new `Performance/UnfreezeString` cop. ([@​pocke][]) > * [#2976](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/2976): Add `Whitelist` configuration option to `Style/NestedParenthesizedCalls` cop. ([@​drenmi][]) > * [#3965](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3965): Add new `Style/OrAssignment` cop. ([@​donjar][]) > * [#4655](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4655): Make `rake new_cop` create parent directories if they do not already exist. ([@​highb][]) > * [#4368](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4368): Make `Performance/HashEachMethod` inspect send nodes with any receiver. ([@​gohdaniel15][]) > * [#4508](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4508): Add new `Style/ReturnNil` cop. ([@​donjar][]) > * [#4629](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4629): Add Metrics/MethodLength cop for `define_method`. ([@​jekuta][]) > * [#4702](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4702): Add new `Lint/UriEscapeUnescape` cop. ([@​koic][]) > * [#4696](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4696): Add new `Performance/UriDefaultParser` cop. ([@​koic][]) > * [#4694](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4694): Add new `Lint/UriRegexp` cop. ([@​koic][]) > * [#4711](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4711): Add new `Style/MinMax` cop. ([@​drenmi][]) > * [#4720](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4720): Add new `Bundler/InsecureProtocolSource` cop. ([@​koic][]) > * [#4708](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4708): Add new `Lint/RedundantWithIndex` cop. ([@​koic][]) > * [#4480](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4480): Add new `Lint/InterpolationCheck` cop. ([@​GauthamGoli][]) > * [#4628](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4628): Add new `Lint/NestedPercentLiteral` cop. ([@​asherkach][]) > > ### Bug fixes > > * [#4709](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4709): Use cached remote config on network failure. ([@​kristjan][]) > * [#4688](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4688): Accept yoda condition which isn't commutative. ([@​fujimura][]) > * [#4676](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4676): Make `Style/RedundantConditional` cop work with elsif. ([@​akhramov][]) > * [#4656](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4656): Modify `Style/ConditionalAssignment` autocorrection to work with unbracketed arrays. ([@​akhramov][]) > * [#4615](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4615): Don't consider `<=>` a comparison method. ([@​iGEL][]) > * [#4664](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4664): Fix typos in Rails/HttpPositionalArguments. ([@​JoeCohen][]) > * [#4618](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4618): Fix `Lint/FormatParameterMismatch` false positive if format string includes `%%5B` (CGI encoded left bracket). ([@​barthez][]) > * [#4604](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4604): Fix `Style/LambdaCall` to autocorrect `obj.call` to `obj.`. ([@​iGEL][]) > * [#4443](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4443): Prevent `Style/YodaCondition` from breaking `not LITERAL`. ([@​pocke][]) > * [#4434](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4434): Prevent bad auto-correct in `Style/Alias` for non-literal arguments. ([@​drenmi][]) > * [#4451](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4451): Make `Style/AndOr` cop aware of comparison methods. ([@​drenmi][]) > * [#4457](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4457): Fix false negative in `Lint/Void` with initialize and setter methods. ([@​pocke][]) > * [#4418](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4418): Register an offense in `Style/ConditionalAssignment` when the assignment line is the longest line, and it does not exceed the max line length. ([@​rrosenblum][]) > * [#4491](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4491): Prevent bad auto-correct in `Style/EmptyElse` for nested `if`. ([@​pocke][]) > ... (truncated)
Commits - [`0f319cb`](https://github.com/rubocop-hq/rubocop/commit/0f319cb7968b902d05301865163750f2ce32f8ac) Cut 0.50.0 - [`99a5498`](https://github.com/rubocop-hq/rubocop/commit/99a549841f6f565c2004979919762b1945511b68) Add new `Lint/RedundantWithIndex` cop ([#4708](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4708)) - [`c46bf72`](https://github.com/rubocop-hq/rubocop/commit/c46bf723ed53ef9be815820328ae41e52a498b60) [Fix [#4723](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4723)] RaiseArgs shouldn't autocorrect 3-args form ([#4725](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4725)) - [`b3a4c1c`](https://github.com/rubocop-hq/rubocop/commit/b3a4c1c2ed821481e1e7147b7458039c7a3d3fcf) Change a todo message at `rake new_cop` task - [`54a3477`](https://github.com/rubocop-hq/rubocop/commit/54a34778eb6f6b667e4293451ca553dd7b9150cb) Add new `Bundler/InsecureProtocolSource` cop ([#4720](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4720)) - [`bf52e75`](https://github.com/rubocop-hq/rubocop/commit/bf52e754c3b8e3483c6cbb21734f4087aa9f80d4) Add gemspec metadata - [`eb42226`](https://github.com/rubocop-hq/rubocop/commit/eb42226cfeec72f4dbb87ef6925c635ea1ce5314) Fix `rake new_cop` problem that doesn't add `require` line ([#4722](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4722)) - [`04087f9`](https://github.com/rubocop-hq/rubocop/commit/04087f9e94242468e0da89d211160c8c770f977f) Make Style/AutoResourceCleanup examples equivalent - [`e0fdb0b`](https://github.com/rubocop-hq/rubocop/commit/e0fdb0bc558cc9207e20b0f66f1b66e9649f678b) Add new `Style/MinMax` cop - [`4fc5e2d`](https://github.com/rubocop-hq/rubocop/commit/4fc5e2d7bc1e70a06be43472ed83033562a863c5) [Fix [#4322](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4322)] Fix Style/MultilineMemoization autocorrection - Additional commits viewable in [compare view](https://github.com/rubocop-hq/rubocop/compare/v0.33.0...v0.50.0)


Dependabot compatibility score

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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/mipearson/webpack-rails/network/alerts).