forked from codeforamerica/ohana-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.reek
41 lines (41 loc) · 1022 Bytes
/
.reek
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
InstanceVariableAssumption:
exclude:
- Admin::ContactsController
- Admin::LocationsController
- Admin::OrganizationsController
- Admin::OrganizationContactsController
- Admin::ProgramsController
- Admin::ServiceContactsController
- Admin::ServicesController
IrresponsibleModule:
enabled: false
NestedIterators:
exclude:
- Admin::OrganizationsController#index
TooManyMethods:
exclude:
- Admin::CsvController
- Admin::ServicesController
TooManyStatements:
max_statements: 6
exclude:
- Admin::ContactsController
- Admin::OrganizationsController
- Admin::OrganizationContactsController
- Admin::ServiceContactsController
- Admin::ServicesController
UtilityFunction:
exclude:
- Admin::ServicesController#program_ids_for
- Admin::CsvController#zip_file_name
'spec':
DataClump:
enabled: false
LongParameterList:
enabled: false
TooManyStatements:
enabled: false
UtilityFunction:
enabled: false
exclude_paths:
- db/migrate