-
Notifications
You must be signed in to change notification settings - Fork 319
/
.rubocop.yml
31 lines (27 loc) · 983 Bytes
/
.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
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.3
NewCops: enable
SuggestExtensions: false
# Disabling this cop at this moment
# https://github.com/rubocop/rubocop/pull/10696
Lint/NonAtomicFileOperation:
Enabled: false
# The following is a workaround for disorder in rubocop auto-gen-config
Layout/SpaceBeforeBlockBraces:
Exclude:
- 'lib/geminabox_client.rb'
- 'lib/geminabox/gem_version_collection.rb'
- 'lib/geminabox/proxy/copier.rb'
- 'lib/geminabox/server.rb'
- 'test/integration/web_interface/large_gem_list_test.rb'
- 'test/test_support/geminabox_test_case.rb'
- 'test/units/geminabox/disk_cache_test.rb'
- 'test/units/geminabox/gem_list_merge_test.rb'
- 'test/units/geminabox/proxy/copier_test.rb'
- 'test/units/geminabox/proxy/file_handler_test.rb'
- 'test/units/geminabox/proxy/splicer_test.rb'
Naming/MethodName:
Exclude:
- 'test/units/geminabox/server_test.rb'
# DO NOT ADD BELOW THIS SECTION