|
1 | 1 | ---
|
| 2 | +require: |
| 3 | + - rubocop-rspec |
| 4 | + |
2 | 5 | AllCops:
|
| 6 | + SuggestExtensions: false |
3 | 7 | TargetRubyVersion: 2.3
|
4 | 8 |
|
5 |
| -Layout/AlignArguments: |
6 |
| - EnforcedStyle: with_fixed_indentation |
7 |
| - |
8 |
| -Layout/EndAlignment: |
9 |
| - EnforcedStyleAlignWith: variable |
10 |
| - |
11 |
| -Layout/AlignParameters: |
12 |
| - EnforcedStyle: with_fixed_indentation |
| 9 | +Gemspec/DeprecatedAttributeAssignment: { Enabled: true } |
| 10 | +Gemspec/RequireMFA: { Enabled: true } |
13 | 11 |
|
14 |
| -Layout/IndentFirstArgument: |
15 |
| - EnforcedStyle: consistent |
| 12 | +Layout/ArgumentAlignment: { EnforcedStyle: with_fixed_indentation } |
| 13 | +Layout/CaseIndentation: { EnforcedStyle: end } |
| 14 | +Layout/EndAlignment: { EnforcedStyleAlignWith: start_of_line } |
| 15 | +Layout/FirstArgumentIndentation: { EnforcedStyle: consistent } |
| 16 | +Layout/FirstArrayElementIndentation: { EnforcedStyle: consistent } |
| 17 | +Layout/FirstHashElementIndentation: { EnforcedStyle: consistent } |
| 18 | +Layout/LineContinuationLeadingSpace: { Enabled: true } |
| 19 | +Layout/LineContinuationSpacing: { Enabled: true } |
| 20 | +Layout/LineEndStringConcatenationIndentation: { Enabled: true, EnforcedStyle: indented } |
| 21 | +Layout/LineLength: { Max: 120 } |
| 22 | +Layout/MultilineMethodCallIndentation: { EnforcedStyle: indented } |
| 23 | +Layout/ParameterAlignment: { EnforcedStyle: with_fixed_indentation } |
| 24 | +Layout/RescueEnsureAlignment: { Enabled: false } |
| 25 | +Layout/SpaceBeforeBrackets: { Enabled: true } |
16 | 26 |
|
17 |
| -Layout/IndentFirstArrayElement: |
18 |
| - EnforcedStyle: consistent |
| 27 | +Lint/AmbiguousAssignment: { Enabled: true } |
| 28 | +Lint/AmbiguousOperatorPrecedence: { Enabled: true } |
| 29 | +Lint/AmbiguousRange: { Enabled: true } |
| 30 | +Lint/ConstantOverwrittenInRescue: { Enabled: true } |
| 31 | +Lint/DeprecatedConstants: { Enabled: true } |
| 32 | +Lint/DuplicateBranch: { Enabled: true } |
| 33 | +Lint/DuplicateRegexpCharacterClassElement: { Enabled: true } |
| 34 | +Lint/EmptyBlock: { Enabled: true } |
| 35 | +Lint/EmptyClass: { Enabled: true } |
| 36 | +Lint/EmptyInPattern: { Enabled: true } |
| 37 | +Lint/IncompatibleIoSelectWithFiberScheduler: { Enabled: true } |
| 38 | +Lint/LambdaWithoutLiteralBlock: { Enabled: true } |
| 39 | +Lint/NoReturnInBeginEndBlocks: { Enabled: true } |
| 40 | +Lint/NonAtomicFileOperation: { Enabled: true } |
| 41 | +Lint/NumberedParameterAssignment: { Enabled: true } |
| 42 | +Lint/OrAssignmentToConstant: { Enabled: true } |
| 43 | +Lint/RaiseException: { Enabled: true } |
| 44 | +Lint/RedundantDirGlobSort: { Enabled: true } |
| 45 | +Lint/RefinementImportMethods: { Enabled: true } |
| 46 | +Lint/RequireRangeParentheses: { Enabled: true } |
| 47 | +Lint/RequireRelativeSelfPath: { Enabled: true } |
| 48 | +Lint/StructNewOverride: { Enabled: true } |
| 49 | +Lint/SymbolConversion: { Enabled: true } |
| 50 | +Lint/ToEnumArguments: { Enabled: true } |
| 51 | +Lint/TripleQuotes: { Enabled: true } |
| 52 | +Lint/UnexpectedBlockArity: { Enabled: true } |
| 53 | +Lint/UnmodifiedReduceAccumulator: { Enabled: true } |
| 54 | +Lint/UselessRuby2Keywords: { Enabled: true } |
19 | 55 |
|
20 |
| -Layout/IndentFirstHashElement: |
21 |
| - EnforcedStyle: consistent |
| 56 | +RSpec/BeEq: { Enabled: true } |
| 57 | +RSpec/BeNil: { Enabled: true } |
| 58 | +RSpec/Capybara/SpecificMatcher: { Enabled: true } |
| 59 | +RSpec/ChangeByZero: { Enabled: true } |
| 60 | +RSpec/ExampleLength: { Enabled: false } |
| 61 | +RSpec/ExcessiveDocstringSpacing: { Enabled: true } |
| 62 | +RSpec/FactoryBot/SyntaxMethods: { Enabled: true } |
| 63 | +RSpec/FilePath: { Enabled: false } |
| 64 | +RSpec/IdenticalEqualityAssertion: { Enabled: true } |
| 65 | +RSpec/MessageSpies: { Enabled: false } |
| 66 | +RSpec/MultipleExpectations: { Enabled: false } |
| 67 | +RSpec/MultipleMemoizedHelpers: { Enabled: false } |
| 68 | +RSpec/NamedSubject: { Enabled: false } |
| 69 | +RSpec/Rails/AvoidSetupHook: { Enabled: true } |
| 70 | +RSpec/Rails/HaveHttpStatus: { Enabled: true } |
| 71 | +RSpec/SubjectDeclaration: { Enabled: true } |
| 72 | +RSpec/SubjectStub: { Enabled: false } |
| 73 | +RSpec/VerifiedDoubleReference: { Enabled: true } |
22 | 74 |
|
23 |
| -Layout/MultilineMethodCallIndentation: |
24 |
| - EnforcedStyle: indented |
| 75 | +Metrics/AbcSize: { Max: 40 } |
| 76 | +Metrics/BlockLength: { Enabled: false } |
| 77 | +Metrics/ClassLength: { Enabled: false } |
| 78 | +Metrics/CyclomaticComplexity: { Enabled: false } |
| 79 | +Metrics/MethodLength: { Max: 30 } |
| 80 | +Metrics/PerceivedComplexity: { Enabled: false } |
25 | 81 |
|
26 |
| -Style/Documentation: |
27 |
| - Enabled: false |
| 82 | +Naming/BlockForwarding: { Enabled: true } |
| 83 | +Naming/MethodParameterName: { MinNameLength: 1 } |
28 | 84 |
|
29 |
| -Style/FrozenStringLiteralComment: |
30 |
| - Enabled: true |
31 |
| - EnforcedStyle: always |
| 85 | +Security/CompoundHash: { Enabled: true } |
| 86 | +Security/IoMethods: { Enabled: true } |
32 | 87 |
|
33 |
| -Style/EmptyMethod: |
34 |
| - EnforcedStyle: expanded |
| 88 | +Style/ArgumentsForwarding: { Enabled: true } |
| 89 | +Style/CollectionCompact: { Enabled: true } |
| 90 | +Style/DocumentDynamicEvalDefinition: { Enabled: false } |
| 91 | +Style/Documentation: { Enabled: false } |
| 92 | +Style/EmptyHeredoc: { Enabled: true } |
| 93 | +Style/EmptyMethod: { EnforcedStyle: expanded } |
| 94 | +Style/EndlessMethod: { Enabled: true } |
| 95 | +Style/ExplicitBlockArgument: { Enabled: false } |
| 96 | +Style/EnvHome: { Enabled: true } |
| 97 | +Style/FetchEnvVar: { Enabled: true } |
| 98 | +Style/FileRead: { Enabled: true } |
| 99 | +Style/FileWrite: { Enabled: true } |
| 100 | +Style/FrozenStringLiteralComment: { Enabled: true, EnforcedStyle: always } |
| 101 | +Style/GuardClause: { Enabled: false } |
| 102 | +Style/HashConversion: { Enabled: true } |
| 103 | +Style/HashEachMethods: { Enabled: true } |
| 104 | +Style/HashExcept: { Enabled: true } |
| 105 | +Style/HashTransformKeys: { Enabled: false } |
| 106 | +Style/HashTransformValues: { Enabled: false } |
| 107 | +Style/IfUnlessModifier: { Enabled: false } |
| 108 | +Style/IfWithBooleanLiteralBranches: { Enabled: true } |
| 109 | +Style/InPatternThen: { Enabled: true } |
| 110 | +Style/MagicCommentFormat: { Enabled: true } |
| 111 | +Style/MapCompactWithConditionalBlock: { Enabled: true } |
| 112 | +Style/MapToHash: { Enabled: true } |
| 113 | +Style/MultilineInPatternThen: { Enabled: true } |
| 114 | +Style/NegatedIfElseCondition: { Enabled: true } |
| 115 | +Style/NestedFileDirname: { Enabled: true } |
| 116 | +Style/NilLambda: { Enabled: true } |
| 117 | +Style/NumberedParameters: { Enabled: true } |
| 118 | +Style/NumberedParametersLimit: { Enabled: true } |
| 119 | +Style/ObjectThen: { Enabled: true } |
| 120 | +Style/OpenStructUse: { Enabled: false } |
| 121 | +Style/QuotedSymbols: { Enabled: true } |
| 122 | +Style/RedundantArgument: { Enabled: true } |
| 123 | +Style/RedundantInitialize: { Enabled: true } |
| 124 | +Style/RedundantSelfAssignmentBranch: { Enabled: true } |
| 125 | +Style/SelectByRegexp: { Enabled: true } |
| 126 | +Style/StringChars: { Enabled: true } |
| 127 | +Style/SwapValues: { Enabled: true } |
0 commit comments