diff options
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 7dab38792..1cbdadd49 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -17,12 +17,19 @@ Bundler/OrderedGems: Layout/AccessModifierIndentation: EnforcedStyle: indent +Layout/EmptyLineAfterMagicComment: + Enabled: false + Layout/SpaceInsideHashLiteralBraces: EnforcedStyle: space Metrics/AbcSize: Max: 100 +Metrics/BlockLength: + Exclude: + - 'lib/tasks/**/*' + Metrics/BlockNesting: Max: 3 @@ -58,6 +65,9 @@ Rails: Rails/HasAndBelongsToMany: Enabled: false +Rails/SkipsModelValidations: + Enabled: false + Style/ClassAndModuleChildren: Enabled: false @@ -81,11 +91,19 @@ Style/GuardClause: Style/Lambda: Enabled: false +Style/PercentLiteralDelimiters: + PreferredDelimiters: + '%i': '()' + '%w': '()' + Style/PerlBackrefs: AutoCorrect: false Style/RegexpLiteral: Enabled: false +Style/SymbolArray: + Enabled: false + Style/TrailingCommaInLiteral: EnforcedStyleForMultiline: 'comma' |