From 945d9156a6076d6708c7eec532dff608200ee6b5 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Mon, 1 Jul 2019 14:25:08 -0400 Subject: [PATCH] do formatting check with ci linter --- Makefile | 1 + awx/ui_next/package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ad5c8d881..495549741c 100644 --- a/Makefile +++ b/Makefile @@ -524,6 +524,7 @@ jshint: $(UI_DEPS_FLAG_FILE) ui-next-lint: $(NPM_BIN) --prefix awx/ui_next install $(NPM_BIN) run --prefix awx/ui_next lint + $(NPM_BIN) run --prefix awx/ui_next prettier-check ui-next-test: $(NPM_BIN) --prefix awx/ui_next install diff --git a/awx/ui_next/package.json b/awx/ui_next/package.json index 5ed872d98f..aab41746ae 100644 --- a/awx/ui_next/package.json +++ b/awx/ui_next/package.json @@ -11,7 +11,8 @@ "add-locale": "lingui add-locale", "extract-strings": "lingui extract", "compile-strings": "lingui compile", - "prettier": "prettier --write \"src/**/*.{js,jsx,scss}\"" + "prettier": "prettier --write \"src/**/*.{js,jsx,scss}\"", + "prettier-check": "prettier --check \"src/**/*.{js,jsx,scss}\"" }, "keywords": [], "author": "",