Skip to content

Releases: github/rubocop-github

v0.20.0

28 Oct 19:11
7c4a43c
Compare
Choose a tag to compare

What's Changed

  • Format .github/workflows/ci.yml by @ydah in #111
  • config/rails_cops: Update styleguide links now master => main by @issyl0 in #125
  • config/default: Link some rules to their styleguide justifications by @issyl0 in #124
  • config/rails: Broader ERB exclude paths by @issyl0 in #126
  • Allow RailsViewRenderShorthand errors to be autocorrected by @mgriffin in #114
  • Fix Styleguide link in default.yml by @sampart in #129
  • Add link to Style Guide from README by @sampart in #130
  • config/default: Remove some redundant Enabled: true for cops by @issyl0 in #128
  • Add Rails recommendations to styleguide by @sampart in #131
  • Add contribution instructions, code of conduct, and codeowners by @bensheldon in #122
  • Replace custom RailsApplicationRecord and RailsRenderInline cops with their upstream equivalent by @bensheldon in #123
  • STYLEGUIDE: For each styleguide recommendation, link to the RuboCop rule by @issyl0 in #132
  • STYLEGUIDE: UnusedBlockArgument is in Lint not Style by @issyl0 in #134
  • config/default: Upstream cop disables since this is the central place by @issyl0 in #127

New Contributors

Full Changelog: v0.19.0...v0.20.0

v0.19.0

13 Oct 15:38
40349f5
Compare
Choose a tag to compare

Significant Changes

Other Changes

  • Fix .rubocop.yml example by @orhantoy in #104
  • Migrate accessibility rubocop rule ImageHasAlt from dotcom to erblint-github by @bolonio in #105
  • Migrate accessibility rubocop rule NoRedundantImageAlt from dotcom to erblint-github by @bolonio in #106
  • Migrate accessibility rubocop rule NoPositiveTabindex from dotcom to erblint-github by @bolonio in #107
  • Migrate accessibility rubocop rule LinkHref from dotcom to erblint-github by @bolonio in #108
  • Add improvements to styleguide by @elenatanasoiu in #113
  • Delete GitHub/Accessibility cops; point to rubocop-rails-accessibility by @issyl0 in #118
  • fix(STYLEGUIDE.md): remove extra opening code block by @francisfuzz in #115
  • README, guides: Clean up leftover GitHub/Accessibility cop references by @issyl0 in #120
  • Separate Ruby (rubocop-github) from Rails (rubocop-github-rails) cops and rules to disambiguate rule inheritance from custom cops by @bensheldon in #121
  • fix(STYLEGUIDE.md): use list item instead of codeblock by @francisfuzz in #116

New Contributors

Full Changelog: v0.18.0...v0.19.0

v0.18.0

27 Jun 18:33
v0.18.0
112624a
Compare
Choose a tag to compare
  • Changed: Layout/IndentationWidth cop enabled by default
  • Changed: Use the new Cop::Base API instead of the deprecated Cop::Cop
  • Removed: support for Ruby 2.6
  • Removed: deprecated config files for RuboCop < 0.68

v0.17.0

19 Jan 01:57
93fd172
Compare
Choose a tag to compare
  • Remove version constraints for rubocop, rubocop-performance, and rubocop-rails
  • Test against Ruby 3.1

v0.16.2

24 Jun 22:47
9604707
Compare
Choose a tag to compare
  • Add support for rendering ViewComponents with_content

    Joel Hawksley

Add support for ViewComponent .with_collection

21 May 22:20
2eefdb4
Compare
Choose a tag to compare
  • No longer supporting rendering the component constant: render(MyComponent)

  • Allowing components to render collections: render(MyComponent.with_collection)

Bumps rubocop dependency to 0.82.0

24 Apr 15:01
1d5ac0b
Compare
Choose a tag to compare

This locks the rubocop dependency explicitly, because rubocop has made breaking changes on more or less every minor (pre-1.0) release up until now. If you need to pin to a lower version, then the 0.14.0 release will still let you do that.