0
0

More than 1 year has passed since last update.

TSLintをコマンドで実行する

Last updated at Posted at 2023-07-25

きっかけ

node.js/Angularの開発でTSLintを導入しています。
全体をまるっと出力してファイルごとにチェック結果を見たい!と思って実行コマンドを調べた備忘録です。
※インストール/設定ファイル等はPJの都合で設定済でした。

こうした

VSCodeのターミナルから下記のコマンドを実行

コマンド
ng lint > ./result.txt

ソースファイルが多いとコンソールをはみ出るので適当なファイルに吐いて、
ごにょごにょしました。

※記事投稿時点でTSLintは非推奨です。特にこだわりがない場合はESLintなど別のリンカーの利用を検討してください。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0