Skip to content

Commit 2ed3835

Browse files
authored
Added rubocop-rake RubyGem for linting Rake files with RuboCop (#2366)
1 parent 41ceee5 commit 2ed3835

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
1616
- Test: create a testing architecture for format/autofix linters, by @bdovaz in [#2294](https://github.com/oxsecurity/megalinter/pull/2294)
1717
- Test: create or adapt input files for format/autofix tests, by @bdovaz in [#2294](https://github.com/oxsecurity/megalinter/pull/2294)
1818
- Test: created specific test folders for linters that need them because they cannot share them, by @bdovaz in [#2294](https://github.com/oxsecurity/megalinter/pull/2294)
19+
- Added rubocop-rake RubyGem for linting Rake files with RuboCop
1920

2021
- Fixes
2122
- Correctly generate class names and test class files for each linter when the linter descriptor defines the attribute "name", by @bdovaz in [#2294](https://github.com/oxsecurity/megalinter/pull/2294)

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
255255
rubocop-github \
256256
rubocop-performance \
257257
rubocop-rails \
258+
rubocop-rake \
258259
rubocop-rspec
259260
#GEM__END
260261

docs/descriptors/ruby_rubocop.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,4 +279,5 @@ Profiling Options:
279279
- [rubocop-github](https://rubygems.org/gems/rubocop-github)
280280
- [rubocop-performance](https://rubygems.org/gems/rubocop-performance)
281281
- [rubocop-rails](https://rubygems.org/gems/rubocop-rails)
282+
- [rubocop-rake](https://rubygems.org/gems/rubocop-rake)
282283
- [rubocop-rspec](https://rubygems.org/gems/rubocop-rspec)

flavors/cupcake/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
217217
rubocop-github \
218218
rubocop-performance \
219219
rubocop-rails \
220+
rubocop-rake \
220221
rubocop-rspec
221222
#GEM__END
222223

flavors/ruby/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
172172
rubocop-github \
173173
rubocop-performance \
174174
rubocop-rails \
175+
rubocop-rake \
175176
rubocop-rspec
176177
#GEM__END
177178

linters/ruby_rubocop/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
104104
rubocop-github \
105105
rubocop-performance \
106106
rubocop-rails \
107+
rubocop-rake \
107108
rubocop-rspec
108109
#GEM__END
109110

megalinter/descriptors/ruby.megalinter-descriptor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ linters:
2727
- rubocop-github
2828
- rubocop-performance
2929
- rubocop-rails
30+
- rubocop-rake
3031
- rubocop-rspec
3132
ide:
3233
atom:

0 commit comments

Comments
 (0)