зеркало из https://github.com/mozilla/glean.git
23 строки
460 B
YAML
23 строки
460 B
YAML
style:
|
|
# We want to allow "TODO" in comments
|
|
ForbiddenComment:
|
|
active: false
|
|
build:
|
|
maxIssues: 0
|
|
|
|
complexity:
|
|
LongMethod:
|
|
active: true
|
|
threshold: 60
|
|
|
|
# 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$]+'
|