Skip to main content

habit-hooks-typescript

The TypeScript Habit Hooks plugin: wraps eslint and knip for structural and dead-code smells, plus a ts-morph-backed comment sensor.

Install

pip install "habit-hooks[typescript]"

Enable

# .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, knip, ts-morphnpm install --save-dev eslint knip ts-morph (node from your system package manager, e.g. brew install node)
  • jq — from your system package manager (e.g. brew install jq)

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

habit_hooks_typescript-1.3.1.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

habit_hooks_typescript-1.3.1-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file habit_hooks_typescript-1.3.1.tar.gz.

File metadata

  • Download URL: habit_hooks_typescript-1.3.1.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for habit_hooks_typescript-1.3.1.tar.gz
Algorithm Hash digest
SHA256 8095466de43a2e97f8016849e813f08dcafc6d04cc84f76ce90dfd7a3e802dac
MD5 c0138c7b553885a669edfa640eca7590
BLAKE2b-256 deb0e8872f5e24702f90fd603d8c315e6a2faea6b43ee719b2b93e2a25faa769

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_typescript-1.3.1.tar.gz:

Publisher: release.yml on habit-hooks/habit-hooks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file habit_hooks_typescript-1.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for habit_hooks_typescript-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 500c170877d1d4b4cfe7e037f1c8e9581948c6236d23b99aac5529612225c8d3
MD5 bcbe9d5088ad9c99a90999a45d313b57
BLAKE2b-256 610a318be6e2966400609684ccd5dfd489562904000e94d7ab92e8625db50428

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_typescript-1.3.1-py3-none-any.whl:

Publisher: release.yml on habit-hooks/habit-hooks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.5.0

2 files

1.4.0

2 files

This release

1.3.1 This release

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.3

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page