Skip to content

Commit

Permalink
rubocop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrock committed Oct 23, 2024
1 parent 333714c commit 98d831b
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 3.3

Gemspec/DevelopmentDependencies:
Enabled: false
Layout/HashAlignment:
Enabled: false
Layout/LineLength:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Layout/SpaceAroundOperators:
EnforcedStyleForExponentOperator: space

Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false

Naming/PredicateName:
Enabled: false
Naming/VariableNumber:
Enabled: false

Style/Documentation:
Enabled: false
Style/ExpandPathArguments:
Enabled: false
Style/GuardClause:
Enabled: false
Style/HashSyntax:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/Lambda:
Enabled: false
Style/MultilineIfModifier:
Enabled: false
Style/NegatedIf:
Enabled: false
Style/Next:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/ParallelAssignment:
Enabled: false
Style/PercentLiteralDelimiters:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/StringLiteralsInInterpolation:
Enabled: false
Style/SymbolArray:
Enabled: false

# specs

Layout/ExtraSpacing:
Exclude: [ "test/**/*" ]
Style/TrailingUnderscoreVariable:
Exclude: [ "test/**/*" ]
Layout/SpaceBeforeFirstArg:
Exclude: [ "test/**/*" ]
Layout/SpaceAroundOperators:
Exclude: [ "test/**/*" ]

0 comments on commit 98d831b

Please sign in to comment.