chore(prettier): update prettier config

This commit is contained in:
Shintaro Jokagi 2025-05-28 13:50:37 +12:00
parent ceef83d609
commit a77c141d35
No known key found for this signature in database
GPG key ID: 0DDF8FA44C9A0DA8
66 changed files with 709 additions and 709 deletions

View file

@ -1,4 +1,4 @@
import releaseNotesStable from "./release-notes/stable.json"
import releaseNotesStable from './release-notes/stable.json'
type FixWithIssue = {
description: string
@ -25,12 +25,12 @@ export type ReleaseNote = {
}
export const releaseNotes: ReleaseNote[] = releaseNotesStable.reverse()
export { default as releaseNotesTwilight } from "./release-notes/twilight.json"
export { default as releaseNotesTwilight } from './release-notes/twilight.json'
export function getReleaseNoteFirefoxVersion(releaseNote: ReleaseNote): string | null {
// Check if "firefox" is on the feature list
for (const feature of releaseNote.features || []) {
if (feature.toLowerCase().includes("firefox")) {
if (feature.toLowerCase().includes('firefox')) {
// may be X or X.X or X.X.X
const match = feature.match(/(\d+(\.\d+){0,2})/)
if (match) {