forked from MarczalTSIGP/tsicms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
executable file
·103 lines (80 loc) · 1.98 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Rails:
Enabled: true
require: rubocop-rspec
AllCops:
TargetRubyVersion: 2.4
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
# to ignore them, so only the ones explicitly set in this file are enabled.
# DisabledByDefault: true
Exclude:
- 'bin/*'
- '*/templates//'
- '*/vendor//'
- 'actionpack/lib/action_dispatch/journey/parser.rb'
- 'railties/test/fixtures/tmp/*/'
- 'db/schema.rb'
- 'config/initializers/simple_form.rb'
- 'config/initializers/simple_form_bootstrap.rb'
- 'config/initializers/devise.rb'
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/SymbolArray:
EnforcedStyle: brackets
Metrics/LineLength:
Max: 100
Exclude:
- 'config/environments/production.rb'
- 'config/initializers/backtrace_silencers.rb'
- 'config/initializers/content_security_policy.rb'
Metrics/AbcSize:
Max: 30
Metrics/MethodLength:
Max: 15
Bundler/OrderedGems:
Enabled: false
Style/ExpandPathArguments:
Exclude:
- 'bin/*'
- 'spec/rails_helper.rb'
Style/StringLiterals:
Exclude:
- 'bin/*'
- 'config/puma.rb'
- 'config/environments/production.rb'
Style/StderrPuts:
Exclude:
Style/BlockComments:
Exclude:
- 'spec/spec_helper.rb'
Layout/SpaceInsideArrayLiteralBrackets:
Exclude:
- 'config/environments/production.rb'
Style/NumericLiterals:
Exclude:
- 'config/puma.rb'
Rails/OutputSafety:
Exclude:
- 'lib/builders/bootstrap_breadcrumbs_builder.rb'
Metrics/BlockLength:
Exclude:
- 'lib/tasks/populate.rake'
- 'spec/features/**/*'
- 'config/routes.rb'
RSpec/MultipleExpectations:
Exclude:
- 'spec/features/**/*'
RSpec/ExampleLength:
Exclude:
- 'spec/features/**/*'
RSpec/HookArgument:
EnforcedStyle: each
RSpec/MissingExampleGroupArgument:
Exclude:
- 'spec/factories/galleries.rb'
RSpec/EmptyExampleGroup:
Exclude:
- 'spec/factories/galleries.rb'