chore: use tabs for prettier and biome (#14283)

This commit is contained in:
Kayla Washburn-Love
2024-08-15 14:53:53 -06:00
committed by GitHub
parent db2d0596d4
commit 95a7c0c4f0
961 changed files with 112866 additions and 112874 deletions
+7 -7
View File
@@ -1,9 +1,9 @@
{
"dependencies": {
"widdershins": "^4.0.1"
},
"resolutions": {
"semver": "7.5.3",
"jsonpointer": "5.0.1"
}
"dependencies": {
"widdershins": "^4.0.1"
},
"resolutions": {
"semver": "7.5.3",
"jsonpointer": "5.0.1"
}
}
+1 -1
View File
@@ -39,7 +39,7 @@ var (
// CLI option types:
"github.com/coder/serpent",
}
indent = " "
indent = "\t"
)
func main() {
+4 -4
View File
@@ -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
+14 -14
View File
@@ -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
+3 -3
View File
@@ -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[])[])
}
+1 -1
View File
@@ -98,7 +98,7 @@ func run(lint bool) error {
}
enc := json.NewEncoder(w)
enc.SetIndent("", " ")
enc.SetIndent("", "\t")
return enc.Encode(examples)
}