chore: update lint script to include the .mjs (#1267)

This commit is contained in:
hehe
2023-03-03 02:01:09 +08:00
committed by GitHub
parent eeb636e81c
commit a61bb4f8bc
4 changed files with 14 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
import fs from 'fs';
import path from 'path';
// TODO: use https://github.com/quicktype/quicktype#installation instead
import { compileFromFile } from 'json-schema-to-typescript';
import path from 'path';
import { cd } from 'zx/core';
const projectRoot = path.join(__dirname, '..', '..');