From 0bf51c14a839121374b7c3f28feff57408143008 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Mon, 16 Sep 2019 16:45:04 +0100 Subject: [PATCH] Update github-lint.js --- bin/github-lint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/github-lint.js b/bin/github-lint.js index 5d12f0fd..d7751f86 100755 --- a/bin/github-lint.js +++ b/bin/github-lint.js @@ -27,7 +27,7 @@ function execFile(command, args) { const isTypeScriptProject = fs.existsSync('tsconfig.json') if (isTypeScriptProject) { - eslintOptions = eslintOptions.concat(['--ext', '.ts,.tsx']) + eslintOptions = eslintOptions.concat(['--ext', '.js,.ts,.tsx']) } commands.push(['eslint', eslintOptions])