Chore/configure eslint (#808)

This commit is contained in:
Andrew Tatomyr
2022-08-18 14:22:31 +03:00
committed by GitHub
parent 229f54222b
commit 4dc87c3f18
41 changed files with 1949 additions and 121 deletions

View File

@@ -177,7 +177,6 @@ export function handleError(e: Error, ref: string) {
process.stderr.write(`Failed to parse api definition at ${ref}:\n\n - ${e.message}.\n\n`);
// TODO: codeframe
} else {
// @ts-ignore
if (e instanceof CircularJSONNotSupportedError) {
process.stderr.write(
red(`Detected circular reference which can't be converted to JSON.\n`) +