Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: migrate code base to TypeScript #175

Merged
merged 8 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: remove test from references
  • Loading branch information
JounQin committed Jan 16, 2024
commit d5378670587982a0a7483afe0f2a5189b7311e46
2 changes: 0 additions & 2 deletions test/isSupportedExtension.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import prettier from 'prettier'

// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
// @ts-ignore -- No idea how to fix
import isSupportedExtension from 'pretty-quick/isSupportedExtension'

afterEach(() => jest.clearAllMocks())
Expand Down
2 changes: 0 additions & 2 deletions test/pretty-quick.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import mock from 'mock-fs'

// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
// @ts-ignore -- No idea how to fix
import prettyQuick from 'pretty-quick'

jest.mock('execa')
Expand Down
2 changes: 0 additions & 2 deletions test/scm-git.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import execa from 'execa'
import mock from 'mock-fs'
import type FileSystem from 'mock-fs/lib/filesystem'

// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
// @ts-ignore -- No idea how to fix
import prettyQuick from 'pretty-quick'

jest.mock('execa')
Expand Down
2 changes: 0 additions & 2 deletions test/scm-hg.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import execa from 'execa'
import mock from 'mock-fs'
import type FileSystem from 'mock-fs/lib/filesystem'

// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
// @ts-ignore -- No idea how to fix
import prettyQuick from 'pretty-quick'

jest.mock('execa')
Expand Down
7 changes: 0 additions & 7 deletions test/tsconfig.json

This file was deleted.

3 changes: 0 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"references": [
{
"path": "./src"
},
{
"path": "./test"
}
]
}
Loading