Skip to content

Commit 37bc18b

Browse files
committed
[hygiene] Lint fixes
1 parent 3c802c0 commit 37bc18b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/@types/ui-react/docs.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11985,9 +11985,9 @@
1198511985
*
1198611986
* ```jsx
1198711987
* import React from 'react';
11988-
* import {createRoot} from 'react-dom/client';
1198911988
* import {createLocalSynchronizer} from 'tinybase/synchronizers/synchronizer-local';
1199011989
* import {createMergeableStore} from 'tinybase';
11990+
* import {createRoot} from 'react-dom/client';
1199111991
* import {useSynchronizerStatus} from 'tinybase/ui-react';
1199211992
*
1199311993
* const synchronizer = createLocalSynchronizer(createMergeableStore());
@@ -12006,9 +12006,9 @@
1200612006
* ```jsx
1200712007
* import {Provider, useSynchronizerStatus} from 'tinybase/ui-react';
1200812008
* import React from 'react';
12009-
* import {createRoot} from 'react-dom/client';
1201012009
* import {createLocalSynchronizer} from 'tinybase/synchronizers/synchronizer-local';
1201112010
* import {createMergeableStore} from 'tinybase';
12011+
* import {createRoot} from 'react-dom/client';
1201212012
*
1201312013
* const App = ({synchronizer}) => (
1201412014
* <Provider synchronizer={synchronizer}>
@@ -12031,9 +12031,9 @@
1203112031
* ```jsx
1203212032
* import {Provider, useSynchronizerStatus} from 'tinybase/ui-react';
1203312033
* import React from 'react';
12034-
* import {createRoot} from 'react-dom/client';
1203512034
* import {createLocalSynchronizer} from 'tinybase/synchronizers/synchronizer-local';
1203612035
* import {createMergeableStore} from 'tinybase';
12036+
* import {createRoot} from 'react-dom/client';
1203712037
*
1203812038
* const App = ({synchronizer}) => (
1203912039
* <Provider synchronizersById={{petSynchronizer: synchronizer}}>
@@ -12081,9 +12081,9 @@
1208112081
* ```jsx
1208212082
* import {Provider, useSynchronizerStatusListener} from 'tinybase/ui-react';
1208312083
* import React from 'react';
12084-
* import {createRoot} from 'react-dom/client';
1208512084
* import {createLocalSynchronizer} from 'tinybase/synchronizers/synchronizer-local';
1208612085
* import {createMergeableStore} from 'tinybase';
12086+
* import {createRoot} from 'react-dom/client';
1208712087
*
1208812088
* const App = ({synchronizer}) => (
1208912089
* <Provider synchronizer={synchronizer}>

test/unit/core/documentation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const forEachDirAndFile = (
133133
});
134134

135135
const prepareTestResultsFromBlock = (block: string, prefix: string): void => {
136-
const name = prefix + ' - ' + block.match(/(?<=^).*?(?=\n)/) ?? '';
136+
const name = prefix + ' - ' + (block.match(/(?<=^).*?(?=\n)/) ?? '');
137137
let count = 1;
138138
let suffixedName = name;
139139
while (resultsByName[suffixedName] != null) {

0 commit comments

Comments
 (0)