Skip to content

Commit

Permalink
fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sserrata committed Oct 10, 2024
1 parent 6db4252 commit fb837ea
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import sdk from "postman-collection";

import { sampleRequestFromSchema } from "./createRequestExample";
import { OpenApiObject, TagGroupObject, TagObject } from "./types";
import { loadAndResolveSpec } from "./utils/loadAndResolveSpec";
import { isURL } from "../index";
import {
ApiMetadata,
Expand All @@ -31,6 +30,7 @@ import {
SidebarOptions,
TagPageMetadata,
} from "../types";
import { loadAndResolveSpec } from "./utils/loadAndResolveSpec";

/**
* Convenience function for converting raw JSON to a Postman Collection object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import chalk from "chalk";
// @ts-ignore
import { convertObj } from "swagger2openapi";

import { OpenAPIParser } from "./services/OpenAPIParser";
import { OpenApiObject } from "../types";
import { OpenAPIParser } from "./services/OpenAPIParser";

function serializer(replacer: any, cycleReplacer: any) {
var stack: any = [],
Expand Down
2 changes: 1 addition & 1 deletion scripts/changelog-beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* LICENSE file in the root directory of this source tree.
* ========================================================================== */

import pkg from "../lerna.json";
import { getOutput } from "./utils/get-output";
import { printBanner, printSpacer } from "./utils/print-utils";
import pkg from "../lerna.json";

const ORG = "PaloAltoNetworks";
const REPO = "docusaurus-openapi-docs";
Expand Down
2 changes: 1 addition & 1 deletion scripts/changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* LICENSE file in the root directory of this source tree.
* ========================================================================== */

import pkg from "../lerna.json";
import { getOutput } from "./utils/get-output";
import { printBanner, printSpacer } from "./utils/print-utils";
import pkg from "../lerna.json";

const ORG = "PaloAltoNetworks";
const REPO = "docusaurus-openapi-docs";
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-pr-title.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* LICENSE file in the root directory of this source tree.
* ========================================================================== */

import { getOutput } from "./utils/get-output";
import { version } from "../lerna.json";
import { getOutput } from "./utils/get-output";

// Makes the script crash on unhandled rejections instead of silently
// ignoring them. In the future, promise rejections that are not handled will
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish-beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import { execSync } from "child_process";
import fs from "fs";
import path from "path";

import { version } from "../lerna.json";
import { createDryRun } from "./utils/dry-run";
import { getOutput } from "./utils/get-output";
import { printBanner } from "./utils/print-utils";
import { version } from "../lerna.json";

const ORG = "PaloAltoNetworks";
const REPO = "docusaurus-openapi-docs";
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import { execSync } from "child_process";
import fs from "fs";
import path from "path";

import { version } from "../lerna.json";
import { createDryRun } from "./utils/dry-run";
import { getOutput } from "./utils/get-output";
import { printBanner } from "./utils/print-utils";
import { version } from "../lerna.json";

const ORG = "PaloAltoNetworks";
const REPO = "docusaurus-openapi-docs";
Expand Down

0 comments on commit fb837ea

Please sign in to comment.