TSLint
code:shell
$ yarn add -D tslint
$ node_modules/.bin/tslint --init
どのファイルを対象に lint するか
--project, -p フラグで指定する。
-p, --project:
The path or directory containing a tsconfig.json file that will be
used to determine which files will be linted. This flag also enables
rules that require the type checker.
ということで、tscofig.json に従うようだ。
#TypeScript