.rubocop.yml in omniauth-forge-0.1.2 vs .rubocop.yml in omniauth-forge-0.2.0

- old
+ new

@@ -1,219 +1,37 @@ inherit_from: - http://relaxed.ruby.style/rubocop.yml +inherit_gem: + prettier: rubocop.yml + require: - rubocop-faker - rubocop-performance AllCops: NewCops: enable DisplayStyleGuide: true DisplayCopNames: true + SuggestExtensions: false Exclude: - - 'db/schema.rb' - 'bin/*' - 'node_modules/**/*' + - 'vendor/**/*' -Naming/FileName: - Enabled: false - Gemspec/RequiredRubyVersion: Enabled: false +Lint/UnusedMethodArgument: + Exclude: + - 'lib/spg_client/fake/*.rb' + Style/GlobalVars: Enabled: false -Layout/DotPosition: - Enabled: true - EnforcedStyle: trailing - -Style/TrailingCommaInHashLiteral: - Enabled: true - EnforcedStyleForMultiline: comma - -Style/TrailingCommaInArrayLiteral: - Enabled: true - EnforcedStyleForMultiline: comma - -Naming/ConstantName: +Naming/FileName: Enabled: false -Layout/MultilineArrayLineBreaks: - Enabled: true - -Layout/MultilineHashKeyLineBreaks: - Enabled: true - -Layout/MultilineMethodArgumentLineBreaks: - Enabled: true - -Layout/FirstArrayElementLineBreak: - Enabled: true - -Layout/FirstHashElementLineBreak: - Enabled: true - -Layout/FirstMethodArgumentLineBreak: - Enabled: true - -Layout/MultilineAssignmentLayout: - Enabled: true - -Style/HashEachMethods: - Enabled: true - -Style/HashTransformKeys: - Enabled: true - -Style/HashTransformValues: - Enabled: true - -Lint/RaiseException: - Enabled: true - -Lint/StructNewOverride: - Enabled: true - -Layout/SpaceAroundMethodCallOperator: - Enabled: true - -Style/ExponentialNotation: - Enabled: true - -# 0.83 -Layout/EmptyLinesAroundAttributeAccessor: - Enabled: true - -# 0.84 -Lint/DeprecatedOpenSSLConstant: - Enabled: true - -# 0.85 -Lint/MixedRegexpCaptureTypes: - Enabled: true - -Style/RedundantRegexpEscape: - Enabled: true - -Style/RedundantRegexpCharacterClass: - Enabled: true - -Style/SlicingWithRange: - Enabled: true - -# 0.86 -Style/RedundantFetchBlock: - Enabled: true - -Style/BisectedAttrAccessor: - Enabled: true - -Style/RedundantAssignment: - Enabled: true - -# 0.87 -Style/AccessorGrouping: - Enabled: true - -# 0.88 -Lint/DuplicateElsifCondition: - Enabled: true - -Style/ArrayCoercion: - Enabled: true - -Style/CaseLikeIf: - Enabled: true - -Style/HashAsLastArrayItem: - Enabled: true - -Style/HashLikeCase: - Enabled: true - -Style/RedundantFileExtensionInRequire: - Enabled: true - -# 0.89 -Lint/BinaryOperatorWithIdenticalOperands: - Enabled: true - -Lint/DuplicateRescueException: - Enabled: true - -Lint/EmptyConditionalBody: - Enabled: true - -Lint/FloatComparison: - Enabled: true - -Lint/MissingSuper: - Enabled: true - -Lint/OutOfRangeRegexpRef: - Enabled: true - -Lint/SelfAssignment: - Enabled: true - -Lint/TopLevelReturnWithArgument: - Enabled: true - -Lint/UnreachableLoop: - Enabled: true - -Style/ExplicitBlockArgument: - Enabled: true - -Style/GlobalStdStream: - Enabled: true - -Style/OptionalBooleanParameter: - Enabled: true - -Style/SingleArgumentDig: - Enabled: true - -Style/StringConcatenation: - Enabled: true - -# Perf 1.7 -Performance/AncestorsInclude: - Enabled: true - -Performance/BigDecimalWithNumericArgument: - Enabled: true - -Performance/RedundantSortBlock: - Enabled: true - -Performance/RedundantStringChars: - Enabled: true - -Performance/ReverseFirst: - Enabled: true - -Performance/SortReverse: - Enabled: true - -Performance/Squeeze: - Enabled: true - -Performance/StringInclude: - Enabled: true - -Layout/LineLength: - Enabled: true - Max: 120 - AutoCorrect: true - IgnoredPatterns: ['^\s*#.*'] - Exclude: - - Gemfile - - Guardfile - Metrics/BlockLength: Exclude: - 'spec/**/*.rb' - 'Guardfile' - - 'config/routes.rb' - - 'config/environments/*.rb'