-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Disable auto-detection of config file #13452
Comments
maybe we should have |
I like @crowlKats suggestion. Upon reading the release notes for |
This is also a problem with udd (and presumably other CLI scripts) which break if run in a directory with a incompatible deno.json: hayd/deno-udd#59 Edit: One workaround would be to be able to disable looking for a config as a flag (i.e. use default config). |
Several of us have talked about support remote configuration files before, I believe we should. I have opened #13488 to cover that. |
Summarizing hayd/deno-udd#59
I feel the auto detection at step 3 is a questionable behavior. |
@kt3k in that scenario, I tend to agree. If the main specifier is a remote specifier, then we shouldn't attempt to auto-resolve a configuration file. The vision for the resolution was to resolve relative to the target of the script. So either we attempt to resolve the remote target, or better for now, don't auto resolve. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
I don't see anything in the release notes about how to disable this feature. How can I prevent deno from walking the directory hierarchy and discovering configs?
Originally posted by @jsejcksn in #13313 (comment)
The text was updated successfully, but these errors were encountered: