update prettier config and run on all files

This commit is contained in:
Przemek Więch
2025-02-06 00:11:24 +01:00
parent 187557bd2f
commit 84a0149e0e
31 changed files with 153 additions and 128 deletions

View File

@@ -1,4 +1,4 @@
import {expect, describe, it} from '@jest/globals';
import {describe, expect, it} from '@jest/globals';
import {createIntl} from 'react-intl';
import {calcAge} from './age_util';

View File

@@ -1,6 +1,6 @@
import {Date as TopolaDate} from 'topola/dist/data';
import {IntlShape} from 'react-intl';
import {DateOrRange, getDate} from 'topola';
import {Date as TopolaDate} from 'topola/dist/data';
import {
areDateRangesOverlapped,
compareDates,

View File

@@ -1,5 +1,5 @@
import {Date as TopolaDate, DateOrRange, DateRange, getDate} from 'topola';
import {IntlShape} from 'react-intl';
import {DateOrRange, DateRange, getDate, Date as TopolaDate} from 'topola';
const DATE_QUALIFIERS = new Map([
['abt', 'about'],

View File

@@ -1,4 +1,4 @@
import {expect, describe, it} from '@jest/globals';
import {describe, expect, it} from '@jest/globals';
import {getName, normalizeGedcom} from './gedcom_util';
describe('normalizeGedcom()', () => {

View File

@@ -1,5 +1,4 @@
import {GedcomEntry, parse as parseGedcom} from 'parse-gedcom';
import {TopolaError} from './error';
import {
gedcomEntriesToJson,
JsonFam,
@@ -8,6 +7,7 @@ import {
JsonIndi,
} from 'topola';
import {compareDates} from './date_util';
import {TopolaError} from './error';
export interface GedcomData {
/** The HEAD entry. */