summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/.rubocop.yml
blob: 9f1c7c0bf3726dc03c3b66b6a2a6b4b7b8b18572 (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
inherit_from: .rubocop_todo.yml

AllCops:
  Exclude:
    - 'extensions/**/*'
    - 'vendor/**/*'

AllCops:
  StyleGuideCopsOnly: true

# Uncomment when lines are under 100 lenghth
# Metrics/LineLength:
#   Max: 100

Metrics/MethodLength:
  Enabled: false

Style/Alias:
  Enabled: false

Style/SignalException:
  Enabled: false

Style/StringLiterals:
  EnforcedStyle: single_quotes

Style/TrivialAccessors:
  ExactNameMatch: true