-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
41 lines (40 loc) · 1.16 KB
/
.rubocop.yml
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
40
41
AllCops:
Exclude:
- 'node_modules/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- '.git/**/*'
# Default formatter will be used if no `-f/--format` option is given.
DefaultFormatter: progress
# Cop names are displayed in offense messages by default. Change behavior
# by overriding DisplayCopNames, or by giving the `--no-display-cop-names`
# option.
DisplayCopNames: true
# Style guide URLs are not displayed in offense messages by default. Change
# behavior by overriding `DisplayStyleGuide`, or by giving the
# `-S/--display-style-guide` option.
DisplayStyleGuide: true
# When specifying style guide URLs, any paths and/or fragments will be
# evaluated relative to the base URL.
StyleGuideBaseURL: https://rubystyle.guide
Layout/LineLength:
Enabled: false
Metrics/AbcSize:
Enabled: true
Exclude:
- './lib/dashbeautiful/dashboard_base.rb'
Metrics/BlockLength:
Enabled: true
Exclude:
- 'meraki.gemspec'
- '**/*_spec.rb'
Metrics/ModuleLength:
Enabled: true
Exclude:
- '**/*_spec.rb'
Style/ClassVars:
Enabled: true
Exclude:
- './lib/dashbeautiful/dashboard_base.rb'
Style/FrozenStringLiteralComment:
Enabled: false