.rubocop.yml 586 Bytes
Newer Older
Rémy Coutable's avatar
Rémy Coutable committed
1 2 3 4 5
require:
  # Due to a probably bug in rubocop (https://github.com/bbatsov/rubocop/issues/5251)
  # we need to require rubocop-rspec a second time so that RSpec/FilePath does
  # not fallback to Rails/FilePath.
  - rubocop-rspec
6

Rémy Coutable's avatar
Rémy Coutable committed
7 8 9
inherit_gem:
  gitlab-styles:
    - rubocop-default.yml
10 11 12

Lint/ShadowingOuterLocalVariable:
  Enabled: false
13

Rémy Coutable's avatar
Rémy Coutable committed
14 15
Metrics/AbcSize:
  Max: 18
16 17 18

Metrics/MethodLength:
  Max: 20
19

Rémy Coutable's avatar
Rémy Coutable committed
20 21 22
Rails:
  Enabled: false

Grzegorz Bizon's avatar
Grzegorz Bizon committed
23 24 25
Style/ExtendSelf:
  Enabled: false

Rémy Coutable's avatar
Rémy Coutable committed
26 27 28 29
Style/ModuleFunction:
  Enabled: false

Style/SignalException:
Grzegorz Bizon's avatar
Grzegorz Bizon committed
30
  Enabled: false
31 32 33

Layout/SpaceBeforeFirstArg:
  Enabled: false