mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-25 21:21:54 +00:00
update prettier config and run on all files
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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'],
|
||||
|
||||
@@ -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()', () => {
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user