fix: use flat config for react eslint plugin (#265)

This commit is contained in:
Brandon Keiji
2025-05-06 15:48:26 +00:00
committed by GitHub
parent 6812235cfa
commit c5182d5ca4
6 changed files with 8 additions and 39 deletions

View File

@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
import React, { useCallback, useMemo, useState } from 'react';
import { useCallback, useMemo, useState } from 'react';
import { Box, Static, Text, useStdout } from 'ink';
import { StreamingState, type HistoryItem } from './types.js';
import { useGeminiStream } from './hooks/useGeminiStream.js';

View File

@@ -4,7 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
import React from 'react';
import { Box, Text } from 'ink';
export interface Suggestion {
label: string;

View File

@@ -68,7 +68,7 @@ export const useSlashCommandProcessor = (
description: '',
action: (_value: PartListUnion) => {
setDebugMessage('Quitting. Good-bye.');
const timestamp = getNextMessageId(Date.now());
getNextMessageId(Date.now());
process.exit(0);
},
},