Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gius committed Apr 18, 2021
1 parent a2cc61b commit 826d4ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/generator/__tests__/helpers.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("helpers", () => {
});

it("returns local path when source and target is same", () => {
const result = getRelativePath("src/repositories", "src/repositories");
const result = getRelativePath("src/data", "src/data");
expect(result).toBe("./");
});
});
Expand Down
3 changes: 1 addition & 2 deletions packages/generator/src/openapi/writers/objectEntityWriter.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import camelCase from "lodash/camelCase";
import uniq from "lodash/uniq";
import { CodeBlockWriter, Directory, SourceFile } from "ts-morph";
import { Directory, SourceFile } from "ts-morph";
import GeneratorBase from "../../generatorBase";
import { entityGeneratedHeader } from "../../messages.json";
import ObservableFormatter from "../formatters/observableFormatter";
import AliasEntity from "../models/aliasEntity";
import EntityProperty from "../models/entityProperty";
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/src/openapi/writers/repositoryWriter.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/tslint/config */
import camelCase from "lodash/camelCase";
import uniq from "lodash/uniq";
import { CodeBlockWriter, Directory, SourceFile } from "ts-morph";
import { Directory, SourceFile } from "ts-morph";
import GeneratorBase from "../../generatorBase";
import { pascalCase } from "../../helpers";
import Endpoint from "../models/endpoint";
Expand Down

0 comments on commit 826d4ee

Please sign in to comment.