MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / hintingEnabled

Function hintingEnabled

lib/models/addon.js:351–357  ·  view source on GitHub ↗

* Check if the current addon intends to be hinted. Typically this is for * hinting/linting libraries such as eslint or jshint * * @public * @method hintingEnabled

()

Source from the content-addressed store, hash-verified

349 * @method hintingEnabled
350 */
351 hintingEnabled() {
352 let isProduction = process.env.EMBER_ENV === 'production';
353 let testsEnabledDefault = process.env.EMBER_CLI_TEST_COMMAND === 'true' || !isProduction;
354 let explicitlyDisabled = this.app && this.app.options && this.app.options.hinting === false;
355
356 return testsEnabledDefault && !explicitlyDisabled;
357 },
358
359 /**
360 Shorthand method for [broccoli-concat](https://github.com/ember-cli/broccoli-concat)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…