1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/util
Christopher Kolstad 6673d131fe
feat: biome lint (#4853)
This commit changes our linter/formatter to biome (https://biomejs.dev/)
Causing our prehook to run almost instantly, and our "yarn lint" task to
run in sub 100ms.

Some trade-offs:
* Biome isn't quite as well established as ESLint
* Are we ready to install a different vscode plugin (the biome plugin)
instead of the prettier plugin


The configuration set for biome also has a set of recommended rules,
this is turned on by default, in order to get to something that was
mergeable I have turned off a couple the rules we seemed to violate the
most, that we also explicitly told eslint to ignore.
2023-09-29 14:18:21 +02:00
..
validators
anonymise.test.ts test: add anonymise unit tests (#3722) 2023-05-09 14:20:39 +01:00
anonymise.ts
anyEventEmitter.test.ts feat: embed proxy endpoints (#1926) 2022-08-16 15:33:33 +02:00
anyEventEmitter.ts
arraysHaveSameItems.test.ts
arraysHaveSameItems.ts
collapseHourlyMetrics.test.ts fix: fix variant metrics (#3947) 2023-06-09 12:48:32 +00:00
collapseHourlyMetrics.ts fix: fix variant metrics (#3947) 2023-06-09 12:48:32 +00:00
collect-ids.ts
constants.ts
constantTimeCompare.test.ts
constantTimeCompare.ts
db-lock.test.ts
db-lock.ts
ensureArray.ts feat: Advanced playground table (#3978) 2023-06-15 09:29:31 +00:00
ensureStringValue.test.ts
ensureStringValue.ts
escape-regex.ts Fix crashing search bars (#2765) 2022-12-28 12:35:27 +02:00
extract-user.ts chore: make event store accept IUser (#3076) 2023-02-21 14:11:39 +00:00
findDuplicates.test.ts
findDuplicates.ts
findPublicFolder.ts
flag-resolver.test.ts
flag-resolver.ts fix: properly handle flag resolver variants (#3808) 2023-05-18 17:04:55 +01:00
format-base-uri.test.ts
format-base-uri.ts
generateImageUrl.ts
get-prop-from-string.ts
graceful-shutdown.ts
index.ts
is-email.test.ts
is-email.ts
isDefined.test.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
isDefined.ts
isEmpty.ts
load-index-html.ts fix: correct escaping of ui flags for plausible (#3907) 2023-07-07 17:40:37 +02:00
map-values.test.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
map-values.ts
metrics-helper.ts
omit-keys.test.ts
omit-keys.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00
parseEnvVar.test.ts
parseEnvVar.ts
random-id.ts
rewriteHTML.test.ts
rewriteHTML.ts
segments.ts
semver.test.ts
semver.ts refactor: avoid inlining segments for supported clients (#1640) 2022-06-02 14:07:46 +02:00
snakeCase.test.ts
snakeCase.ts
time-utils.test.ts
time-utils.ts
timer.test.ts task: use swc instead of ts-jest (#2042) 2022-09-06 13:22:41 +02:00
timer.ts
unique.test.ts
unique.ts
validateJsonString.test.ts
validateJsonString.ts
validateOrigin.test.ts feat: add CORS instance settings (#1957) 2022-08-26 09:09:48 +02:00
validateOrigin.ts
version.ts