1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/services
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
..
client-metrics feat: optimize private projects for enterprise (#4812) 2023-09-22 11:54:33 +03:00
access-service.test.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
access-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
account-service.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
addon-schema.ts feat: support filtering on project and environment fields for events (#1801) 2022-07-12 12:13:25 +00:00
addon-service-test-simple-addon.ts feat: add OpenAPI validation to a few endpoints (#1409) 2022-04-25 14:17:59 +02:00
addon-service.test.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
addon-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
api-token-service.test.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
api-token-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
client-spec-service.test.ts refactor: avoid inlining segments for supported clients (#1640) 2022-06-02 14:07:46 +02:00
client-spec-service.ts refactor: avoid inlining segments for supported clients (#1640) 2022-06-02 14:07:46 +02:00
context-schema.ts feat: add context value descriptions (#1496) 2022-04-19 08:40:07 +02:00
context-service.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
edge-service.ts docs: Added docs for edge endpoints (#3501) 2023-04-14 15:39:39 +02:00
email-service.test.ts Hyperlink Injection in People Invitation Emails (#2307) 2022-11-01 10:38:33 +02:00
email-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
environment-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
event-announcer-service.ts 1-1049 Emit events after db transaction is complete (#4174) 2023-07-10 08:43:22 +02:00
event-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
favorites-service.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
feature-service-potentially-stale.test.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
feature-tag-service.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
feature-toggle-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
feature-type-service.ts feat(#4205): implement configurable lifetimes (#4263) 2023-07-18 09:26:32 +00:00
group-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
health-service.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
index.ts feat: events for dependencies (#4864) 2023-09-29 14:02:15 +02:00
maintenance-service.test.ts feat: disable scheduler for tests (#4496) 2023-08-15 15:58:36 +02:00
maintenance-service.ts feat: disable scheduler for tests (#4496) 2023-08-15 15:58:36 +02:00
openapi-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
pat-service.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
project-health-service.ts Project health tests (#3028) 2023-02-02 12:01:16 +01:00
project-schema.ts Feat/project private mode (#4743) 2023-09-15 11:01:25 +03:00
project-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
proxy-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
public-signup-token-service.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
reset-token-service.ts feat: changing password will expire reset password tokens (#3451) 2023-04-05 12:39:52 +03:00
scheduler-service.test.ts feat: add ids to scheduled jobs (#4764) 2023-09-18 16:31:42 +02:00
scheduler-service.ts feat: add ids to scheduled jobs (#4764) 2023-09-18 16:31:42 +02:00
segment-schema.ts feat: add segments (#1426) 2022-03-29 14:59:14 +02:00
segment-service.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
session-service.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
setting-service.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
state-schema.ts feat: Add variants per env (#2471) 2022-11-21 10:37:16 +01:00
state-service-export-v1.json
state-service.test.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
state-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
state-util.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
strategy-schema.ts Feat/enable disable strategies (#3566) 2023-04-21 12:09:07 +03:00
strategy-service.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
tag-schema.test.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
tag-schema.ts chore: Improve openapi documentation for tags (#3496) 2023-04-12 09:34:32 +00:00
tag-service.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
tag-type-schema.test.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
tag-type-schema.ts fix: import schema needs to understand :global: env 2021-08-26 22:42:06 +02:00
tag-type-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
user-feedback-service.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
user-service.test.ts refactor: prefer eventService.storeEvent methods (#4830) 2023-09-27 14:23:05 +01:00
user-service.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
user-splash-service.ts refactor: add schemas to user admin controller (#1692) 2022-06-22 14:55:43 +02:00
version-service.test.ts fix: API improvements aligning the types to our schemas (#4650) 2023-09-12 15:40:57 +02:00
version-service.ts feat: add prom metric for total custom root roles in use (#4438) 2023-08-08 08:14:40 +01:00