From ba92ba367d1add5dac394f9f8cbb1a64ba8b77e8 Mon Sep 17 00:00:00 2001 From: Jai Bhagat Date: Tue, 28 Dec 2021 09:40:00 -0500 Subject: [PATCH] ui: match eslint script with ember-new-output --- ui/package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/package.json b/ui/package.json index b11d35222..74120a397 100644 --- a/ui/package.json +++ b/ui/package.json @@ -10,9 +10,12 @@ "scripts": { "build": "ember build --environment=production", "precommit": "lint-staged", - "lint": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*", + "lint": "npm-run-all --aggregate-output --continue-on-error --parallel 'lint:!(fix)'", + "lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix", "lint:hbs": "ember-template-lint .", - "lint:js": "eslint .", + "lint:hbs:fix": "ember-template-lint . --fix", + "lint:js": "eslint . --cache", + "lint:js:fix": "eslint . --fix", "start": "ember server", "build-storybook": "STORYBOOK=true ember build && build-storybook -s dist", "storybook": "STORYBOOK=true start-storybook -p 6006 -s dist",