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:
parent
603e10b6ca
commit
67d5d5c00a
18 changed files with 349 additions and 270 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue