diff --git a/js/createHTMLString.js b/js/createHTMLString.js index 48a9173..1a3b5ee 100644 --- a/js/createHTMLString.js +++ b/js/createHTMLString.js @@ -77,17 +77,17 @@ const createHTMLString = function( data ) { let documentPaths = flatten( [ ...repos ].map( getFullDocPaths ) ); let mdData = {}; - for ( let docPath of documentPaths ) { + for ( let docPath of documentPaths ) { // eslint-disable-line no-restricted-syntax let name = path.basename( docPath, '.md' ); mdData[ name ] = processFile( docPath ); } let parentComponents = Object.values( mdData ).filter( component => component.data.parent ); // loop over each parent component - for ( let parent of parentComponents ) { + for ( let parent of parentComponents ) { // eslint-disable-line no-restricted-syntax let componentsHTML = ''; - for ( const component of parent.data.components ) { + for ( const component of parent.data.components ) { // eslint-disable-line no-restricted-syntax const repoComponent = `${parent.repo}/${component}`; const simObject = data[ repoComponent ]; const simCount = simObject ? Object.keys( simObject ).length : 0; diff --git a/js/getFromSimInMaster.js b/js/getFromSimInMaster.js index 832ceb4..900babb 100644 --- a/js/getFromSimInMaster.js +++ b/js/getFromSimInMaster.js @@ -41,7 +41,7 @@ module.exports = async ( commandLineSims ) => { let sims = commandLineSims ? commandLineSims.split( ',' ) : getSims(); console.log( 'sims to load:', sims.join( ', ' ) ); - for ( let sim of sims ) { + for ( let sim of sims ) { // eslint-disable-line no-restricted-syntax const page = await browser.newPage();