You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
memoize for getCompilerOptions uses path of the formatted file as a cache key instead of the tsconfig file path (as in v3.1.1). It causes that the tsconfig file content is parsed for each formatted file regardless if they are related to same tsconfig file or not. This adds unneccessary constant delay and for a large number of files it quickly adds up.
The text was updated successfully, but these errors were encountered:
prettier-plugin-organize-imports/lib/get-compiler-options.js
Line 24 in 3cceaf4
memoize for getCompilerOptions uses path of the formatted file as a cache key instead of the tsconfig file path (as in v3.1.1). It causes that the tsconfig file content is parsed for each formatted file regardless if they are related to same tsconfig file or not. This adds unneccessary constant delay and for a large number of files it quickly adds up.
The text was updated successfully, but these errors were encountered: