LoginSignup
8
10

More than 5 years have passed since last update.

JavaScriptの静的解析ツール「plato」

Last updated at Posted at 2017-05-10

レビューとか、実装のお供に。コード解析ツールです。

npm i -g plato
plato -r -e .eslintrc -d outputDir src
  • -rで再帰的に。
  • -eは、eslintでlintしている場合(デフォルトはjshint)
  • -dは、解析結果の出力先フォルダ
  • 最後のsrcが、調査対象フォルダ

※.eslintrcをYAMLで書いてたらエラーになった。JSON形式しかダメとは。。。

npm scriptに登録しておくとnpm run platoとかできてよさげ。

8
10
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
8
10