alpha sort
This commit is contained in:
Родитель
af4903dbb4
Коммит
c1626b6008
|
@ -41,8 +41,8 @@ export interface FormatSettings extends PQP.Settings {
|
|||
export const DefaultSettings: FormatSettings = {
|
||||
...PQP.DefaultSettings,
|
||||
indentationLiteral: IndentationLiteral.SpaceX4,
|
||||
newlineLiteral: NewlineLiteral.Windows,
|
||||
maxWidth: 120,
|
||||
newlineLiteral: NewlineLiteral.Windows,
|
||||
};
|
||||
|
||||
export async function tryFormat(formatSettings: FormatSettings, text: string): Promise<TriedFormat> {
|
||||
|
|
|
@ -10,8 +10,8 @@ import { FormatSettings, IndentationLiteral, NewlineLiteral, TriedFormat, tryFor
|
|||
const DefaultFormatSettings: FormatSettings = {
|
||||
...PQP.DefaultSettings,
|
||||
indentationLiteral: IndentationLiteral.SpaceX4,
|
||||
newlineLiteral: NewlineLiteral.Unix,
|
||||
maxWidth: 120,
|
||||
newlineLiteral: NewlineLiteral.Unix,
|
||||
};
|
||||
|
||||
export function compare(expected: string, actual: string, newlineLiteral: NewlineLiteral = NewlineLiteral.Unix): void {
|
||||
|
|
Загрузка…
Ссылка в новой задаче