Closed sushi-chaaaan closed 2 months ago
補足
because it's so new and untested, we're keeping it under the EXPERIMENTAL_ prefix for at least all of the 6.X versions.
とあるため、typescript-eslintがv7に上がるときにprefixを削除する必要がある
補足
because it's so new and untested, we're keeping it under the EXPERIMENTAL_ prefix for at least all of the 6.X versions.
とあるため、typescript-eslintがv7に上がるときにprefixを削除する必要がある
コードにコメント済み
typescript-eslintにはuseProjectServiceというオプションが実験的に用意されている。
これを使うと、TypeScriptのCompilerAPIを毎回呼び出さず、別プロセスとして立ち上がったtsserverを用いて型情報つきLintingを行うので、大幅なパフォーマンス改善が見込まれる。また、tsconfigも自動的に検出できるようになる。