diff --git a/eslint.config.js b/eslint.config.js index 775f9f42..d38e642a 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -35,10 +35,10 @@ export default [ ...reactHooks.configs.recommended.rules, 'react/react-in-jsx-scope': 'off', 'react/prop-types': 'off', - '@typescript-eslint/no-explicit-any': 'warn', + '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-unused-vars': [ 'warn', - { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }, + { argsIgnorePattern: '^_', varsIgnorePattern: '^_', ignoreRestSiblings: true }, ], 'no-console': 'off', 'no-case-declarations': 'off', diff --git a/src/commands/blueprint/list.tsx b/src/commands/blueprint/list.tsx index 0b9bc153..978798a6 100644 --- a/src/commands/blueprint/list.tsx +++ b/src/commands/blueprint/list.tsx @@ -32,10 +32,9 @@ const ListBlueprintsUI: React.FC<{ }> = ({ onBack, onExit }) => { const { stdout } = useStdout(); const [showDetails, setShowDetails] = React.useState(false); - const [selectedBlueprint, setSelectedBlueprint] = React.useState< - // eslint-disable-next-line @typescript-eslint/no-explicit-any - any | null - >(null); + const [selectedBlueprint, _setSelectedBlueprint] = React.useState( + null, + ); const [selectedOperation, setSelectedOperation] = React.useState(0); const [executingOperation, setExecutingOperation] = React.useState(null);