Open 3y3 opened 1 year ago
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:
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.
Yeah, that's too
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 paramSo most part of configuration will be accessible from env
But I understand problems with
appSensitiveKeys
in this keys.Most interested api looks like: