add matomo entry for solhint

pull/3838/head
Joseph Izang 1 year ago
parent e17ea193d0
commit 602f267a0d
  1. 1
      libs/remix-ui/static-analyser/src/lib/actions/staticAnalysisActions.ts

@ -56,6 +56,7 @@ slitherEnabled: boolean, setStartAnalysis: React.Dispatch<React.SetStateAction<b
const warningErrors = []
props.analysisModule.hints = []
// Run solhint
_paq.push(['trackEvent', 'solidityStaticAnalyzer', 'analyze', 'solHint'])
const hintsResult = await props.analysisModule.call('solhint', 'lint', state.file)
props.analysisModule.hints = solhintEnabled === false ? 0 : hintsResult
setHints(hintsResult)

Loading…
Cancel
Save