Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
329 lines (231 sloc) 4.57 KB
Metrics/BlockLength:
Exclude:
- spec/**/*.rb
- config/**/*.rb
- db/migrate/*.rb
- lib/tasks/**/*.rake
- Gemfile
Metrics/LineLength:
AllowHeredoc: true
AllowURI: true
Max: 120
Exclude:
- spec/**/*
Metrics/ModuleLength:
Exclude:
- spec/**/*
Rails:
Enabled: true
Naming/AccessorMethodName:
Enabled: false
Rails/ActionFilter:
Enabled: false
Style/Alias:
Enabled: false
Style/ArrayJoin:
Enabled: false
Style/AsciiComments:
Enabled: false
Naming/AsciiIdentifiers:
Enabled: false
Style/Attr:
Enabled: false
Metrics/BlockNesting:
Enabled: false
Style/CaseEquality:
Enabled: false
Style/CharacterLiteral:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Metrics/ClassLength:
Enabled: false
Style/ClassVars:
Enabled: false
Style/CollectionMethods:
PreferredMethods:
find: false
reduce: inject
collect: map
find_all: false
Style/ColonMethodCall:
Enabled: false
Style/CommentAnnotation:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Rails/Delegate:
Enabled: false
Style/Documentation:
Enabled: false
Layout/DotPosition:
EnforcedStyle: trailing
Style/DoubleNegation:
Enabled: false
Style/EachWithObject:
Enabled: false
Style/EmptyLiteral:
Enabled: false
Style/Encoding:
Enabled: false
Style/EvenOdd:
Enabled: false
Naming/FileName:
Enabled: false
Lint/FlipFlop:
Enabled: false
Style/FormatString:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/GlobalVars:
Enabled: false
Style/GuardClause:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/IfWithSemicolon:
Enabled: false
Layout/IndentationConsistency:
EnforcedStyle: rails
Style/InlineComment:
Enabled: false
Style/Lambda:
Enabled: false
Style/LambdaCall:
Enabled: false
Style/LineEndConcatenation:
Enabled: false
Metrics/MethodLength:
Enabled: false
Style/ModuleFunction:
Enabled: false
Style/NegatedIf:
Enabled: both
Style/NegatedWhile:
Enabled: false
Style/Next:
Enabled: false
Style/NilComparison:
Enabled: false
Style/NumericLiterals:
Enabled: false
Style/OneLineConditional:
Enabled: false
Style/ParallelAssignment:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Style/PerlBackrefs:
Enabled: false
Naming/PredicateName:
NamePrefixBlacklist:
- is_
Style/Proc:
Enabled: false
Style/RaiseArgs:
Enabled: false
Style/RegexpLiteral:
Enabled: false
Style/SelfAssignment:
Enabled: false
Style/SingleLineBlockParams:
Enabled: false
Style/SingleLineMethods:
Enabled: false
Style/SignalException:
Enabled: false
Style/SpecialGlobalVars:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/TrailingCommaInArrayLiteral:
Enabled: true
EnforcedStyleForMultiline: no_comma
Style/TrailingCommaInHashLiteral:
Enabled: true
EnforcedStyleForMultiline: no_comma
Style/TrailingCommaInArguments:
Enabled: true
EnforcedStyleForMultiline: no_comma
Style/FormatStringToken:
EnforcedStyle: template
Style/TrivialAccessors:
Enabled: false
Lint/UnusedMethodArgument:
Enabled: false
Naming/VariableNumber:
Enabled: false
Style/VariableInterpolation:
Enabled: false
Style/WhenThen:
Enabled: false
Style/WhileUntilModifier:
Enabled: false
Style/WordArray:
Enabled: false
Lint/AmbiguousOperator:
Enabled: false
Lint/AmbiguousRegexpLiteral:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
Layout/ConditionPosition:
Enabled: false
Lint/DeprecatedClassMethods:
Enabled: false
Lint/ElseLayout:
Enabled: false
Lint/HandleExceptions:
Enabled: false
Lint/LiteralInInterpolation:
Enabled: false
Lint/Loop:
Enabled: false
Lint/ParenthesesAsGroupedExpression:
Enabled: false
Performance/RedundantMerge:
Enabled: false
Performance/TimesMap:
Enabled: false
Lint/RequireParentheses:
Enabled: false
Lint/UnderscorePrefixedVariableName:
Enabled: false
Lint/Void:
Enabled: true
Lint/UselessAssignment:
Exclude:
- spec/**/*
Layout/EmptyLines:
Exclude:
- spec/**/*
Style/NumericPredicate:
EnforcedStyle: comparison
Style/PercentLiteralDelimiters:
PreferredDelimiters:
"%": ()
"%i": ()
"%q": ()
"%Q": ()
"%r": "{}"
"%s": ()
"%w": ()
"%W": ()
"%x": ()
Naming/MemoizedInstanceVariableName:
EnforcedStyleForLeadingUnderscores: required
Rails/Output:
Enabled: true
Include:
- app/**/*.rb
- config/**/*.rb
- db/**/*.rb
- lib/**/*.rb
- spec/**/*.rb
Rails/SkipsModelValidations:
Enabled: false
Rails/RequestReferer:
EnforcedStyle: referrer
Rails/DynamicFindBy:
Enabled: false
You can’t perform that action at this time.