oxlint-maintainability
Enforce TypeScript Maintainability with Oxlint
Install the bundled plugin and presets. Use coverage.md to check each rule's scope and exceptions.
Install
-
Read the repository's instructions. Check Git status, the toolchain, lint config, path aliases, and workspace names. Preserve existing config and unrelated edits.
-
Copy the assets from the target repository root:
node <skill-directory>/scripts/install.mjsFor Vite+, add
--vite. This generates typed object presets from the bundled JSON. The default destination istools/oxlint/maintainable/; pass another path to change it. The installer refuses existing paths and removes partial copies on failure. Compare the installed copy before upgrading. -
Check installed versions. Tested: Node 22/24 on macOS/Linux, Vite+ 1.2.0, Oxlint and
@oxlint/plugins1.88.0,oxlint-tsgolint7.0.2004.For standalone Oxlint, use the repository's package manager to add compatible
oxlintand matching@oxlint/pluginsdev dependencies. For Vite+, use bundled Oxlint and add a compatible plugin dependency. Upgrade Vite+ if its Oxlint is too old. -
Merge the preset into the existing configuration. For
.oxlintrc.json: