add semantic prefixes from docs

This commit is contained in:
Samuel Attard 2018-06-22 00:10:19 +10:00
parent 57a18d4c49
commit 81640806bc
No known key found for this signature in database
GPG key ID: 273DC1869D8F13EF

View file

@ -218,7 +218,10 @@ class Note {
this.originalTitle.startsWith('deps:') ||
this.originalTitle.startsWith('refactor:') ||
this.originalTitle.startsWith('tools:') ||
this.originalTitle.startsWith('vendor:')) return NoteType.OTHER
this.originalTitle.startsWith('vendor:') ||
this.originalTitle.startsWith('perf:') ||
this.originalTitle.startsWith('style:') ||
this.originalTitle.startsWith('ci')) return NoteType.OTHER
if (this.originalTitle.startsWith('doc:') ||
this.originalTitle.startsWith('docs:')) return NoteType.DOCUMENTATION