diff --git a/configs/ember.js b/configs/ember.js index 30422f3c..cb987e34 100644 --- a/configs/ember.js +++ b/configs/ember.js @@ -7,7 +7,7 @@ const { configBuilder: nodeConfigBuilder } = require('./node'); * @param {import('./types').Options} [options] * @returns {import('eslint').Linter.Config} */ -module.exports = (options = {}) => { +const ember = (options = {}) => { let config = configBuilder(options); return configFor([ @@ -175,3 +175,8 @@ function configBuilder(options = {}) { return configBuilder; } + +module.exports = { + configBuilder, + ember, +}; diff --git a/index.js b/index.js index 8d64d2e6..62f6ba9f 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ module.exports = { * @returns {import('eslint').Linter.Config} */ ember(options = {}) { - return require('./configs/ember')(options); + return require('./configs/ember').ember(options); }, /** * @param {import('./configs/types').Options} [ options ]