mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
Re-enable noBannedTypes Biome rule (#7375)
Function is usually frowned upon in TS because it gives no description of what type of function.
This commit is contained in:
@@ -44,7 +44,6 @@
|
||||
"complexity": {
|
||||
"noStaticOnlyClass": "off",
|
||||
"noForEach": "off",
|
||||
"noBannedTypes": "off",
|
||||
"useLiteralKeys": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,6 +36,6 @@ export type CacheableValue =
|
||||
| boolean
|
||||
| undefined
|
||||
| null
|
||||
| Function
|
||||
| ((...args: any) => any)
|
||||
| {[x: string]: CacheableValue}
|
||||
| Array<CacheableValue>;
|
||||
|
||||
Reference in New Issue
Block a user