-
Notifications
You must be signed in to change notification settings - Fork 3
/
.rubocop.yml
96 lines (79 loc) · 1.8 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
AllCops:
TargetRubyVersion: 2.5
TargetRailsVersion: 5.1
CacheRootDirectory: /tmp
AllowSymlinksInCacheRootDirectory: true
Exclude:
- 'apidoc/**/*'
- 'bin/bundle'
- 'bin/rails'
- 'bin/rake'
- 'bin/setup'
- 'bin/spring'
- 'bin/update'
- 'config/deploy/*.rb'
- 'config/mixins/applications/*.rb'
- 'data/**/*'
- 'db/schema.rb'
- 'node_modules/**/*'
- 'spec/dummy/**/*'
- 'vendor/**/*'
- 'repositories/**/*'
- 'repos/**/*'
- 'tmp/**/*'
Layout/AlignParameters:
Enabled: false
Layout/DotPosition:
EnforcedStyle: trailing
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Metrics/BlockLength:
Exclude:
- 'app/graphql/**/*'
- 'config/routes.rb'
- 'config/environments/**/*'
- 'config/initializers/devise.rb'
- 'lib/tasks/**/*.rake'
- 'spec/**/*'
- 'db/migrate/*'
- '*.gemspec'
Metrics/LineLength:
Exclude:
- 'app/graphql/**/*_enum.rb'
- 'config/initializers/devise.rb'
Naming/FileName:
Exclude:
- config/deploy/*.rb
- config/mixins/applications/*.rb
- lib/git-shell.rb
- lib/graphql-pundit.rb
- lib/hets-agent.rb
- lib/ontohub-models.rb
- spec/lib/git-shell_spec.rb
Style/Documentation:
Exclude:
- 'app/indexers/**/*'
- 'spec/**/*'
Style/DoubleNegation:
Enabled: false
Style/FormatStringToken:
Enabled: false
Style/NumericLiterals:
Enabled: false
Style/PercentLiteralDelimiters:
PreferredDelimiters:
default: ()
'%i': '()'
'%I': '()'
'%r': '{}'
'%w': '()'
'%W': '()'
Style/SymbolArray:
Exclude:
- 'db/migrate/**'
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma