Skip to content

chore: use tabs for prettier and biome #14283

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

Merged
merged 8 commits into from
Aug 15, 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
tests
  • Loading branch information
aslilac committed Aug 15, 2024
commit e62cabec5d449ed7d3d2a332838b627322fa98cb
4 changes: 0 additions & 4 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ updates:
- "@emotion*"
exclude-patterns:
- "jest-runner-eslint"
eslint:
patterns:
- "eslint*"
- "@typescript-eslint*"
jest:
patterns:
- "jest"
Expand Down
8 changes: 4 additions & 4 deletions scripts/apitypings/testdata/genericmap/genericmap.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// From codersdk/genericmap.go
export interface Buzz {
readonly foo: Foo
readonly bazz: string
readonly foo: Foo
readonly bazz: string
}

// From codersdk/genericmap.go
export interface Foo {
readonly bar: string
readonly bar: string
}

// From codersdk/genericmap.go
export interface FooBuzz<R extends Custom> {
readonly something: (readonly R[])
readonly something: (readonly R[])
}

// From codersdk/genericmap.go
Expand Down
28 changes: 14 additions & 14 deletions scripts/apitypings/testdata/generics/generics.ts
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
// From codersdk/generics.go
export interface Complex<C extends comparable, S extends Single, T extends Custom> {
readonly dynamic: Fields<C, boolean, string, S>
readonly order: FieldsDiffOrder<C, string, S, T>
readonly comparable: C
readonly single: S
readonly static: Static
readonly dynamic: Fields<C, boolean, string, S>
readonly order: FieldsDiffOrder<C, string, S, T>
readonly comparable: C
readonly single: S
readonly static: Static
}

// From codersdk/generics.go
export interface Dynamic<A extends any, S extends Single> {
readonly dynamic: Fields<boolean, A, string, S>
readonly comparable: boolean
readonly dynamic: Fields<boolean, A, string, S>
readonly comparable: boolean
}

// From codersdk/generics.go
export interface Fields<C extends comparable, A extends any, T extends Custom, S extends Single> {
readonly comparable: C
readonly any: A
readonly custom: T
readonly again: T
readonly single_constraint: S
readonly comparable: C
readonly any: A
readonly custom: T
readonly again: T
readonly single_constraint: S
}

// From codersdk/generics.go
export interface FieldsDiffOrder<A extends any, C extends comparable, S extends Single, T extends Custom> {
readonly Fields: Fields<C, A, T, S>
readonly Fields: Fields<C, A, T, S>
}

// From codersdk/generics.go
export interface Static {
readonly static: Fields<string, number, number, string>
readonly static: Fields<string, number, number, string>
}

// From codersdk/generics.go
Expand Down
6 changes: 3 additions & 3 deletions scripts/apitypings/testdata/genericslice/genericslice.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// From codersdk/genericslice.go
export interface Bar {
readonly Bar: string
readonly Bar: string
}

// From codersdk/genericslice.go
export interface Foo<R extends any> {
readonly Slice: (readonly R[])
readonly TwoD: (readonly (readonly R[])[])
readonly Slice: (readonly R[])
readonly TwoD: (readonly (readonly R[])[])
}
Loading