diff --git a/generators/app/lib/component/editorconfig.js b/generators/app/lib/component/editorconfig.js index 325ddb5..8323b30 100644 --- a/generators/app/lib/component/editorconfig.js +++ b/generators/app/lib/component/editorconfig.js @@ -13,6 +13,12 @@ * License for the specific language governing permissions and limitations * under the License. */ + +/* + * editorconfig module + * @module + */ + 'use strict'; var projectBuilder = require('../project_builder'); @@ -33,13 +39,16 @@ function noop (generator) { * @param {generator} generator The currently active generator. * @returns {generator} The passed generator, for promise chaining. */ -function configureEC (generator) { +function configure (generator) { projectBuilder.addFile('.editorconfig'); return generator; } module.exports = { + /** @see {@link module:component/editorconfig~noop} */ init: noop, + /** @see {@link module:component/editorconfig~noop} */ prompt: noop, - configure: configureEC + /** @see {@link module:component/editorconfig~configure} */ + configure: configure };