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
First part of proposal sounds good, except for this:
Reverse default behavior for disableDotEnv
I understand where it's coming from, but in real-life usage that would be an option that almost always would be passed with true value. Maybe we should think about some kind of different NodeKit modes:
One without any side-effects (including dotenv, shutdown handlers, etc.)
Another for applications, with side-effects enabled
Proposal+:
Looks like options.config is a flat object
It's not, it can contain any type of values, including nested objects.
But I understand problems with appSensitiveKeys in this keys.
At current time
env
is accessible everywhere in project (but used only in main module).Proposal:
env
in eslint rules.const appInstallation = process.env.APP_INSTALLATION;
can not be configured without env.disableDotEnv
Proposal+:
Looks like
options.config
is a flat object.Maybe it should be top level param
So most part of configuration will be accessible from env
But I understand problems with
appSensitiveKeys
in this keys.Most interested api looks like:
The text was updated successfully, but these errors were encountered: