Refs #22058 - refresh rubocop config and apply autofixes
Fixes #19855 - Disable Style/ConditionalAssignment cop
Fixes #23235 - Disable Style/IfUnlessModifier cop
Fixes #19770 - Disable Layout/DotPosition cop
Fixes #23157 - Enable Performance/FixedSize cop
Fixes #19848 - Set Style/Alias cop to prefer_alias_method
Refs #23011 - set TargetRubyVersion: to 2.3
Fixes #19763 - Disable Bundler/OrderedGems cop
Fixes #19776 - Configure Layout/FirstParameterIndentation cop
Fixes #19868 - Disable Style/InverseMethods cop
Fixes #19907 - Configure Style/TernaryParentheses cop
Fixes #19849 - Configure Style/AndOr cop
Fixes #21576 - Always use Rails 5.1, drop Rails 5.0
Fixes #19820, #19822, #19824 - Fix some performance cops
Fixes #21977 - Stop enforcing detect/select/etc methods
Fixes #21450 - Update rubocop to 0.51.0
Fixes #19912 - Allow all styles of word arrays
Fixes #19828 - Fix Rails/Blank cop
I disabled the default UnlessPresent value since sometimes it's clearerto use `unless attribute.present?` instead of `if attribute.blank?`.
Fixes #19700 - update rubocop rules
The following changes have been made:
- Performance/RedundantMerge:changes lines such as:```not_found_message.merge! :message => options```to:```not_found_message[:message] = options```
- converts str.match() to str =~ ()...
fixes #18534 - configure rubocop for Ruby 2.0 compatibility
Fixes #18017 - Allow single/double quotes for HoundCI
Fixes #16564 - Disable FrozenStringLiteralComment cop
Also fixes a failng cop in config/initializers/secure_headers.rb
Refs #7233 - Fixing erroneous rubocop config
fixes #16166 - exclude node_modules/ directory from rubocop
Fixes #15364 - disable Style/ClassCheck cop
Refs #3809 - Using defaults for AndOr cop
Refs #3809 - Turning on the AndOr cop
fixes #14133 - update to rubocop 0.39.0
Replaces hirb-unicode with the maintained hirb-unicode-steakknife fork,due to conflicting requirements on unicode-display_width with the olderhirb-unicode and new rubocop.
Rake is unpinned due to the newer rubocop's compatibility with it, and...
Fixes #12911 - Turning on 0.35.1 cops
Refs #3809 - Stabby lambda syntax for oneliners
I started by spotting log.rb which didn't have a lambda wrapping itsdefault scope, as needed by Rails 4. Since the style guide and mostRails 4 documents used the stabby lambda, I turned on the cop so that we...
Refs #3809 - Remove nested ternary and nil checking
refs #3809 - exclude auto-generated schema.rb from rubocop checks
Fixes #7233 - Drop Ruby 1.8.7 and revert Ruby 1.8.7 specifics
Fixes #2089 - Add network configuration to ENC
Fixes #3809 - Add rubocop to check Ruby code