-
Notifications
You must be signed in to change notification settings - Fork 343
/
Copy path.reek
51 lines (51 loc) · 1.33 KB
/
.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
42
43
44
45
46
47
48
49
50
51
InstanceVariableAssumption:
exclude:
- Admin::ContactsController
- Admin::LocationsController
- Admin::OrganizationsController
- Admin::OrganizationContactsController
- Admin::ProgramsController
- Admin::ServiceContactsController
- Admin::ServicesController
IrresponsibleModule:
enabled: false
NestedIterators:
exclude:
- Admin::OrganizationsController#index
NilCheck:
exclude:
- ConfigValidator#required_keys_with_empty_values
- AssetHosts#call
- RegexValidator#regex_validate_each
- Location#remove_duplicates
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
- ConfigValidator#empty_keys_warning
- DateValidator#date_from_hash
- DateValidator#valid_date_format?
- PgArrayValidator#does_not_need_validation?
'spec':
DataClump:
enabled: false
LongParameterList:
enabled: false
TooManyStatements:
enabled: false
UtilityFunction:
enabled: false
exclude_paths:
- db/migrate