[Glitch] Upgrade to Prettier 3

Port 73b64b8917 to glitch-soc
This commit is contained in:
Claire
2023-07-13 13:58:47 +02:00
parent 95a1fde6b6
commit 0870c7c95e
18 changed files with 55 additions and 39 deletions

View File

@ -3,12 +3,12 @@ const easingOutQuint = (
t: number,
b: number,
c: number,
d: number
d: number,
) => c * ((t = t / d - 1) * t * t * t * t + 1) + b;
const scroll = (
node: Element,
key: 'scrollTop' | 'scrollLeft',
target: number
target: number,
) => {
const startTime = Date.now();
const offset = node[key];