You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
Chore: Implement eslint rule no-unused-expressions (#11533)
This commit is contained in:
@@ -113,6 +113,7 @@ export async function testStringPerformance(method: EncryptionMethod, dataSize:
|
||||
const deserialized = await Note.unserialize(serialized);
|
||||
const decryptedNote = await Note.decrypt(deserialized);
|
||||
const tick3 = performance.now();
|
||||
// eslint-disable-next-line no-unused-expressions -- Old code before rule was applied
|
||||
(decryptedNote.title === note.title);
|
||||
encryptTime += tick2 - tick1;
|
||||
decryptTime += tick3 - tick2;
|
||||
|
||||
Reference in New Issue
Block a user