fix linting

pull/5370/head
aniket-engg 5 months ago committed by Aniket
parent 2322399ea6
commit 4f1ac2e095
  1. 20
      libs/remix-ui/solidity-compiler/src/lib/solScanTable.tsx
  2. 4
      libs/remix-ui/solidity-compiler/src/lib/types/index.ts

@ -49,17 +49,17 @@ export function SolScanTable(props: SolScanTableProps) {
{ multi_file_scan_summary ? (
<>
<p className='text-success'><b>Scan Summary: </b></p>
<p>&emsp; Lines Analyzed: {multi_file_scan_summary.lines_analyzed_count}</p>
<p>&emsp; Scan Score: {multi_file_scan_summary.score_v2}</p>
<p>&emsp; Issue Distribution: { JSON.stringify(multi_file_scan_summary.issue_severity_distribution, null, 1)} </p>
<p>For more details,&nbsp;
<a href="https://solidityscan.com/signup"
target='_blank'
onClick={() => _paq.push(['trackEvent', 'solidityCompiler', 'solidityScan', 'goToSolidityScan'])}>
<p className='text-success'><b>Scan Summary: </b></p>
<p>&emsp; Lines Analyzed: {multi_file_scan_summary.lines_analyzed_count}</p>
<p>&emsp; Scan Score: {multi_file_scan_summary.score_v2}</p>
<p>&emsp; Issue Distribution: { JSON.stringify(multi_file_scan_summary.issue_severity_distribution, null, 1)} </p>
<p>For more details,&nbsp;
<a href="https://solidityscan.com/signup"
target='_blank'
onClick={() => _paq.push(['trackEvent', 'solidityCompiler', 'solidityScan', 'goToSolidityScan'])}>
go to SolidityScan.
</a>
</p>
</a>
</p>
</>
): null}
</>

@ -2,7 +2,7 @@ import { ICompilerApi, ConfigurationSettings, iSolJsonBinData } from '@remix-pro
import { CompileTabLogic } from '../logic/compileTabLogic'
export type onCurrentFileChanged = (fileName: string) => void
//// SolidityScan Types
//// SolidityScan Types
export interface ScanTemplate {
issue_id: string
@ -34,7 +34,7 @@ export interface ScanReport {
// others
}
//// SolidityScan Types
//// SolidityScan Types
export interface SolidityCompilerProps {
api: ICompilerApi

Loading…
Cancel
Save