diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c36b20e..d754402c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/lib/potassium/assets/.rubocop.yml b/lib/potassium/assets/.rubocop.yml index 6d86b849..750999c0 100644 --- a/lib/potassium/assets/.rubocop.yml +++ b/lib/potassium/assets/.rubocop.yml @@ -2,6 +2,7 @@ require: - rubocop-rspec - rubocop-rails - rubocop-performance + - rubocop-platanus AllCops: Exclude: - "vendor/**/*" diff --git a/lib/potassium/recipes/style.rb b/lib/potassium/recipes/style.rb index b2456574..3aabe4b0 100644 --- a/lib/potassium/recipes/style.rb +++ b/lib/potassium/recipes/style.rb @@ -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