Make the settings be accessible via require/import. This will allow them to be imported (required) without needing them to be passed around. Other workflow items such as parsing and executing eslint will still need to pass around input and other such configuration. Eslint-Watch internal settings, however, do not.
Make the settings be accessible via require/import. This will allow them to be imported (required) without needing them to be passed around. Other workflow items such as parsing and executing eslint will still need to pass around input and other such configuration. Eslint-Watch internal settings, however, do not.