.rubocop.yml in alba-3.1.0 vs .rubocop.yml in alba-3.2.0

- old
+ new

@@ -86,10 +86,15 @@ # By nature of that test Minitest/NoTestCases: Exclude: - 'test/dependencies/test_dependencies.rb' +# We need to use `OpenStruct` to wrap object in ConfitionalAttribute +Performance/OpenStruct: + Exclude: + - 'lib/alba/conditional_attribute.rb' + # We need to eval resource code to test errors on resource classes Security/Eval: Exclude: - 'test/**/*.rb' @@ -137,9 +142,14 @@ - 'README.md' # There are so many cases we just want `if` expression! Style/MissingElse: EnforcedStyle: case + +# We need to use `OpenStruct` to wrap object in ConfitionalAttribute +Style/OpenStructUse: + Exclude: + - 'lib/alba/conditional_attribute.rb' # It's example code, please forgive us Style/OptionalBooleanParameter: Exclude: - 'README.md'