Skip to content

Commit

Permalink
Merge pull request #346 from hey-api/fix/ci-run-lint
Browse files Browse the repository at this point in the history
fix: run prettier check with lint
  • Loading branch information
mrlubos authored Apr 11, 2024
2 parents deeb38f + a34a7a2 commit fdef540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/openapi-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"dev": "rimraf dist && pnpm build-bundle --watch",
"format": "prettier --write .",
"lint:fix": "prettier --check . && eslint . --fix",
"lint": "eslint .",
"lint": "prettier --check . && eslint .",
"prepublishOnly": "pnpm build",
"test:coverage": "vitest run --config vitest.config.unit.ts --coverage",
"test:e2e": "vitest run --config vitest.config.e2e.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-ts/src/utils/write/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const typeArray = (model: Model) => {
model.maxItems === model.minItems &&
model.maxItems <= 100
) {
const types = toType(model.link)
const types = toType(model.link);
const tuple = compiler.typedef.tuple(Array(model.maxItems).fill(types), model.isNullable);
return tuple;
}
Expand Down

0 comments on commit fdef540

Please sign in to comment.