summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-11-12 10:35:41 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-11-12 10:35:41 +0900
commit84df0714d8d86c2a257a4e191ceb8b0818c8de6a (patch)
treef03bff8205a501256fbdf73ed013f2a26e7cd76a /scripts
parentadd install/build scripts (diff)
downloadsharkey-84df0714d8d86c2a257a4e191ceb8b0818c8de6a.tar.gz
sharkey-84df0714d8d86c2a257a4e191ceb8b0818c8de6a.tar.bz2
sharkey-84df0714d8d86c2a257a4e191ceb8b0818c8de6a.zip
use eslint
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lints.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/lints.js b/scripts/lints.js
new file mode 100644
index 0000000000..6df076563d
--- /dev/null
+++ b/scripts/lints.js
@@ -0,0 +1,9 @@
+const execa = require('execa');
+
+(async () => {
+ await execa('npm', ['run', 'lint'], {
+ cwd: __dirname + '/../packages/backend',
+ stdout: process.stdout,
+ stderr: process.stderr,
+ });
+})();