Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.rubocop.yml - gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d08c0356d395e8fba78daa541659caa4da284858 (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
31
32
33
34
35
36
37
38
39
inherit_gem:
  gitlab-styles:
    - rubocop-default.yml

AllCops:
  NewCops: enable
  SuggestExtensions: false

CodeReuse/ActiveRecord:
  Enabled: false

Layout/LineLength:
  Enabled: false

Naming/FileName:
  Enabled: false

# Project is not a Rails project
Rails/NegateInclude:
  Enabled: false
Rails/RakeEnvironment:
  Enabled: false
Rails/Pluck:
  Enabled: false

RSpec/FilePath:
  SpecSuffixOnly: true

RSpec/MultipleMemoizedHelpers:
  Enabled: false

Style/FrozenStringLiteralComment:
  Enabled: false

# See https://gitlab.com/gitlab-org/gitlab/-/issues/327495
# Prefer percent_r instead of mix of styles
Style/RegexpLiteral:
  Enabled: true
  EnforcedStyle: percent_r