diff --git a/keyserver/src/responders/landing-handler.js b/keyserver/src/responders/landing-handler.js
--- a/keyserver/src/responders/landing-handler.js
+++ b/keyserver/src/responders/landing-handler.js
@@ -109,6 +109,7 @@
}
}
+// eslint-disable-next-line react/no-deprecated
const { renderToNodeStream } = ReactDOMServer;
async function landingResponder(req: $Request, res: $Response) {
diff --git a/keyserver/src/responders/website-responders.js b/keyserver/src/responders/website-responders.js
--- a/keyserver/src/responders/website-responders.js
+++ b/keyserver/src/responders/website-responders.js
@@ -19,6 +19,7 @@
getWebAppURLFacts,
} from '../utils/urls.js';
+// eslint-disable-next-line react/no-deprecated
const { renderToNodeStream } = ReactDOMServer;
const access = promisify(fs.access);
diff --git a/native/avatars/avatar-hooks.js b/native/avatars/avatar-hooks.js
--- a/native/avatars/avatar-hooks.js
+++ b/native/avatars/avatar-hooks.js
@@ -479,6 +479,7 @@
return (
@@ -487,6 +488,7 @@
return (
@@ -495,6 +497,7 @@
return (
@@ -503,6 +506,7 @@
return (
@@ -511,6 +515,7 @@
return (
diff --git a/native/chat/swipeable-message.react.js b/native/chat/swipeable-message.react.js
--- a/native/chat/swipeable-message.react.js
+++ b/native/chat/swipeable-message.react.js
@@ -36,6 +36,7 @@
const panGestureHandlerActiveOffsetX = [-4, 4];
const panGestureHandlerFailOffsetY = [-5, 5];
+// prettier-ignore
function dividePastDistance(
value /*: number */,
distance /*: number */,
@@ -50,6 +51,7 @@
return absFactor * (distance + (absValue - distance) / factor);
}
+// prettier-ignore
function makeSpringConfig(velocity /*: number */) /*: WithSpringConfig */ {
'worklet';
return {
@@ -63,24 +65,28 @@
};
}
+// prettier-ignore
function interpolateOpacityForViewerPrimarySnake(
translateX /*: number */,
) /*: number */ {
'worklet';
return interpolate(translateX, [-20, -5], [1, 0], Extrapolate.CLAMP);
}
+// prettier-ignore
function interpolateOpacityForNonViewerPrimarySnake(
translateX /*: number */,
) /*: number */ {
'worklet';
return interpolate(translateX, [5, 20], [0, 1], Extrapolate.CLAMP);
}
+// prettier-ignore
function interpolateTranslateXForViewerSecondarySnake(
translateX /*: number */,
) /*: number */ {
'worklet';
return interpolate(translateX, [-130, -120, -60, 0], [-130, -120, -5, 20]);
}
+// prettier-ignore
function interpolateTranslateXForNonViewerSecondarySnake(
translateX /*: number */,
) /*: number */ {
@@ -213,6 +219,7 @@
const translateX = useSharedValue(0);
const swipeEvent = useAnimatedGestureHandler(
{
+ // prettier-ignore
onStart: (
event /*: PanGestureEvent */,
ctx /*: { [string]: mixed } */,
@@ -220,6 +227,7 @@
ctx.translationAtStart = translateX.value;
cancelAnimation(translateX.value);
},
+ // prettier-ignore
onActive: (
event /*: PanGestureEvent */,
ctx /*: { [string]: mixed } */,
@@ -252,6 +260,7 @@
}
ctx.prevPastSecondaryThreshold = pastSecondaryThreshold;
},
+ // prettier-ignore
onEnd: (event /*: PanGestureEvent */) => {
const absValue = Math.abs(translateX.value);
if (absValue >= secondaryThreshold && secondaryActionExists) {
diff --git a/services/electron-update-server/index.js b/services/electron-update-server/index.js
--- a/services/electron-update-server/index.js
+++ b/services/electron-update-server/index.js
@@ -13,6 +13,7 @@
});
const app = express();
+// prettier-ignore
app.all('*', (req /*: $Request */, res /*: $Response */) => {
hazelServer(req, res);
});