tslintで除外をしたかったが、日本語で直球のタイトルで1ページ目に引っかかる記事がなかったので、記す。
tslint.json
に設定を記述する。
{
"extends": "tslint:latest",
"linterOptions": {
"exclude": [
"bin",
"lib/*generated.js"
]
}
}
linterOptions?: { exclude?: string[] }:
exclude: string[]: An array of globs. Any file matching these globs will not be linted. All exclude patterns are relative to the configuration file they were specified in.
format: string: Default lint formatter
.tslintignoreとか、記事書いた時点ではなさそう。