You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
As a followup of #2093 (comment) we want / need to add typeguards to the codebase to keep code readable.
While moving all typeguards to a newly created typeguard.ts I realized, that it is really awkward to use Lint.isStringLiteral etc.
tslint core is not the right place to provide typeguard functions for every rule, even custom rules.
The idea was to create a separate project which maintains typeguards and AST utilities for everyone, not just tslint and custom rules packages. This way tslint core could remain just a runtime for rules instead of growing to a bulk of utility functions.
Now there is this repository: https://github.com/ajafff/tsutils
I haven't released a package on npm yet, because I wanted to get your feedback first.
Of course I can add you and others as collaborators so this can be maintained even if I don't have time.
The text was updated successfully, but these errors were encountered:
As a followup of #2093 (comment) we want / need to add typeguards to the codebase to keep code readable.
While moving all typeguards to a newly created
typeguard.ts
I realized, that it is really awkward to useLint.isStringLiteral
etc.tslint core is not the right place to provide typeguard functions for every rule, even custom rules.
The idea was to create a separate project which maintains typeguards and AST utilities for everyone, not just tslint and custom rules packages. This way tslint core could remain just a runtime for rules instead of growing to a bulk of utility functions.
Now there is this repository: https://github.com/ajafff/tsutils
I haven't released a package on npm yet, because I wanted to get your feedback first.
Of course I can add you and others as collaborators so this can be maintained even if I don't have time.
The text was updated successfully, but these errors were encountered: