Releases: github/rubocop-github
Releases · github/rubocop-github
v0.22.0
What's Changed
- config/default: Enable
Lint/ParenthesesAsGroupedExpression
by @issyl0 in #135 - Fix usage documentation for Inheriting all rules and cops by @codeminator in #136
- Add Dependabot config file by @sentinel in #137
- Bump actions/checkout from 2 to 3 by @dependabot in #138
- Update codeowners, dependencies and build config to fix Dependabot PRs by @bensheldon in #139
- Enable rules recently enabled in the GitHub monolith by @sampart in #140
- Improve check for hash literals by @jhawthorn in #141
- Bum dev dependencies by @composerinteralia in #144
- Update default.yml to enable case indentation by @jcmanzo in #143
- Add GitHub/AvoidObjectSendWithDynamicMethod cop by @cheshire137 in #145
- Bump actions/checkout from 3 to 4 by @dependabot in #142
- Remove Ruby 2.7 from test matrix; update Nokogiri v1.16.2 by @bensheldon in #146
- ci: Only run on PRs by @issyl0 in #147
- Set required_ruby_version to 3 by @abraham in #148
- Bump rack from 3.0.8 to 3.0.9.1 by @dependabot in #149
- Bump minitest from 5.20.0 to 5.22.2 by @dependabot in #152
- Bump actionview from 7.1.2 to 7.1.3.2 by @dependabot in #154
- Add grouped Dependabot updates for Bundler by @bensheldon in #155
- Add a few styleguide links by @mgriffin in #158
- Bump minitest from 5.22.2 to 5.22.3 by @dependabot in #157
- Bump rubocop from 1.48.1 to 1.62.1 by @dependabot in #156
- Bump rubocop-rails from 2.22.2 to 2.24.1 by @dependabot in #159
- Bump rubocop-performance from 1.19.1 to 1.20.2 by @dependabot in #150
- Bump rubocop-performance from 1.20.2 to 1.21.0 by @dependabot in #160
- Bump rake from 13.1.0 to 13.2.1 by @dependabot in #162
- Bump rubocop from 1.62.1 to 1.63.1 by @dependabot in #163
- Bump rubocop from 1.63.1 to 1.63.3 by @dependabot in #164
- Bump rubocop from 1.63.3 to 1.63.4 by @dependabot in #165
- Bump rubocop from 1.63.4 to 1.63.5 by @dependabot in #167
- Bump nokogiri from 1.16.2 to 1.16.5 by @dependabot in #168
- Bump rexml from 3.2.6 to 3.2.8 by @dependabot in #169
- Bump rubocop-rails from 2.24.1 to 2.25.0 by @dependabot in #171
- Bump minitest from 5.22.3 to 5.23.0 by @dependabot in #172
- Bump actionview from 7.1.3.2 to 7.1.3.3 by @dependabot in #173
- Bump rubocop from 1.63.5 to 1.64.1 by @dependabot in #176
- Bump minitest from 5.23.0 to 5.23.1 by @dependabot in #175
- add new rules to pending by @abraham in #170
- Bump actionview from 7.1.3.3 to 7.1.3.4 by @dependabot in #177
- Bump rubocop-performance from 1.21.0 to 1.21.1 by @dependabot in #178
RuboCop::Cop::GitHub::RailsControllerRenderLiteral
: Make error message helpful forlocals
offence by @jdennes in #183- Bump rexml from 3.3.0 to 3.3.3 in the bundler group by @dependabot in #184
- Bump minitest from 5.23.1 to 5.24.1 by @dependabot in #181
- Bump rubocop from 1.64.1 to 1.65.1 by @dependabot in #185
- Bump rubocop-rails from 2.25.0 to 2.25.1 by @dependabot in #180
- Bump minitest from 5.24.1 to 5.25.1 by @dependabot in #186
- Bump actionview from 7.1.3.4 to 7.1.4 by @dependabot in #189
- Bump rubocop-rails from 2.25.1 to 2.26.0 by @dependabot in #190
- Declare least necessary permissions for GitHub Action; pin ruby/setup-ruby to sha by @bensheldon in #197
- Bump rubocop from 1.65.1 to 1.66.1 by @dependabot in #192
- Bump rubocop-rails from 2.26.0 to 2.26.2 by @dependabot in #196
- Bump rubocop-performance from 1.21.1 to 1.22.1 by @dependabot in #195
- Bump ruby/setup-ruby from 1.196.0 to 1.197.0 by @dependabot in #198
- Bump actionview from 7.1.4 to 7.1.4.1 by @dependabot in #200
- Bump rubocop from 1.66.1 to 1.67.0 by @dependabot in #199
- Bump ruby/setup-ruby from 1.197.0 to 1.198.0 by @dependabot in #203
- Bump ruby/setup-ruby from 1.198.0 to 1.200.0 by @dependabot in #207
- Bump actionview from 7.1.4.1 to 7.1.5 by @dependabot in #206
- Bump rubocop-rails from 2.26.2 to 2.27.0 by @dependabot in #202
- Bump rubocop from 1.67.0 to 1.68.0 by @dependabot in #205
- Bump rubocop-performance from 1.22.1 to 1.23.0 by @dependabot in #210
- Bump ruby/setup-ruby from 1.200.0 to 1.202.0 by @dependabot in #209
- Bump rubocop from 1.68.0 to 1.69.0 by @dependabot in #212
- Bump rails-html-sanitizer from 1.6.0 to 1.6.1 in the bundler group by @dependabot in #213
- Bump minitest from 5.25.1 to 5.25.4 by @dependabot in #214
- Bump ruby/setup-ruby from 1.202.0 to 1.204.0 by @dependabot in #217
- Remove "rubygems: latest" from setup-ruby workflow by @bensheldon in #220
- Bump rubocop from 1.69.0 to 1.69.2 by @dependabot in #218
- Bump actionview from 7.1.5 to 7.1.5.1 by @dependabot in #219
- Fix link to ParenthesesAsGroupedExpression by @sampart in #227
- Bump rubocop from 1.69.2 to 1.70.0 by @dependabot in #229
- Bump ruby/setup-ruby from 1.204.0 to 1.207.0 by @dependabot in #225
- Enable
Layout/SpaceInsideHashLiteralBraces
by @issyl0 in #231 - Bump rubocop-rails from 2.27.0 to 2.28.0 by @dependabot in #224
- Bump rubocop-performance from 1.23.0 to 1.23.1 by @dependabot in #226
- Prepare to release v0.22.0 by @issyl0 in #232
- Bump ruby/setup-ruby from 1.207.0 to 1.213.0 by @dependabot in #236
- Bump rubocop-rails from 2.28.0 to 2.29.0 by @dependabot in #237
- Bump ruby/setup-ruby from 1.213.0 to 1.214.0 by @dependabot in #240
- Bump rubocop from 1.70.0 to 1.71.0 by @dependabot in #239
- Bump rubocop-rails from 2.29.0 to 2.29.1 by @dependabot in #238
- Bump ruby/setup-ruby from 1.214.0 to 1.215.0 by @dependabot in #241
- Bump ruby/setup-ruby from 1.215.0 to 1.217.0 by @dependabot in #243
- Bump ruby/setup-ruby from 1.217.0 to 1.218.0 by @dependabot in #244
- Bump rack from 3.1.8 to 3.1.10 in the bundler group by @dependabot in #246
- Bump ruby/setup-ruby from 1.218.0 to 1.219.0 by @dependabot in #247
- Bump rubocop from 1.71.0 to 1.71.2 by @dependabot in #245
- Bump rubocop-rails from 2.29.1 to 2.30.1 by @dependabot in #250
- Bump ruby/setup-ruby from 1.219.0 to 1.221.0 by @dependabot in #248
- Bump rubocop-performance from 1.23.1 to 1.24.0 by @dependabot in #251
- Automated Releases by @GrantBirki in https://github.com/github/ru...
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.