-
Notifications
You must be signed in to change notification settings - Fork 49
/
.rubocop.yml
40 lines (35 loc) · 1.3 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
# This configuration was generated by
# `rubocop --auto-gen-config --no-offense-counts`
# on 2019-10-18 13:52:41 -0700 using RuboCop version 0.72.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
# SupportedStylesAlignWith: keyword, variable, start_of_line
Layout/EndAlignment:
Exclude:
- 'lib/chef-api/connection.rb'
- 'lib/chef-api/resources/search.rb'
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/unit/errors_spec.rb'
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'lib/chef-api/authentication.rb'
- 'lib/chef-api/connection.rb'
- 'lib/chef-api/defaults.rb'
- 'lib/chef-api/multipart.rb'
- 'lib/chef-api/resources/client.rb'
- 'lib/chef-api/resources/search.rb'
- 'lib/chef-api/schema.rb'
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'lib/chef-api/resources/base.rb'
- 'lib/chef-api/schema.rb'
Lint/UselessAssignment:
Exclude:
- 'lib/chef-api/resources/data_bag.rb'
- 'lib/chef-api/schema.rb'