forked from NREL/openstudio-standards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
28 lines (22 loc) · 854 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
# 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/hvac_sizing/**/*'
- 'lib/openstudio-standards/btap/**/*'
- 'lib/openstudio-standards/standards/necb/**/*'
- 'lib/openstudio-standards/prototypes/common/do_not_edit_metaclasses.rb'
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