mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-05 19:40:30 +08:00
chore: bump oxlint & enable more supported rules (#14769)
This commit is contained in:
@@ -5,5 +5,5 @@ import { createRoot } from 'react-dom/client';
|
||||
|
||||
import { App } from './app';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
// oxlint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
createRoot(document.getElementById('app')!).render(<App />);
|
||||
|
||||
@@ -323,7 +323,7 @@ export const useExportUsers = () => {
|
||||
});
|
||||
dataToCopy.push(row);
|
||||
});
|
||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
||||
// oxlint-disable-next-line @typescript-eslint/no-floating-promises
|
||||
navigator.clipboard.writeText(JSON.stringify(dataToCopy, null, 2));
|
||||
callback?.();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user