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: f36b71655d99d6b26032de6bca9949a683a0cda4 (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
inherit_gem:
  gitlab-styles:
    - rubocop-default.yml

AllCops:
  NewCops: enable

CodeReuse/ActiveRecord:
  Enabled: false

Layout/LineLength:
  Enabled: false

Naming/FileName:
  Enabled: false

# Project is not a Rails project
Rails/RakeEnvironment:
  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