mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
6673d131fe
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. |
||
---|---|---|
.. | ||
validators | ||
anonymise.test.ts | ||
anonymise.ts | ||
anyEventEmitter.test.ts | ||
anyEventEmitter.ts | ||
arraysHaveSameItems.test.ts | ||
arraysHaveSameItems.ts | ||
collapseHourlyMetrics.test.ts | ||
collapseHourlyMetrics.ts | ||
collect-ids.ts | ||
constants.ts | ||
constantTimeCompare.test.ts | ||
constantTimeCompare.ts | ||
db-lock.test.ts | ||
db-lock.ts | ||
ensureArray.ts | ||
ensureStringValue.test.ts | ||
ensureStringValue.ts | ||
escape-regex.ts | ||
extract-user.ts | ||
findDuplicates.test.ts | ||
findDuplicates.ts | ||
findPublicFolder.ts | ||
flag-resolver.test.ts | ||
flag-resolver.ts | ||
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 | ||
isDefined.ts | ||
isEmpty.ts | ||
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 | ||
rewriteHTML.ts | ||
segments.ts | ||
semver.test.ts | ||
semver.ts | ||
snakeCase.test.ts | ||
snakeCase.ts | ||
time-utils.test.ts | ||
time-utils.ts | ||
timer.test.ts | ||
timer.ts | ||
unique.test.ts | ||
unique.ts | ||
validateJsonString.test.ts | ||
validateJsonString.ts | ||
validateOrigin.test.ts | ||
validateOrigin.ts | ||
version.ts |