summaryrefslogtreecommitdiff
path: root/.rubocop.yml
blob: deaab8895d422fa52ecec458f01c2d435468a6d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
inherit_gem:
  gitlab-styles:
    - rubocop-default.yml

require:
  - rubocop-rspec

AllCops:
  TargetRubyVersion: 2.7
  Exclude:
    - 'tmp/**/*'
    - 'spec/fixtures/**/*'
    - 'vendor/**/*'

Cop/GemFetcher:
  Enabled: false

Naming/ClassAndModuleCamelCase:
  Exclude:
    - 'lib/license/management/report/v1_1.rb'
    - 'lib/license/management/report/v2_1.rb'

Layout/IndentFirstArrayElement:
  EnforcedStyle: consistent

Layout/IndentFirstHashElement:
  EnforcedStyle: consistent

Rails/SkipsModelValidations:
  Enabled: false