Skip to content

Commit

Permalink
Update: lint tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaez committed Dec 30, 2024
1 parent 7fddb3e commit b6e00e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@
* }} RequestInfo
*/

import qs from 'fast-querystring'

import { Value } from '@sinclair/typebox/value'
import qs from 'fast-querystring'

import './formats.js'

Expand Down
3 changes: 1 addition & 2 deletions src/writer.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/** @typedef {import('@apidevtools/json-schema-ref-parser').JSONSchema} JSONSchema */

import SwaggerParser from '@apidevtools/json-schema-ref-parser'
import CodeBlockWriter from 'code-block-writer'
import pascalcase from 'pascalcase'
import * as prettier from 'prettier'

import SwaggerParser from '@apidevtools/json-schema-ref-parser'

import { cleanupSchema, extractSchemaOptions, kRef } from './cleanup.js'
import headTemplate from './head-template.js'
import resolver from './resolver.js'
Expand Down
5 changes: 2 additions & 3 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ import assert from 'node:assert'
import { mkdir, readFile, writeFile } from 'node:fs/promises'
import test, { after } from 'node:test'

import fastifySwagger from '@fastify/swagger'
import { Type } from '@sinclair/typebox'
import { expectTypeOf } from 'expect-type'
import fastify from 'fastify'
import qs from 'qs'

import fastifySwagger from '@fastify/swagger'
import { Type } from '@sinclair/typebox'

import { createClient } from '../src/client.js'
import { write } from '../src/writer.js'

Expand Down

0 comments on commit b6e00e1

Please sign in to comment.