#!/usr/bin/env node const execSync = require("child_process").execSync; const argv = process.argv const shouldDoTheFix = argv.includes('--fix'); try { execSync(`eslint ${shouldDoTheFix ? "--fix " : " "}--ext ts,tsx --max-warnings=0 .`); } catch (error) { console.error(error.stdout.toString()); process.exit(1); }