trustwallet-assets/script/main/check-sanity.ts
Adam R 68e0cc6d90
[internal] Set up Linting (#4040)
* Add ESLint infrastructure.

* Lint auto fixes.

* Lint fixes.

* Lint fixes.

* Add Lint to CI builds.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-09-18 16:39:31 +02:00

15 lines
315 B
TypeScript

import { sanityCheckAll } from "../action/update-all";
export async function main(): Promise<void> {
try {
// warnings ignored
const [errors] = await sanityCheckAll();
process.exit(errors.length);
} catch(err) {
console.error(err);
process.exit(1);
}
}
main();