const path = require("path");
const collectSkins = require("./collectSkins");
const takeScreenshots = require("./takeScreenshots");

/**
 * Usage
 *
 * command <input_dir> <output_dir> <screenshot_dir>
 */

// eslint-disable-next-line no-unused-vars
const [
  _node,
  _thisFile,
  rawInputDir,
  rawOutputDir,
  rawScreenshotDir,
  rawFilenamesPath
] = process.argv;

const inputDir = path.resolve(rawInputDir);
const outputDir = path.resolve(rawOutputDir);
const screenshotDir = path.resolve(rawScreenshotDir);
const filenamesPath = path.resolve(rawFilenamesPath);

// It's nice to be able to fiddle these manually
const collect = true;
const screenshots = true;

async function main() {
  if (collect) {
    const collectionInfo = await collectSkins({
      filenamesPath,
      inputDir,
      outputDir
    });
    console.log(collectionInfo);
    const packCollectionInfo = await collectSkins({
      filenamesPath,
      inputDir: path.resolve(path.join("assets", "md5Packs")),
      outputDir
    });
    console.log(packCollectionInfo);
  }
  if (screenshots) {
    await takeScreenshots(outputDir, screenshotDir);
  }
}

// Blastoff!
main();

@@ -200,16 +200,26 @@
 r%3E%0A */%0A%0A
+const %5B%0A  
 // eslin
@@ -257,24 +257,16 @@
 ars%0A
-const %5B%0A
   _node,
 %0A  _
@@ -261,16 +261,61 @@
   _node,
+%0A  // eslint-disable-next-line no-unused-vars
 %0A  _this

Fix eslint ignore