Skip to content

Commit 781fd4d

Browse files
authored
Merge pull request #74 from github/fix-ts-ext
Fix TS ext
2 parents b3b4e53 + 0bf51c1 commit 781fd4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/github-lint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function execFile(command, args) {
2727
const isTypeScriptProject = fs.existsSync('tsconfig.json')
2828

2929
if (isTypeScriptProject) {
30-
eslintOptions = eslintOptions.concat(['--ext', '.ts,.tsx'])
30+
eslintOptions = eslintOptions.concat(['--ext', '.js,.ts,.tsx'])
3131
}
3232

3333
commands.push(['eslint', eslintOptions])

0 commit comments

Comments
 (0)