This release is a pre-release and may not be stable for production use.
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-morph—npm install --save-dev eslint knip ts-morph(nodefrom 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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file habit_hooks_typescript-1.4.0rc1.tar.gz.
File metadata
- Download URL: habit_hooks_typescript-1.4.0rc1.tar.gz
- Upload date:
- Size: 40.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdc0d6834190df9a66a5d230c3a684244d7aa37893ae56f520063f4635c2be34
|
|
| MD5 |
b10ffb61a498607cdd4819557193ee8e
|
|
| BLAKE2b-256 |
86a4a9aa5cfc4c07bd0b2761ea24fb24afbd126f45bc228784296ac92e7dfad5
|
Provenance
The following attestation bundles were made for habit_hooks_typescript-1.4.0rc1.tar.gz:
Publisher:
release.yml on habit-hooks/habit-hooks
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
habit_hooks_typescript-1.4.0rc1.tar.gz -
Subject digest:
fdc0d6834190df9a66a5d230c3a684244d7aa37893ae56f520063f4635c2be34 - Sigstore transparency entry: 2540857134
- Sigstore integration time:
-
Permalink:
habit-hooks/habit-hooks@be0b2dcfe28a82f6f7b2a1133ab8256880a4beba -
Branch / Tag:
refs/tags/v1.4.0rc1 - Owner: https://github.com/habit-hooks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@be0b2dcfe28a82f6f7b2a1133ab8256880a4beba -
Trigger Event:
push
-
Statement type:
File details
Details for the file habit_hooks_typescript-1.4.0rc1-py3-none-any.whl.
File metadata
- Download URL: habit_hooks_typescript-1.4.0rc1-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b45cfc4e5ea95c050f4d3c080bef9eb337c7c15c3225a7bd2a2b1d27cb44a58
|
|
| MD5 |
2ade219889cfe59e74b0c57b545506c4
|
|
| BLAKE2b-256 |
ee8a149da7581641a33a3664873615b44882d71a946c7d428394bad2d7195b8c
|
Provenance
The following attestation bundles were made for habit_hooks_typescript-1.4.0rc1-py3-none-any.whl:
Publisher:
release.yml on habit-hooks/habit-hooks
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
habit_hooks_typescript-1.4.0rc1-py3-none-any.whl -
Subject digest:
1b45cfc4e5ea95c050f4d3c080bef9eb337c7c15c3225a7bd2a2b1d27cb44a58 - Sigstore transparency entry: 2540857978
- Sigstore integration time:
-
Permalink:
habit-hooks/habit-hooks@be0b2dcfe28a82f6f7b2a1133ab8256880a4beba -
Branch / Tag:
refs/tags/v1.4.0rc1 - Owner: https://github.com/habit-hooks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@be0b2dcfe28a82f6f7b2a1133ab8256880a4beba -
Trigger Event:
push
-
Statement type: