summaryrefslogtreecommitdiff
path: root/bin/lint
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-09-16 16:06:19 -0600
committermo khan <mo.khan@gmail.com>2020-09-16 16:06:19 -0600
commite1aa5a74d5f9d7bf23d3aaab75e94ae17b96016d (patch)
tree213539e38c7143383dffe91703e2f581cb46662f /bin/lint
parent7f4287f91253c5ea09cb3ff8cd102e3f0b5db373 (diff)
feat: install rubocop linter
Diffstat (limited to 'bin/lint')
-rwxr-xr-xbin/lint8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/lint b/bin/lint
new file mode 100755
index 0000000..7d467b4
--- /dev/null
+++ b/bin/lint
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+cd "$(dirname "$0")/.."
+
+shellcheck bin/*
+bundle exec rubocop