lib/boppers/generator/plugin/.rubocop.yml in boppers-0.0.10 vs lib/boppers/generator/plugin/.rubocop.yml in boppers-0.0.11
- old
+ new
@@ -1,116 +1,10 @@
-AllCops:
- TargetRubyVersion: 2.4
+---
+inherit_gem:
+ rubocop-fnando: .rubocop.yml
-Style/Alias:
- EnforcedStyle: prefer_alias_method
-
-Style/FrozenStringLiteralComment:
- EnforcedStyle: always
-
-Style/ClassCheck:
- EnforcedStyle: kind_of?
-
-Metrics/LineLength:
- Max: 80
-
-Style/BlockDelimiters:
- Enabled: false
-
-Style/RegexpLiteral:
- Enabled: false
-
-Metrics/AbcSize:
- Enabled: false
-
-Style/PerlBackrefs:
- Enabled: false
-
-ClassLength:
- Enabled: false
-
-CyclomaticComplexity:
- Enabled: false
-
-Documentation:
- Enabled: false
-
-Encoding:
- Enabled: false
-
-FileName:
- Enabled: false
-
-IfUnlessModifier:
- Enabled: false
-
-MethodLength:
- Enabled: false
-
-ModuleFunction:
- Enabled: false
-
-OneLineConditional:
- Enabled: false
-
-ParameterLists:
- Enabled: false
-
-Proc:
- Enabled: false
-
-SingleLineBlockParams:
- Enabled: false
-
-VariableInterpolation:
- Enabled: false
-
-Style/TrailingCommaInLiteral:
- Enabled: false
-
-WhileUntilModifier:
- Enabled: false
-
-PredicateName:
- NamePrefixBlacklist:
- - is_
-
-StringLiterals:
- EnforcedStyle: double_quotes
-
-DotPosition:
- EnforcedStyle: leading
-
-SpaceBeforeBlockBraces:
- EnforcedStyle: space
-
-SpaceInsideBlockBraces:
- EnforcedStyle: no_space
-
-DoubleNegation:
- Enabled: false
-
-SpaceInsideBlockBraces:
- SpaceBeforeBlockParameters: false
-
-SpaceInsideHashLiteralBraces:
- Enabled: false
-
-PercentLiteralDelimiters:
- PreferredDelimiters:
- '%': '{}'
- '%i': '{}'
- '%q': '{}'
- '%Q': '{}'
- '%r': '{}'
- '%s': '{}'
- '%w': '{}'
- '%W': '{}'
- '%x': '{}'
-
-Style/CollectionMethods:
- PreferredMethods:
- collect: 'map'
- collect!: 'map!'
- inject: 'reduce'
- detect: 'find'
- find_all: 'select'
+AllCops:
+ TargetRubyVersion: 3.0
+ NewCops: enable
+ Exclude:
+ - vendor/**/*
+ - gemfiles/**/*