Commit Graph

11 Commits

Author SHA1 Message Date
renovate[bot] ea8d11b096 chore(deps): update dependency @oxlint/plugins to v1.78.0 (main) (#45346)
* chore(deps): update dependency @oxlint/plugins to v1.78.0

| datasource | package         | from   | to     |
| ---------- | --------------- | ------ | ------ |
| npm        | @oxlint/plugins | 1.72.0 | 1.78.0 |

* chore(deps): update dependency oxlint to v1.78.0

Align oxlint with @oxlint/plugins so the plugin types match again, and
replace the computed namespace access in validate-schemas.spec.ts that
oxlint 1.78 flags via import/namespace.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2026-08-24 09:13:19 +00:00
Jamie Tanna df7a014c91 refactor: generate the list of templatable fields
As part of follow-up changes, we need a list of fields that could be
used in templates as part of a linting rule.

To avoid the `tools` directory importing from `lib`, we can make sure
that we generate the list of fields.

Co-authored-by: Claude Opus 5 <jamie.tanna+claude-code@mend.io>
2026-08-07 14:28:32 +01:00
Jamie Tanna e31dfd74e8 refactor(tools/sync-module-labels): move shared code into a shared helper (#42249)
As otherwise this leads to us importing the tool itself, which has a
top-level function that runs the tool.

As noted on a comment on #42012, this means that the tests are now
executing `gh` which isn't intended.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-03-30 17:31:35 +00:00
saudademjj f2546b84a3 ci: add module label sync tooling (#42012)
* ci: add module label sync tooling

* ci: align module label sync cli

* ci: fix module label sync checks

* refactor: simplify module label sync cli

* fix: relax module label sync cli options type

* Address a couple of nitpicks

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>

* fixup! Address a couple of nitpicks

---------

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io>
2026-03-25 10:14:40 +00:00
Sergei Zharinov ee2c737d41 refactor: Drop more eslint plugins (#41740)
* refactor: replace @containerbase/eslint-plugin and eslint-plugin-import-x with local rules and biome

The two containerbase ESLint rules (test-root-describe, no-tools-import) are now
implemented locally in tools/lint/rules.js, removing the external dependency.

All eslint-plugin-import-x rules are dropped: default, named, namespace, and
no-cycle are already covered by oxlint; no-unresolved is covered by TypeScript;
no-extraneous-dependencies is replaced by biome's noUndeclaredDependencies.

* fix: exclude eslint.config.mjs from type-checking

eslint-plugin-promise has no type declarations. Previously this was
masked by @types/eslint pulled in transitively via eslint-plugin-import-x.
The config file is not application code and gains nothing from type-checking.

* refactor: drop eslint-plugin-promise, move covered rules to oxlint

The promise rules target .then()/.catch() patterns which are rare in an
async/await codebase. The 4 rules oxlint supports (catch-or-return,
no-callback-in-promise, no-new-statics, valid-params) are moved there.

* fix: prettier formatting after removing eslint-disable comment
2026-03-09 16:05:50 +00:00
Michael Kriese 8cf4171637 chore(tsdown): validate and sort entrypoints (#41407)
chore(tsdown9: validate and sort entrypoints
2026-02-23 10:44:57 +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 3211d56e21 refactor(zod): rename schema to match our best practices guide (#37499) 2025-08-14 10:35:03 +00:00
Michael Kriese 1174198e84 chore: replace eslint import plugin (#36312) 2025-06-04 15:34:05 +00:00
RahulGautamSingh a0c1dde460 refactor: move capitalize fn to lib/util (#35355) 2025-04-14 06:33:33 +00:00
Michael Kriese bdf3d1daa4 test: refactor and ci fix for other tests (#33815) 2025-01-24 09:34:08 +00:00