Releases: github/rubocop-github
Releases · github/rubocop-github
v0.20.0
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
andRailsRenderInline
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 inLint
notStyle
by @issyl0 in #134 - config/default: Upstream cop disables since this is the central place by @issyl0 in #127
New Contributors
- @ydah made their first contribution in #111
- @mgriffin made their first contribution in #114
- @sampart made their first contribution in #129
Full Changelog: v0.19.0...v0.20.0
v0.19.0
Significant Changes
- config/default: Unset
DisabledByDefault: true
by @issyl0 in #119 - Accessibility Cops have been migrated to https://github.com/github/rubocop-rails-accessibility
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
- @bolonio made their first contribution in #105
- @elenatanasoiu made their first contribution in #113
- @francisfuzz made their first contribution in #115
- @bensheldon made their first contribution in #121
Full Changelog: v0.18.0...v0.19.0
v0.18.0
- Changed: Layout/IndentationWidth cop enabled by default
- Changed: Use the new
Cop::Base
API instead of the deprecatedCop::Cop
- Removed: support for Ruby 2.6
- Removed: deprecated config files for RuboCop < 0.68
v0.17.0
- Remove version constraints for rubocop, rubocop-performance, and rubocop-rails
- Test against Ruby 3.1
v0.16.2
-
Add support for rendering ViewComponents
with_content
Joel Hawksley
Add support for ViewComponent .with_collection
-
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
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.