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
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
The proposed change is to load the file directly as before. Since now the path is properly resolve (including using require.resolve()) in resolveConfigurationPath(configFilePath);, we are safe to do that.
Referencing:
https://github.com/Microsoft/vscode-tslint/issues/45
This is caused by https://github.com/palantir/tslint/blob/master/src/configuration.ts#L139 using
require(...)
to load the file.require()
would cache the file, preventing any change to file to be reloaded.The proposed change is to load the file directly as before. Since now the path is properly resolve (including using require.resolve()) in
resolveConfigurationPath(configFilePath);
, we are safe to do that.cc @egamma
I can create a PR on that tomorrow.
The text was updated successfully, but these errors were encountered: