2019-05-14 17:54:33 +03:00
|
|
|
style:
|
|
|
|
# We want to allow "TODO" in comments
|
|
|
|
ForbiddenComment:
|
|
|
|
active: false
|
2019-07-08 12:37:38 +03:00
|
|
|
build:
|
|
|
|
maxIssues: 0
|
2019-08-03 00:26:31 +03:00
|
|
|
|
|
|
|
complexity:
|
|
|
|
LongMethod:
|
|
|
|
active: true
|
|
|
|
threshold: 60
|
2019-10-21 15:09:53 +03:00
|
|
|
|
|
|
|
# We need to relax naming of enums and classes a bit,
|
|
|
|
# as they are generated by the glean_parser for metric types, such as events.
|
|
|
|
naming:
|
|
|
|
active: true
|
|
|
|
ClassNaming:
|
|
|
|
active: true
|
|
|
|
classPattern: '[a-zA-Z0-9$]+'
|
|
|
|
EnumNaming:
|
|
|
|
active: true
|
|
|
|
enumEntryPattern: '[a-zA-Z0-9$]+'
|