tslint.json の設定には何を含めるべきですか? 質問する

tslint.json の設定には何を含めるべきですか? 質問する

にどのルールを含めるべきかわかりませんtslint.json。 の一般的なまたは標準的な使用法を教えていただけますかtslint.json?

tslint.json ファイルの書き方は?

ベストアンサー1

tslint.json ファイルの書き方

ドキュメント:https://palantir.github.io/tslint

以下に例を示しますtslint.jsonhttps://palantir.github.io/tslint/usage/configuration/

重要なルールのみを使用します。https://palantir.github.io/tslint/rules/

たとえば小さなサンプル:

{
    "rules": {
        "no-unreachable": true
    }
}

おすすめ記事