-
Notifications
You must be signed in to change notification settings - Fork 58
/
.rubocop.yml
34 lines (26 loc) · 922 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
32
33
34
# Most of the maintainers of this code are professional engineers,
# not professional Rubyists. The style guide for this project
# has been modified accordingly, with explanations given below.
# Where a Cop is not listed, it uses the Rubocop defaults.
AllCops:
Exclude:
- 'data/**/*'
- 'test/**/*'
- 'lib/openstudio-standards/btap/**/*'
- 'lib/openstudio-standards/standards/necb/**/*'
- 'lib/openstudio-standards/prototypes/common/do_not_edit_metaclasses.rb'
NewCops: enable
inherit_from:
- http://s3.amazonaws.com/openstudio-resources/styles/rubocop.yml
# =============== OpenStudio Standards Specific ===========
# Ignore file name convention; choices based on OpenStudio C++ class names
Metrics/AbcSize:
Max: 200
Metrics/BlockLength:
Max: 100
Naming/FileName:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/HashSyntax:
EnforcedShorthandSyntax: either