File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/react-doctor/src Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,10 @@ const printSummary = (
314314 logger . dim ( ` Share your results: ${ highlighter . info ( shareUrl ) } ` ) ;
315315} ;
316316
317- export const scan = async ( directory : string , inputOptions : ScanOptions = { } ) : Promise < ScanResult > => {
317+ export const scan = async (
318+ directory : string ,
319+ inputOptions : ScanOptions = { } ,
320+ ) : Promise < ScanResult > => {
318321 const startTime = performance . now ( ) ;
319322 const projectInfo = discoverProject ( directory ) ;
320323 const userConfig = loadConfig ( directory ) ;
Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ const estimateScoreLocally = (diagnostics: Diagnostic[]): EstimatedScoreResult =
5454 const { errorRuleCount, warningRuleCount } = countUniqueRules ( diagnostics ) ;
5555
5656 const currentScore = scoreFromRuleCounts ( errorRuleCount , warningRuleCount ) ;
57- const estimatedUnfixedErrorRuleCount = Math . round ( errorRuleCount * ( 1 - ERROR_ESTIMATED_FIX_RATE ) ) ;
57+ const estimatedUnfixedErrorRuleCount = Math . round (
58+ errorRuleCount * ( 1 - ERROR_ESTIMATED_FIX_RATE ) ,
59+ ) ;
5860 const estimatedUnfixedWarningRuleCount = Math . round (
5961 warningRuleCount * ( 1 - WARNING_ESTIMATED_FIX_RATE ) ,
6062 ) ;
You can’t perform that action at this time.
0 commit comments