add matomo entry for solhint

pull/5370/head
Joseph Izang 1 year ago
parent cdda3ad979
commit a1cee0004b
  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