- fix a ton of formatting issues automatically

- fix many javascript issues
This commit is contained in:
Mike Penz
2020-10-16 16:29:13 +02:00
parent 8d59911332
commit db70432deb
10 changed files with 636 additions and 557 deletions
+20 -20
View File
@@ -1,27 +1,27 @@
interface Configuration {
sort: string;
template: string;
pr_template: string;
empty_template: string;
categories: Array<Category>;
transformers: Array<Transformer>;
export interface Configuration {
sort: string
template: string
pr_template: string
empty_template: string
categories: Category[]
transformers: Transformer[]
}
interface Category {
title: string;
labels: Array<string>;
export interface Category {
title: string
labels: string[]
}
interface Transformer {
pattern: string;
target: string;
export interface Transformer {
pattern: string
target: string
}
const DefaultConfiguration: Configuration = {
sort: "ASC",
template: "${{CHANGELOG}}",
pr_template: "- ${{TITLE}}\n - PR: #${{NUMBER}}",
empty_template: "- no changes",
categories: [],
transformers: []
export const DefaultConfiguration: Configuration = {
sort: 'ASC',
template: '${{CHANGELOG}}',
pr_template: '- ${{TITLE}}\n - PR: #${{NUMBER}}',
empty_template: '- no changes',
categories: [],
transformers: []
}