From e9eb29f1fb0f01eb7b593aab3f9840995b5948a9 Mon Sep 17 00:00:00 2001 From: Sang Mercado Date: Fri, 26 Oct 2018 13:39:12 -0700 Subject: [PATCH] Add information about redefining `npm test` --- active/0000-remove-ember-cli-eslint.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/active/0000-remove-ember-cli-eslint.md b/active/0000-remove-ember-cli-eslint.md index 5385580..a3f9848 100644 --- a/active/0000-remove-ember-cli-eslint.md +++ b/active/0000-remove-ember-cli-eslint.md @@ -39,6 +39,20 @@ of `yarn test` `devDependencies`. 2. Provide documentation on `eslint` and editor integration as well as precommit hooks +Redefine `npm test` or `yarn test` (depending on whether the `--yarn` option was +used to create project) to + +``` +ember test && npm run lint:js && npm run lint:hbs +``` + +and + +``` +ember test && yarn lint:js && yarn lint:hbs +``` + + # How We Teach This Providing documentation regarding how to run linting should suffice as well as