summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xformat-code.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/format-code.sh b/format-code.sh
new file mode 100755
index 00000000..b490dd2a
--- /dev/null
+++ b/format-code.sh
@@ -0,0 +1,11 @@
+# Run GUI Linting and Formatting as part of the CI Build process
+#
+# This is a short term solution. The long term solution to will be to
+# add much of this to the build script.
+#
+
+set -e
+
+npm ci
+npm run lint
+git --no-pager diff --exit-code \ No newline at end of file