chore(deps): update lint (#2233)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
renovate[bot] 2023-08-02 10:28:18 +00:00 committed by GitHub
parent 603e10b6ca
commit 67d5d5c00a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 349 additions and 270 deletions

View file

@ -4,7 +4,7 @@ import type { FontSize } from '~/composables/settings'
const userSettings = useUserSettings()
const sizes = (new Array(11)).fill(0).map((x, i) => `${10 + i}px`) as FontSize[]
const sizes = (Array.from({ length: 11 })).fill(0).map((x, i) => `${10 + i}px`) as FontSize[]
function setFontSize(e: Event) {
if (e.target && 'valueAsNumber' in e.target)