#!/bin/sh # script/lint: run the linter (eslint plus a prettier check). set -eu ROOT="$(cd "$(dirname "$0")/.." && pwd -P)" main() { cd "$ROOT" yarn run eslint . yarn run prettier --check . } main "$@"