diff --git a/packages/builder/cypress/support/queryLevelTransformerFunction.js b/packages/builder/cypress/support/queryLevelTransformerFunction.js index 0c099df1a0..c92f6e22b7 100644 --- a/packages/builder/cypress/support/queryLevelTransformerFunction.js +++ b/packages/builder/cypress/support/queryLevelTransformerFunction.js @@ -1,3 +1,4 @@ +// eslint-disable-next-line const breweries = data const totals = {} diff --git a/packages/builder/cypress/support/queryLevelTransformerFunctionWithData.js b/packages/builder/cypress/support/queryLevelTransformerFunctionWithData.js index b87f95ade0..d3f3b949ff 100644 --- a/packages/builder/cypress/support/queryLevelTransformerFunctionWithData.js +++ b/packages/builder/cypress/support/queryLevelTransformerFunctionWithData.js @@ -1,3 +1,4 @@ +// eslint-disable-next-line const breweries = data const totals = {} for (let brewery of breweries) @@ -25,6 +26,6 @@ const stateCodes = } const entries = Object.entries(totals) return entries.map(([state, count]) => - {const stateCode = stateCodes[state.toLowerCase()] + {stateCodes[state.toLowerCase()] return { state, count, flag: "http://flags.ox3.in/svg/us/${stateCode}.svg" } })