How to enable forced listing with ember serve

Clash Royale CLAN TAG#URR8PPP
How to enable forced listing with ember serve
I need to enable forced es-linting with ember serve. When ever ember serve is run server should hold till all the es-lintings errors are fixed. I can do it with custom npm script, but want to look for ember-cli alternatives before writing my own scripts.
ember serve
ember serve
1 Answer
1
You can enable ESLint via the Ember CLI ESLint addon. And it will integrate with ember test (or testing via the browser interface). I don't know if it'll actually fail the build, but it will fail your tests if you setup the ESLint rules to be errors, not just warnings.
ember test
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Yes, but the reason behind is to prevent devs from following bad coding standards. And I have implemented it through pre-commit hook as to made more sense than stopping/holding build.
– Sarath Damaraju
Aug 17 at 5:30