lint-js.mjs 251 B

123456789
  1. #!/usr/bin/env zx
  2. import "zx/globals";
  3. import { workingDirectory } from "../utils.mjs";
  4. // Check the client using ESLint and Prettier.
  5. cd(path.join(workingDirectory, "clients", "js"));
  6. await $`pnpm install`;
  7. await $`pnpm lint`;
  8. await $`pnpm format`;