New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot disable hinting in addon when isDevelopingAddon is true #5594
Comments
@carlbennettnz I'm not sure if this is a scenario that we support. Does it work properly when using |
Yes.
In the final case, everything seems functionally correct, but the JSHint errors are shown. |
https://github.com/ember-cli/ember-cli/blob/master/lib/models/addon.js#L119-L124 should be updated something like:
|
@carlbennettnz could you check if the solution proposed by @rwjblue works for you? if it does feel free to open a PR |
(with tests) |
Closes ember-cli#5594 * checks for the app options hinting to be set to false * adds tests for the hintingEnabled method
Closes ember-cli#5594 * checks for the app options hinting to be set to false * adds tests for the hintingEnabled method
Fix for disabling hinting for developing an addon Please let me know if these aren't the types of tests you're looking for to cover this scenario. I figured it was worth trying to write them to get some feedback. Thanks! Closes #5594
Closes ember-cli#5594 * checks for the app options hinting to be set to false * adds tests for the hintingEnabled method
I have an app which includes an
npm link
ed addon in itspackage.json
. Both the app and the addon havehinting: false
in theirember-cli-build.js
files, and the addon hasisDevelopingAddon: () => true
in itsindex.js
. If Iember serve
the app, the hinting option is ignored for the addon.The text was updated successfully, but these errors were encountered: