From b8750d3c0923240966a4c854fa0ba6c0889faf74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Fern=C3=A1ndez?= Date: Wed, 3 Feb 2021 16:28:26 -0300 Subject: [PATCH] chore(): disable some rules for potassium and generated projects --- .rubocop.yml | 13 +++++++++++++ lib/potassium/assets/.rubocop.yml | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 6f771c48..6d86b849 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -502,6 +502,19 @@ Performance/RedundantBlockCall: Description: Use `yield` instead of `block.call`. Reference: https://github.com/JuanitoFatas/fast-ruby#proccall-vs-yield-code Enabled: false +Style/OptionalBooleanParameter: + Description: 'Use keyword arguments when defining method with boolean argument.' + Enabled: false +Lint/MissingSuper: + Description: >- + This cop checks for the presence of constructors and lifecycle callbacks + without calls to `super`'. + Enabled: false +Style/RedundantFileExtensionInRequire: + Description: >- + Checks for the presence of superfluous `.rb` extension in + the filename provided to `require` and `require_relative`. + Enabled: false RSpec/MultipleExpectations: Max: 5 RSpec/NestedGroups: diff --git a/lib/potassium/assets/.rubocop.yml b/lib/potassium/assets/.rubocop.yml index 6f771c48..6d86b849 100644 --- a/lib/potassium/assets/.rubocop.yml +++ b/lib/potassium/assets/.rubocop.yml @@ -502,6 +502,19 @@ Performance/RedundantBlockCall: Description: Use `yield` instead of `block.call`. Reference: https://github.com/JuanitoFatas/fast-ruby#proccall-vs-yield-code Enabled: false +Style/OptionalBooleanParameter: + Description: 'Use keyword arguments when defining method with boolean argument.' + Enabled: false +Lint/MissingSuper: + Description: >- + This cop checks for the presence of constructors and lifecycle callbacks + without calls to `super`'. + Enabled: false +Style/RedundantFileExtensionInRequire: + Description: >- + Checks for the presence of superfluous `.rb` extension in + the filename provided to `require` and `require_relative`. + Enabled: false RSpec/MultipleExpectations: Max: 5 RSpec/NestedGroups: