レビューとか、実装のお供に。コード解析ツールです。
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
とかできてよさげ。
More than 5 years have passed since last update.
レビューとか、実装のお供に。コード解析ツールです。
npm i -g plato
plato -r -e .eslintrc -d outputDir src
※.eslintrcをYAMLで書いてたらエラーになった。JSON形式しかダメとは。。。
npm scriptに登録しておくとnpm run plato
とかできてよさげ。
Register as a new user and use Qiita more conveniently