Upgrade prettier to 2.3.0

This commit is contained in:
Simon Warta
2021-06-01 09:07:53 +02:00
parent 72a27e9969
commit 11ea9d30a1
28 changed files with 117 additions and 134 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import { ReadonlyDate } from "readonly-date";
const rfc3339Matcher = /^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(\.\d{1,9})?((?:[+-]\d{2}:\d{2})|Z)$/;
const rfc3339Matcher =
/^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(\.\d{1,9})?((?:[+-]\d{2}:\d{2})|Z)$/;
function padded(integer: number, length = 2): string {
const filled = "00000" + integer.toString();