Skip to content

Commit

Permalink
Merge pull request #402 from platanus/feat/rubocop-platanus
Browse files Browse the repository at this point in the history
feat(recipe): add rubocop-platanus to recipe
  • Loading branch information
MrEarle authored Apr 25, 2022
2 parents ad8a741 + e00518b commit a1549d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Features
- Updates Webpacker to Shakapacker, upgrading Vue and TailwindCSS to their latest versions [#395](https://github.com/platanus/potassium/pull/395)
- Add some image handling and processing in shrine file storage option [#398](https://github.com/platanus/potassium/pull/398)
- Include `--platanus-config` option to skip most of the instalation options [#399](https://github.com/platanus/potassium/pull/399).
- Add [`rubocop-platanus`](https://github.com/platanus/rubocop-platanus) gem for linting platanus' best practices [#402](https://github.com/platanus/potassium/pull/402).
## 6.5.0

Features
Expand Down
1 change: 1 addition & 0 deletions lib/potassium/assets/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ require:
- rubocop-rspec
- rubocop-rails
- rubocop-performance
- rubocop-platanus
AllCops:
Exclude:
- "vendor/**/*"
Expand Down
1 change: 1 addition & 0 deletions lib/potassium/recipes/style.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def add_linters
gather_gem 'rubocop-performance'
gather_gem 'rubocop-rails'
gather_gem 'rubocop-rspec', Potassium::RUBOCOP_RSPEC_VERSION
gather_gem 'rubocop-platanus'
end

after(:webpacker_install) do
Expand Down

0 comments on commit a1549d5

Please sign in to comment.