mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 03:43:27 +01:00
Switch from eslint to oxlint
Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
@@ -8,6 +8,6 @@ import { AvatarColors } from '../types/Colors.std.js';
|
||||
const { sample } = lodash;
|
||||
|
||||
export function getRandomColor(): AvatarColorType {
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
// oxlint-disable-next-line typescript/no-non-null-assertion
|
||||
return sample(AvatarColors) || AvatarColors[0]!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user