mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 15:45:39 +01:00
Switch from eslint to oxlint
Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
@@ -9,7 +9,7 @@ import { IMAGE_GIF } from '../../types/MIME.std.js';
|
||||
describe('_cleanMessageData', () => {
|
||||
it('throws if message is missing received_at', () => {
|
||||
assert.throws(() => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
// oxlint-disable-next-line typescript/no-explicit-any
|
||||
_cleanMessageData({} as any);
|
||||
}, 'received_at');
|
||||
});
|
||||
@@ -27,7 +27,7 @@ describe('_cleanMessageData', () => {
|
||||
{
|
||||
contentType: IMAGE_GIF,
|
||||
size: 4,
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
// oxlint-disable-next-line typescript/no-explicit-any
|
||||
data: 1 as any,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user