diff --git a/libs/remix-ui/static-analyser/src/lib/actions/staticAnalysisActions.ts b/libs/remix-ui/static-analyser/src/lib/actions/staticAnalysisActions.ts index 0078b74bf9..18da143ad1 100644 --- a/libs/remix-ui/static-analyser/src/lib/actions/staticAnalysisActions.ts +++ b/libs/remix-ui/static-analyser/src/lib/actions/staticAnalysisActions.ts @@ -127,6 +127,39 @@ slitherEnabled: boolean, setStartAnalysis: React.Dispatch} + * @param warningContainer {React.RefObject} + * @returns {Promise} + */ +// eslint-disable-next-line @typescript-eslint/no-unused-vars +export async function runSlitherAnalysis (lastCompilationResult, lastCompilationSource, currentFile: string, state: RemixUiStaticAnalyserState, props: RemixUiStaticAnalyserProps, isSupportedVersion, showSlither, categoryIndex: number[], groupedModules, runner, _paq, message, showWarnings, allWarnings: React.RefObject, warningContainer: React.RefObject, calculateWarningStateEntries: (e:[string, any][]) => {length: number, errors: any[] }, warningState, setHints: React.Dispatch>, hints: SolHintReport[], setSlitherWarnings: React.Dispatch>, setSsaWarnings: React.Dispatch>, +slitherEnabled: boolean, setStartAnalysis: React.Dispatch>) { // Slither Analysis if (showSlither && slitherEnabled) { setSlitherWarnings([]) @@ -196,20 +229,12 @@ slitherEnabled: boolean, setStartAnalysis: React.Dispatch