Skip to content

Add quotes to font family names #341

Add quotes to font family names

Add quotes to font family names #341

Triggered via pull request November 15, 2023 15:04
Status Failure
Total duration 46s
Artifacts

pr-checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Lint: admin/js/form-script.js#L5
Replace `·element·` with `element`
Lint: admin/js/form-script.js#L6
Replace `·!·element?.value·` with `!element?.value`
Lint: admin/js/form-script.js#L12
Replace `·themeType·` with `themeType`
Lint: admin/js/form-script.js#L24
Replace `·'new_theme_metadata_form'·` with `'new_theme_metadata_form'`
Lint: admin/js/form-script.js#L25
Replace `·'hidden',·false·` with `'hidden',·false`
Lint: admin/js/form-script.js#L27
Replace `·element.value·` with `element.value`
Lint: admin/js/form-script.js#L28
Replace `·'subject'·` with `'subject'`
Lint: admin/js/form-script.js#L35
Replace `·'new_theme_metadata_form'·` with `'new_theme_metadata_form'`
Lint: admin/js/form-script.js#L36
Replace `·'hidden',·false·` with `'hidden',·false`
Lint: admin/js/form-script.js#L38
Replace `·true·` with `true`
Lint: src/fonts-sidebar/index.js#L42
React Hook useEffect has a missing dependency: 'flatfontsOutline'. Either include it or remove the dependency array
Lint: src/google-fonts/index.js#L155
React Hook useSelect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies
Lint: src/manage-fonts/index.js#L50
React Hook useEffect has missing dependencies: 'fontToDelete.fontFamily' and 'manageFontsFormElement'. Either include them or remove the dependency array