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 Clean up old errors (#3633) 2023-05-11 11:10:57 +02:00
anonymise.test.ts
anonymise.ts
anyEventEmitter.test.ts
anyEventEmitter.ts feat: shared event emitter (#3241) 2023-03-02 09:52:19 +01:00
arraysHaveSameItems.test.ts
arraysHaveSameItems.ts
collapseHourlyMetrics.test.ts
collapseHourlyMetrics.ts
collect-ids.ts feat: add segments (#1426) 2022-03-29 14:59:14 +02:00
constants.ts feat: roles unification (#3999) 2023-06-19 09:41:40 +01:00
constantTimeCompare.test.ts
constantTimeCompare.ts Feat/add alias to api tokens (#1931) 2022-08-19 10:48:33 +02:00
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
extract-user.ts
findDuplicates.test.ts feat: import service validate duplicates (#4558) 2023-08-24 10:05:21 +02:00
findDuplicates.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
findPublicFolder.ts Merge frontend with backend (#1962) 2022-08-26 07:25:31 +00:00
flag-resolver.test.ts
flag-resolver.ts
format-base-uri.test.ts Migrate to jest (#854) 2021-05-28 11:10:24 +02:00
format-base-uri.ts chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
generateImageUrl.ts Extract gravatar URL fn (#2386) 2022-11-10 12:13:45 +01:00
get-prop-from-string.ts
graceful-shutdown.ts
index.ts
is-email.test.ts chore: add linter rules for regexp (#3500) 2023-04-17 07:11:22 +00:00
is-email.ts fix: some security vulnerabilities (#4143) 2023-07-05 11:51:27 +02:00
isDefined.test.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
isDefined.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
isEmpty.ts Poc: calculate etag based on query and latest revison id (#3062) 2023-03-17 14:10:21 +01:00
load-index-html.ts
map-values.test.ts
map-values.ts
metrics-helper.ts
omit-keys.test.ts
omit-keys.ts
parseEnvVar.test.ts
parseEnvVar.ts
random-id.ts
rewriteHTML.test.ts task: Add Unit test result check task (#3695) 2023-05-25 11:03:54 +00:00
rewriteHTML.ts task: Add Unit test result check task (#3695) 2023-05-25 11:03:54 +00:00
segments.ts
semver.test.ts
semver.ts
snakeCase.test.ts
snakeCase.ts
time-utils.test.ts
time-utils.ts fix: generate all hour buckets if missing (#2319) 2022-11-04 09:30:02 +01:00
timer.test.ts task: use swc instead of ts-jest (#2042) 2022-09-06 13:22:41 +02:00
timer.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
unique.test.ts feat: expose project members (#3310) 2023-03-14 16:27:57 +01:00
unique.ts
validateJsonString.test.ts fix: when payload type is 'json' validate value on toggle variable validation (#1704) 2022-06-14 13:08:38 +02:00
validateJsonString.ts
validateOrigin.test.ts
validateOrigin.ts feat: add CORS instance settings (#1957) 2022-08-26 09:09:48 +02:00
version.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00