Commit Graph

17 Commits

Author SHA1 Message Date
Sergei Zharinov a67a96eab5 refactor(lint): Switch to Oxlint (#42384)
* refactor(lint): Switch to Oxlint

* Update .oxlintrc.json

* Fix CI

---------

Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2026-04-07 14:42:23 +00:00
Michael Kriese 440e353145 chore: use ts extension (#42300) 2026-04-01 07:46:34 +00:00
renovate[bot] 645a28c77c build(deps): update dependency prettier to v3.8.1 (main) (#39779)
* build(deps): update dependency prettier to v3.8.1

| datasource | package  | from  | to    |
| ---------- | -------- | ----- | ----- |
| npm        | prettier | 3.6.2 | 3.8.1 |

* fixup prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2026-02-18 08:41:34 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Michael Kriese c641239c19 fix: use stricter types for renovate config (#39594)
* fix: use stricter types for renovate config

* fix: revert changes

* Apply suggestions from code review
2025-11-28 13:16:27 +00:00
Jamie Tanna 066c7026e7 test: correctly call toMigrate with vitest (#38242)
fix(tests): correctly call `async toMigrate` with vitest

While working on #38240, I noticed that the failing tests I was
writing didn't trigger.

It turns out that in 997c23502e, when we
migrated to Vitest, and made some functions `async`, we missed out on
making the tests themselves `async`.

This correctly applies the `async` modifier to test functions, allowing
them to correctly pass/fail when running async code.

We can also make sure that `toMigrate` is returning a Promise to
indicate it's asynchronous.
2025-09-27 08:29:30 +00:00
Michael Kriese 3f0f6a04b6 build: compile with nodenext target (still cjs) (#34584) 2025-03-04 07:37:06 +00:00
Michael Kriese 997c23502e test: migrate to vitest (#34475)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2025-02-26 09:35:54 +00:00
renovate[bot] 55845508b6 chore(deps): update eslint monorepo to v9 (major) (#33573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-02-20 11:31:13 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
renovate[bot] fe739befbf chore(deps): update linters to v6 (major) (#23325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-08-02 15:07:49 +00:00
Sebastian Poxhofer b30ac1a4c2 test(migrations): add test for multiple migrations for one property (#20044) 2023-01-26 13:07:05 +01:00
renovate[bot] 73ba5ddd9b chore(deps): update dependency eslint-plugin-jest to v26.8.2 (#17203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-17 08:56:26 +03:00
renovate[bot] f85d89e523 chore(deps): update dependency eslint-plugin-jest to v26.8.0 (#17173)
* chore(deps): update dependency eslint-plugin-jest to v26.8.0

* add ignores

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-14 19:40:21 +00:00
Michael Kriese 00527902e2 chore: fix lint (#16120) 2022-06-17 06:37:25 +00:00
Maksim 0e6d2b674f refactor(migrations): unpublishSafe (#14680)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-03-29 05:42:28 +02:00
Maksim 6e94385f31 refactor(migrations): validator (#13073)
* refactor(migrations): implemented migration validator

* refactor(migrations): introduce deprecated flag

* refactor(migrations): tidy

* refactor(migrations): improve validator

* refactor: fix launch.json

* refactor: fix build

* refactor: fix coverage

* refactor: fix coverage

* refactor: introduce new jest custom matcher

* refactor: revert unnecessary changes

* refactor: return override
2022-01-10 21:01:57 +00:00