* Check if the current addon intends to be hinted. Typically this is for * hinting/linting libraries such as eslint or jshint * * @public * @method hintingEnabled
()
| 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) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…