With ember-template-lint using .template-lintrc.js as the default configuration file (a JS module, not a JSON file), I think it makes sense to allow the configuration for this plugin to be passed in directly—instead of by filename.
For example, instead of the current example in the readme:
{'ConfigFile': __dirname + '/.eslint-template-lintrc.json'}
we could do something like this:
{ ConfigFile: require('.template-lintrc.js') },
Thoughts?
With ember-template-lint using
.template-lintrc.jsas the default configuration file (a JS module, not a JSON file), I think it makes sense to allow the configuration for this plugin to be passed in directly—instead of by filename.For example, instead of the current example in the readme:
we could do something like this:
Thoughts?