You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Tools: Add prefer-arrow-callbacks to ESlint rules (#7810)
This commit is contained in:
@@ -8,7 +8,7 @@ export function sortByValue(object: any) {
|
||||
});
|
||||
}
|
||||
|
||||
temp.sort(function(a, b) {
|
||||
temp.sort((a, b) => {
|
||||
let v1 = a.value;
|
||||
let v2 = b.value;
|
||||
if (typeof v1 === 'string') v1 = v1.toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user