demarches-normaliennes/.rubocop.yml

1287 lines
18 KiB
YAML
Raw Normal View History

2017-12-22 16:50:20 +01:00
require:
- rubocop/rspec/focused
2017-06-13 11:27:41 +02:00
AllCops:
Exclude:
- "db/schema.rb"
- "bin/*"
- "node_modules/**/*"
2017-06-13 11:27:41 +02:00
Bundler/DuplicatedGem:
2017-06-12 13:34:04 +02:00
Enabled: true
Bundler/InsecureProtocolSource:
Enabled: true
Bundler/OrderedGems:
Enabled: false
Gemspec/DuplicatedAssignment:
Enabled: true
Gemspec/OrderedDependencies:
Enabled: true
Gemspec/RequiredRubyVersion:
Enabled: true
Layout/AccessModifierIndentation:
2017-06-12 13:34:04 +02:00
Enabled: true
Layout/AlignArray:
2017-06-12 13:34:19 +02:00
Enabled: true
Layout/AlignHash:
Enabled: false
Layout/AlignParameters:
2017-06-12 13:49:51 +02:00
Enabled: true
EnforcedStyle: with_fixed_indentation
Layout/BlockAlignment:
Enabled: false
Layout/BlockEndNewline:
2017-06-12 14:10:49 +02:00
Enabled: true
Layout/CaseIndentation:
2017-06-12 15:05:46 +02:00
Enabled: true
EnforcedStyle: end
Layout/ClassStructure:
Enabled: false
Layout/ClosingParenthesisIndentation:
2017-06-12 13:34:04 +02:00
Enabled: true
Layout/CommentIndentation:
Enabled: true
Layout/ConditionPosition:
Enabled: false
Layout/DefEndAlignment:
Enabled: false
Layout/DotPosition:
2017-06-12 15:16:15 +02:00
Enabled: true
Layout/ElseAlignment:
2017-06-12 13:34:04 +02:00
Enabled: true
Layout/EmptyComment:
Enabled: true
Layout/EmptyLineAfterMagicComment:
2017-06-12 13:34:04 +02:00
Enabled: true
Layout/EmptyLineBetweenDefs:
Enabled: true
Layout/EmptyLines:
2017-06-12 15:33:02 +02:00
Enabled: true
Layout/EmptyLineAfterGuardClause:
Enabled: false
# FIXME: private should not be a column name on TypeDeChamp
Layout/EmptyLinesAroundAccessModifier:
Enabled: true
Exclude:
- "spec/factories/type_de_champ.rb"
Layout/EmptyLinesAroundArguments:
Enabled: true
Layout/EmptyLinesAroundBeginBody:
2017-06-12 13:34:04 +02:00
Enabled: true
Layout/EmptyLinesAroundBlockBody:
Enabled: true
Layout/EmptyLinesAroundClassBody:
Enabled: true
Layout/EmptyLinesAroundExceptionHandlingKeywords:
Enabled: false
Layout/EmptyLinesAroundMethodBody:
Enabled: true
Layout/EmptyLinesAroundModuleBody:
Enabled: true
Layout/EndAlignment:
Enabled: true
EnforcedStyleAlignWith: variable
Layout/EndOfLine:
2017-06-12 13:34:04 +02:00
Enabled: true
EnforcedStyle: lf
Layout/ExtraSpacing:
2017-06-12 16:12:03 +02:00
Enabled: true
Exclude:
- "Guardfile"
Layout/FirstArrayElementLineBreak:
Enabled: true
Layout/FirstHashElementLineBreak:
Enabled: true
Layout/FirstMethodArgumentLineBreak:
Enabled: false
Layout/FirstMethodParameterLineBreak:
Enabled: false
Layout/FirstParameterIndentation:
Enabled: true
Layout/IndentArray:
2018-01-15 18:54:57 +01:00
Enabled: true
2018-01-15 18:56:00 +01:00
EnforcedStyle: consistent
Layout/IndentAssignment:
2018-01-15 18:56:00 +01:00
Enabled: true
Layout/IndentHash:
2018-01-15 19:02:12 +01:00
Enabled: true
EnforcedStyle: consistent
Layout/IndentHeredoc:
2018-01-15 19:09:08 +01:00
Enabled: true
Layout/IndentationConsistency:
Enabled: true
Layout/IndentationWidth:
2017-08-28 11:18:38 +02:00
Enabled: true
Layout/InitialIndentation:
Enabled: true
Layout/LeadingCommentSpace:
Enabled: true
Layout/MultilineArrayBraceLayout:
Enabled: true
EnforcedStyle: new_line
Layout/MultilineAssignmentLayout:
Enabled: false
Layout/MultilineBlockLayout:
Enabled: true
Layout/MultilineHashBraceLayout:
Enabled: true
EnforcedStyle: new_line
Layout/MultilineMethodCallBraceLayout:
Enabled: true
EnforcedStyle: symmetrical
Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented
Layout/MultilineMethodDefinitionBraceLayout:
Enabled: true
Layout/MultilineOperationIndentation:
Enabled: false
Layout/RescueEnsureAlignment:
Enabled: true
Layout/SpaceAfterColon:
2018-01-15 21:43:56 +01:00
Enabled: true
Layout/SpaceAfterComma:
Enabled: false
Layout/SpaceAfterMethodName:
Enabled: true
Layout/SpaceAfterNot:
2018-01-15 21:45:50 +01:00
Enabled: true
Layout/SpaceAfterSemicolon:
Enabled: true
Layout/SpaceAroundBlockParameters:
Enabled: true
Layout/SpaceAroundEqualsInParameterDefault:
Enabled: true
Layout/SpaceAroundKeyword:
Enabled: true
Layout/SpaceAroundOperators:
Enabled: true
Layout/SpaceBeforeBlockBraces:
Enabled: false
Layout/SpaceBeforeComma:
2018-01-15 21:49:52 +01:00
Enabled: true
Layout/SpaceBeforeComment:
Enabled: true
Layout/SpaceBeforeFirstArg:
Enabled: true
Layout/SpaceBeforeSemicolon:
Enabled: true
Layout/SpaceInLambdaLiteral:
Enabled: true
EnforcedStyle: require_space
Layout/SpaceInsideArrayPercentLiteral:
Enabled: true
Layout/SpaceInsideBlockBraces:
Enabled: true
Layout/SpaceInsideHashLiteralBraces:
Enabled: true
2018-01-12 13:16:08 +01:00
Layout/SpaceInsideArrayLiteralBrackets:
Enabled: false
Layout/SpaceInsideParens:
Enabled: true
Layout/SpaceInsidePercentLiteralDelimiters:
Enabled: true
Layout/SpaceInsideRangeLiteral:
Enabled: true
2018-03-06 10:42:49 +01:00
Layout/SpaceInsideReferenceBrackets:
Enabled: true
Layout/SpaceInsideStringInterpolation:
Enabled: true
Layout/Tab:
2018-01-15 22:12:58 +01:00
Enabled: true
Layout/TrailingBlankLines:
Enabled: true
Layout/TrailingWhitespace:
Enabled: true
Lint/AmbiguousBlockAssociation:
Enabled: false
Lint/AmbiguousOperator:
2018-03-06 12:09:57 +01:00
Enabled: true
Lint/AmbiguousRegexpLiteral:
2018-03-06 12:09:57 +01:00
Enabled: true
Lint/AssignmentInCondition:
2018-03-06 12:01:45 +01:00
Enabled: true
Lint/BigDecimalNew:
Enabled: true
Lint/BooleanSymbol:
Enabled: true
Lint/CircularArgumentReference:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/Debugger:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/DeprecatedClassMethods:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/DuplicateCaseCondition:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/DuplicateMethods:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/DuplicatedKey:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/EachWithObjectArgument:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/ElseLayout:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/EmptyEnsure:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/EmptyExpression:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/EmptyInterpolation:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/EmptyWhen:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/EndInMethod:
2018-03-06 12:03:32 +01:00
Enabled: true
Lint/EnsureReturn:
Enabled: false
Lint/FloatOutOfRange:
Enabled: false
Lint/FormatParameterMismatch:
Enabled: false
Lint/HandleExceptions:
Enabled: false
Lint/ImplicitStringConcatenation:
Enabled: false
Lint/IneffectiveAccessModifier:
Enabled: false
Lint/InheritException:
Enabled: false
Lint/InterpolationCheck:
Enabled: true
2018-03-06 10:42:49 +01:00
Lint/LiteralAsCondition:
Enabled: false
Lint/LiteralInInterpolation:
Enabled: false
Lint/Loop:
Enabled: false
Lint/MissingCopEnableDirective:
Enabled: true
Lint/MultipleCompare:
Enabled: false
Lint/NestedMethodDefinition:
Enabled: false
Lint/NestedPercentLiteral:
Enabled: true
Lint/NextWithoutAccumulator:
Enabled: false
Lint/NonLocalExitFromIterator:
Enabled: false
Lint/NumberConversion:
Enabled: false
Lint/OrderedMagicComments:
Enabled: true
Lint/ParenthesesAsGroupedExpression:
Enabled: false
Lint/PercentStringArray:
Enabled: false
Lint/PercentSymbolArray:
Enabled: false
Lint/RandOne:
Enabled: false
Lint/RedundantWithIndex:
Enabled: true
Lint/RedundantWithObject:
Enabled: true
Lint/RegexpAsCondition:
Enabled: true
Lint/RequireParentheses:
Enabled: false
Lint/RescueException:
Enabled: false
Lint/RescueType:
Enabled: false
Lint/ReturnInVoidContext:
Enabled: false
Lint/SafeNavigationChain:
Enabled: false
Lint/ScriptPermission:
Enabled: false
Lint/ShadowedArgument:
Enabled: true
Lint/ShadowedException:
Enabled: false
Lint/ShadowingOuterLocalVariable:
Enabled: false
Lint/StringConversionInInterpolation:
Enabled: false
Lint/Syntax:
2018-01-12 13:16:08 +01:00
Enabled: true
Lint/UnderscorePrefixedVariableName:
Enabled: false
Lint/UnifiedInteger:
Enabled: false
2018-03-06 10:42:49 +01:00
Lint/UnneededCopDisableDirective:
Enabled: false
Lint/UnneededCopEnableDirective:
Enabled: true
Lint/UnneededRequireStatement:
Enabled: true
Lint/UnneededSplatExpansion:
Enabled: false
Lint/UnreachableCode:
Enabled: false
Lint/UnusedBlockArgument:
Enabled: false
Lint/UnusedMethodArgument:
Enabled: false
2018-01-12 13:16:08 +01:00
Lint/UriEscapeUnescape:
Enabled: false
Lint/UriRegexp:
Enabled: false
Lint/UselessAccessModifier:
Enabled: false
Lint/UselessAssignment:
Enabled: false
Lint/UselessComparison:
Enabled: false
Lint/UselessElseWithoutRescue:
Enabled: false
Lint/UselessSetterCall:
Enabled: false
Lint/Void:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/BlockNesting:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
2018-01-12 13:16:08 +01:00
Naming/AccessorMethodName:
Enabled: false
Naming/AsciiIdentifiers:
Enabled: false
Naming/BinaryOperatorParameterName:
Enabled: false
Naming/ClassAndModuleCamelCase:
Enabled: false
Naming/ConstantName:
Enabled: false
Naming/FileName:
Enabled: false
Naming/HeredocDelimiterCase:
Enabled: true
2018-01-12 13:16:08 +01:00
Naming/HeredocDelimiterNaming:
Enabled: false
Naming/MemoizedInstanceVariableName:
Enabled: false
2018-01-12 13:16:08 +01:00
Naming/MethodName:
Enabled: false
Naming/PredicateName:
Enabled: false
Naming/UncommunicativeBlockParamName:
Enabled: true
Naming/UncommunicativeMethodParamName:
Enabled: false
2018-01-12 13:16:08 +01:00
Naming/VariableName:
Enabled: false
Naming/VariableNumber:
Enabled: false
Performance/Caller:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/CaseWhenSplat:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/Casecmp:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/CompareWithBlock:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/Count:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/Detect:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/DoubleStartEndWith:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/EndWith:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/FixedSize:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/FlatMap:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/LstripRstrip:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/RangeInclude:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/RedundantBlockCall:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/RedundantMatch:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/RedundantMerge:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/RedundantSortBy:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/RegexpMatch:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/ReverseEach:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/Sample:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/Size:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/StartWith:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/StringReplacement:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/TimesMap:
2017-11-20 18:55:59 +01:00
Enabled: true
Performance/UnfreezeString:
Enabled: true
Performance/UriDefaultParser:
Enabled: true
Rails/ActionFilter:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/ActiveRecordAliases:
Enabled: true
Rails/ActiveSupportAliases:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/ApplicationJob:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/ApplicationRecord:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/Blank:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/BulkChangeTable:
Enabled: false
2018-01-12 13:16:08 +01:00
Rails/CreateTableWithTimestamps:
Enabled: true
Exclude:
- db/migrate/2015*.rb
- db/migrate/2016*.rb
- db/migrate/2017*.rb
- db/migrate/2018*.rb
2018-01-12 13:16:08 +01:00
Rails/Date:
Enabled: false
Rails/Delegate:
Enabled: false
Rails/DelegateAllowBlank:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/DynamicFindBy:
2018-03-06 13:44:29 +01:00
Enabled: true
Exclude:
- "spec/features/**/*.rb"
Rails/EnumUniqueness:
2018-03-06 13:44:29 +01:00
Enabled: true
2018-01-12 13:16:08 +01:00
Rails/EnvironmentComparison:
Enabled: false
Rails/Exit:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/FilePath:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/FindBy:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/FindEach:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/HasAndBelongsToMany:
Enabled: false
2018-01-12 13:16:08 +01:00
Rails/HasManyOrHasOneDependent:
Enabled: false
Rails/HttpPositionalArguments:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/HttpStatus:
Enabled: false
2018-01-12 13:16:08 +01:00
Rails/InverseOf:
Enabled: false
Rails/LexicallyScopedActionFilter:
Enabled: false
Rails/NotNullColumn:
Enabled: false
Rails/Output:
Enabled: false
Rails/OutputSafety:
Enabled: true
Rails/PluralizationGrammar:
2018-03-06 13:44:29 +01:00
Enabled: true
2018-01-12 13:16:08 +01:00
Rails/Presence:
2018-03-06 13:44:29 +01:00
Enabled: true
2018-01-12 13:16:08 +01:00
Rails/Present:
Enabled: true
Rails/ReadWriteAttribute:
Enabled: false
Rails/RedundantReceiverInWithOptions:
Enabled: true
Rails/RelativeDateConstant:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/RequestReferer:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/ReversibleMigration:
Enabled: false
Rails/SafeNavigation:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/SaveBang:
Enabled: false
Rails/ScopeArgs:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails/SkipsModelValidations:
Enabled: false
Rails/TimeZone:
2018-10-25 15:00:32 +02:00
Enabled: true
Rails/UniqBeforePluck:
2018-03-06 13:44:29 +01:00
Enabled: true
2018-01-12 13:16:08 +01:00
Rails/UnknownEnv:
Enabled: false
Rails/Validation:
2018-03-06 13:44:29 +01:00
Enabled: true
Rails:
Enabled: true
2017-12-22 16:50:20 +01:00
RSpec/Focused:
Enabled: true
Security/Eval:
2018-03-06 11:53:26 +01:00
Enabled: true
Security/JSONLoad:
2018-03-06 11:53:26 +01:00
Enabled: true
Security/MarshalLoad:
2018-03-06 11:53:26 +01:00
Enabled: true
Security/Open:
Enabled: true
Security/YAMLLoad:
2018-03-06 11:53:26 +01:00
Enabled: true
Style/AccessModifierDeclarations:
Enabled: false
Style/Alias:
Enabled: false
Style/AndOr:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/ArrayJoin:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/AsciiComments:
Enabled: false
Style/Attr:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/AutoResourceCleanup:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/BarePercentLiterals:
Enabled: false
Style/BeginBlock:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/BlockComments:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/BlockDelimiters:
2018-12-18 22:08:14 +01:00
Enabled: true
Exclude:
- "spec/**/*"
Style/BracesAroundHashParameters:
Enabled: false
Style/CaseEquality:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/CharacterLiteral:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/ClassCheck:
2018-12-18 22:18:08 +01:00
Enabled: true
Style/ClassMethods:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/ClassVars:
Enabled: false
Style/CollectionMethods:
Enabled: false
Style/ColonMethodCall:
2018-12-18 22:08:41 +01:00
Enabled: true
Style/ColonMethodDefinition:
Enabled: true
Style/CommandLiteral:
Enabled: false
Style/CommentAnnotation:
Enabled: false
2018-01-12 13:16:08 +01:00
Style/CommentedKeyword:
Enabled: false
2018-01-12 13:16:08 +01:00
Style/ConditionalAssignment:
Enabled: false
Style/Copyright:
Enabled: false
2018-01-12 13:16:08 +01:00
Style/DateTime:
Enabled: false
Style/DefWithParentheses:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/Dir:
Enabled: true
Style/Documentation:
Enabled: false
Style/DocumentationMethod:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/EachForSimpleLoop:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/EachWithObject:
Enabled: false
Style/EmptyBlockParameter:
Enabled: true
Style/EmptyCaseCondition:
Enabled: false
Style/EmptyElse:
Enabled: false
Style/EmptyLambdaParameter:
Enabled: true
Style/EmptyLiteral:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/EmptyMethod:
Enabled: false
Style/Encoding:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/EndBlock:
2018-12-18 21:59:11 +01:00
Enabled: true
2018-01-12 13:16:08 +01:00
Style/EvalWithLocation:
Enabled: false
2018-01-12 13:16:08 +01:00
Style/EvenOdd:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/ExpandPathArguments:
Enabled: true
Style/FlipFlop:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/For:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/FormatString:
2018-12-18 21:55:45 +01:00
Enabled: true
Style/FormatStringToken:
2018-12-18 21:59:11 +01:00
Enabled: true
EnforcedStyle: template
Style/FrozenStringLiteralComment:
Enabled: false
Style/GlobalVars:
2018-12-18 21:59:11 +01:00
Enabled: true
Style/GuardClause:
Enabled: false
Style/HashSyntax:
Enabled: false
Style/IdenticalConditionalBranches:
Enabled: false
Style/IfInsideElse:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/IfUnlessModifierOfIfUnless:
Enabled: false
Style/IfWithSemicolon:
Enabled: false
Style/ImplicitRuntimeError:
Enabled: false
Style/InfiniteLoop:
Enabled: false
Style/InlineComment:
Enabled: false
Style/InverseMethods:
Enabled: false
Style/Lambda:
Enabled: false
Style/LambdaCall:
Enabled: false
Style/LineEndConcatenation:
Enabled: false
Style/MethodCallWithArgsParentheses:
Enabled: false
Style/MethodCallWithoutArgsParentheses:
Enabled: false
Style/MethodCalledOnDoEndBlock:
Enabled: false
Style/MethodDefParentheses:
Enabled: true
Style/MethodMissingSuper:
Enabled: false
Style/MinMax:
Enabled: true
Style/MissingElse:
Enabled: false
Style/MissingRespondToMissing:
Enabled: false
Style/MixinGrouping:
Enabled: false
2018-01-12 13:16:08 +01:00
Style/MixinUsage:
Enabled: false
Style/ModuleFunction:
Enabled: false
Style/MultilineBlockChain:
Enabled: false
Style/MultilineIfModifier:
Enabled: false
Style/MultilineIfThen:
Enabled: false
Style/MultilineMemoization:
Enabled: false
Style/MultilineTernaryOperator:
Enabled: false
Style/MultipleComparison:
Enabled: false
Style/MutableConstant:
Enabled: false
Style/NegatedIf:
Enabled: false
Style/NegatedWhile:
Enabled: false
Style/NestedModifier:
Enabled: false
Style/NestedParenthesizedCalls:
Enabled: false
Style/NestedTernaryOperator:
Enabled: false
Style/Next:
Enabled: false
Style/NilComparison:
Enabled: false
Style/NonNilCheck:
Enabled: false
Style/Not:
Enabled: false
Style/NumericLiteralPrefix:
Enabled: false
Style/NumericLiterals:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/OneLineConditional:
Enabled: false
Style/OptionHash:
Enabled: false
Style/OptionalArguments:
Enabled: false
Style/ParallelAssignment:
Enabled: false
Style/OrAssignment:
Enabled: true
Style/ParenthesesAroundCondition:
Enabled: false
Style/PercentLiteralDelimiters:
Enabled: false
Style/PercentQLiterals:
Enabled: false
Style/PerlBackrefs:
Enabled: false
Style/PreferredHashMethods:
Enabled: false
Style/Proc:
Enabled: false
Style/RaiseArgs:
Enabled: false
2018-01-12 13:16:08 +01:00
Style/RandomWithOffset:
Enabled: false
Style/RedundantBegin:
Enabled: false
Style/RedundantConditional:
Enabled: true
Style/RedundantException:
Enabled: false
Style/RedundantFreeze:
Enabled: false
Style/RedundantParentheses:
Enabled: false
Style/RedundantReturn:
Enabled: false
Style/RedundantSelf:
Enabled: false
Style/RegexpLiteral:
Enabled: false
Style/RescueModifier:
Enabled: false
2018-01-12 13:16:08 +01:00
Style/RescueStandardError:
Enabled: false
Style/ReturnNil:
Enabled: false
Style/SafeNavigation:
Enabled: false
Style/SelfAssignment:
Enabled: false
Style/Semicolon:
Enabled: false
Style/Send:
Enabled: false
Style/SignalException:
Enabled: false
Style/SingleLineBlockParams:
Enabled: false
Style/SingleLineMethods:
Enabled: false
Style/SpecialGlobalVars:
Enabled: false
Style/StabbyLambdaParentheses:
Enabled: false
Style/StderrPuts:
Enabled: true
Style/StringHashKeys:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/StringLiteralsInInterpolation:
Enabled: false
Style/StringMethods:
Enabled: false
Style/StructInheritance:
Enabled: false
Style/SymbolArray:
2018-10-01 14:26:45 +02:00
Enabled: true
EnforcedStyle: brackets
Style/SymbolLiteral:
2018-10-01 14:22:01 +02:00
Enabled: true
Style/SymbolProc:
2018-10-01 14:20:14 +02:00
Enabled: true
IgnoredMethods: [after]
Style/TernaryParentheses:
Enabled: false
Style/TrailingBodyOnClass:
Enabled: true
Style/TrailingBodyOnMethodDefinition:
Enabled: true
Style/TrailingBodyOnModule:
Enabled: true
Style/TrailingCommaInArguments:
2018-10-01 14:08:12 +02:00
Enabled: true
Style/TrailingCommaInArrayLiteral:
Enabled: true
Style/TrailingCommaInHashLiteral:
Enabled: true
Style/TrailingMethodEndStatement:
Enabled: true
Style/TrailingUnderscoreVariable:
Enabled: false
Style/TrivialAccessors:
Enabled: false
Style/UnlessElse:
Enabled: true
Style/UnneededCapitalW:
2018-10-01 14:03:44 +02:00
Enabled: true
Style/UnneededInterpolation:
2018-10-01 14:03:05 +02:00
Enabled: true
Style/UnneededPercentQ:
2018-10-01 14:01:31 +02:00
Enabled: true
Style/VariableInterpolation:
2018-10-01 14:00:48 +02:00
Enabled: true
Style/WhenThen:
Enabled: false
Style/WhileUntilDo:
2018-10-01 13:58:39 +02:00
Enabled: true
# Disabled because we don't want to use modifiers
Style/WhileUntilModifier:
Enabled: false
Style/WordArray:
2018-10-01 13:55:12 +02:00
Enabled: true
EnforcedStyle: brackets
Style/YodaCondition:
2018-10-01 13:53:55 +02:00
Enabled: true
Style/ZeroLengthPredicate:
2018-10-01 13:53:15 +02:00
Enabled: true