Commit f96f2af
Changed files (1)
.rubocop.yml
@@ -0,0 +1,62 @@
+AllCops:
+ NewCops: enable
+ TargetRubyVersion: 4.0
+ SuggestExtensions: false
+ Exclude:
+ - "pkg/**/*"
+ - "bin/**/*"
+ - "vendor/**/*"
+ - "fixtures/**/*"
+
+Metrics:
+ Enabled: false
+
+Naming/PredicateMethod:
+ AllowedMethods:
+ - call
+ - run
+ - summarize
+ - prompt
+
+Naming/MethodParameterName:
+ AllowedNames:
+ - me
+ - id
+ - as
+ - io
+
+Style/GlobalVars:
+ Exclude:
+ - "spec/**/*"
+
+Lint/EmptyBlock:
+ Exclude:
+ - "spec/**/*"
+
+Lint/UselessDefaultValueArgument:
+ Enabled: false
+
+Lint/RedundantRequireStatement:
+ Enabled: false
+
+Lint/UnusedBlockArgument:
+ IgnoreEmptyBlocks: true
+ AllowUnusedKeywordArguments: true
+
+Style/Documentation:
+ Enabled: false
+
+Style/FormatStringToken:
+ Enabled: false
+
+Style/FrozenStringLiteralComment:
+ Enabled: true
+
+Style/StringLiterals:
+ EnforcedStyle: double_quotes
+
+Style/StringLiteralsInInterpolation:
+ EnforcedStyle: double_quotes
+
+Layout/LineLength:
+ Max: 120