summaryrefslogtreecommitdiff
path: root/tools/check-lint
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check-lint')
-rwxr-xr-xtools/check-lint11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/check-lint b/tools/check-lint
new file mode 100755
index 0000000..ab7fdd3
--- /dev/null
+++ b/tools/check-lint
@@ -0,0 +1,11 @@
+#!/bin/bash -e
+
+## tools/check-lint
+##
+## Detects lintable mistakes and stylistic problems.
+
+cd "$(dirname "$0")/.."
+
+npx eslint
+cargo check
+cargo clippy