Metadata-Version: 2.5
Name: habit-hooks-typescript
Version: 1.4.0rc2
Summary: The TypeScript Habit Hooks plugin
Project-URL: Homepage, https://habit-hooks.com
Project-URL: Repository, https://github.com/habit-hooks/habit-hooks
Project-URL: Issues, https://github.com/habit-hooks/habit-hooks/issues
Project-URL: Changelog, https://github.com/habit-hooks/habit-hooks/blob/main/CHANGELOG.md
License-Expression: MIT
Keywords: ai-coding-agents,ci,code-quality,code-review,code-smells,coding-agents,developer-tools,linter,refactoring,static-analysis,technical-debt,typescript
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# habit-hooks-typescript

The TypeScript Habit Hooks plugin: wraps
[`eslint`](https://eslint.org/) and [`knip`](https://knip.dev/) for structural
and dead-code smells, plus a [`ts-morph`](https://ts-morph.com/)-backed comment
sensor.

## Install

```sh
pip install "habit-hooks[typescript]"
```

## Enable

```toml
# .habit-hooks/config.toml
plugins = ["typescript", "generic"]
```

Installing a plugin does not switch it on — it has to be named in
`plugins` before habit-hooks runs it.

## Detectors

- `node`, [`eslint`](https://eslint.org/), [`knip`](https://knip.dev/),
  [`ts-morph`](https://ts-morph.com/) — `npm install --save-dev eslint knip ts-morph`
  (`node` from your system package manager, e.g. `brew install node`)

A project with no eslint config of its own needs
`@typescript-eslint/parser` and `@typescript-eslint/eslint-plugin` too, since
habit-hooks then lints with the config it ships.

Part of [habit-hooks](https://github.com/habit-hooks/habit-hooks).
